www.techtransthai.org/style.css
2024-04-10 04:18:09 +07:00

232 lines
3.9 KiB
CSS

@import url("cantarell/cantarell.css");
@import url("navbar.css");
html *
{
font-family: Cantarell, sans-serif;
}
.centerscreen {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.header {
display: flex;
justify-content: center;
align-items: center;
}
.name {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.middle-large {
grid-area: middle;
width: 80vw;
max-width: 35cm;
}
.description {
font-size: 10pt;
margin-top: -0.3cm;
opacity: 0.7;
}
.pronouns {
font-size: 12pt;
opacity: 0.5;
margin-left: 0.25cm;
}
.row {
display: flex;
justify-content: space-between;
}
.itemcard-placeholder {
display: grid;
border-radius: 12px;
text-decoration: none;
margin-bottom: 0.5cm;
min-height: 3cm;
min-width: 6cm;
width: 32.5%
}
@media (prefers-color-scheme: light) {
body {
background-color: #fafafa;
}
.logo {
color: #000;
font-weight: bold;
text-decoration: none;
}
.grid-container {
display: grid;
justify-content: center;
color: #000000;
grid-template-areas:
'left middle right'
}
.separator {
width: 15cm;
height: 1px;
background-color: rgba(237, 237, 237, 1);
}
.listaction {
display: flex;
color: black;
align-items: center;
}
.button {
height: 1cm;
border-radius: 6px;
background-color: rgba(0, 0, 0, 0.08);
color: black;
text-decoration: none;
font-weight: bold;
padding: 10px 10px;
margin-top: 1cm;
margin-bottom: 1cm;
transition-duration: 0.2s;
}
.button:hover {
background-color: rgba(0, 0, 0, 0.18);
}
.gtk-button-pill {
position: relative;
width: auto;
height: 44px;
border-radius: 22px;
background-color: rgba(53, 132, 228, 1);
color: white;
text-decoration: none;
font-weight: bold;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 0px;
padding: 0px 32px;
flex-wrap: nowrap;
}
.itemcard {
display: grid;
border-radius: 12px;
text-decoration: none;
background-color: #ffffff;
box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.13);
margin-bottom: 0.5cm;
min-height: 3cm;
min-width: 6cm;
width: 32.5%;
transition-duration: 0.2s;
}
.itemcard-stealth {
display: grid;
border-radius: 12px;
text-decoration: none;
margin-bottom: 0.5cm;
min-height: 3cm;
min-width: 6cm;
width: 32.5%;
transition-duration: 0.2s;
}
.itemcard:hover {
background-color: #fafafa;
}
.itemcard-stealth:hover {
background-color: #e0e0e0;
}
}
@media (prefers-color-scheme: dark) {
.logo {
color: #fff;
font-weight: bold;
text-decoration: none;
}
body {
background-color: #222222;
}
.grid-container {
display: grid;
justify-content: center;
color: #ffffff;
grid-template-areas:
'left middle right'
}
.list {
border-radius: 12px 12px 12px 12px;
background-color: #363636;
box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.13);
margin-bottom: 50px;
}
.separator {
width: 15cm;
height: 1px;
background-color: #232323;
}
.listaction {
display: grid;
grid-template-columns: 1fr 1cm;
text-decoration: none;
color: #ffffff;
align-items: center;
height: 1.5cm;
}
.listinfo {
display: grid;
grid-template-columns: 1fr 2fr;
text-decoration: none;
color: #ffffff;
align-items: center;
height: 1.5cm;
}
.gtk-button-pill {
position: relative;
width: auto;
height: 44px;
border-radius: 22px;
background-color: rgba(53, 132, 228, 1);
color: white;
text-decoration: none;
font-weight: bold;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 0px;
padding: 0px 32px;
flex-wrap: nowrap;
}
}