www.techtransthai.org/style.css
2024-06-24 14:45:53 +07:00

229 lines
3.4 KiB
CSS

@import url("inter/inter.css");
@import url("navbar.css");
html *
{
font-family: Inter, Cantarell, sans-serif;
}
.centerscreen {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.logo {
font-weight: bold;
text-decoration: none;
}
.header {
display: flex;
justify-content: center;
align-items: center;
}
.name {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.grid-container {
display: grid;
justify-content: center;
grid-template-areas:
'left middle right'
}
.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;
}
.button {
height: 1cm;
border-radius: 6px;
text-decoration: none;
font-weight: bold;
padding: 10px 10px;
margin-top: 1cm;
margin-bottom: 1cm;
margin-right: 0.25cm;
transition-duration: 0.2s;
}
.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;
}
.gtk-button {
height: 1cm;
border-radius: 6px;
background-color: rgba(53, 132, 228, 1);
color: white;
text-decoration: none;
font-weight: bold;
padding: 10px 10px;
margin-top: 1cm;
margin-bottom: 1cm;
margin-right: 0.25cm;
transition-duration: 0.2s;
}
.gtk-button:hover {
background-color: rgba(53, 132, 228, 0.9);
}
.itemcard {
display: grid;
border-radius: 12px;
text-decoration: none;
margin-bottom: 0.5cm;
height: 3cm;
min-width: 6cm;
width: 32.5%;
transition-duration: 0.2s;
box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.13);
}
.itemcard-placeholder {
display: grid;
border-radius: 12px;
text-decoration: none;
margin-bottom: 0.5cm;
min-height: 3cm;
min-width: 6cm;
width: 32.5%
}
.itemcard-stealth {
display: grid;
border-radius: 12px;
text-decoration: none;
margin-bottom: 0.5cm;
height: 3cm;
min-width: 6cm;
width: 32.5%;
transition-duration: 0.2s;
}
.listaction {
display: flex;
align-items: center;
}
@media (prefers-color-scheme: light) {
body {
background-color: #fafafa;
}
.logo {
color: #000;
}
.grid-container {
color: #000000;
}
.listaction {
color: black;
}
.button {
background-color: rgba(0, 0, 0, 0.08);
color: black;
}
.button:hover {
background-color: rgba(0, 0, 0, 0.18);
}
.itemcard {
background-color: #ffffff;
}
.itemcard:hover {
background-color: #fafafa;
}
.itemcard-stealth:hover {
background-color: #e0e0e0;
}
}
@media (prefers-color-scheme: dark) {
body {
background-color: #222222;
}
.logo {
color: #fff;
}
.grid-container {
color: #fff;
}
.listaction {
color: white;
}
.button {
background: rgba(255, 255, 255, 0.1);
color: white;
}
.button:hover {
background: rgba(255, 255, 255, 0.18);
}
.itemcard {
background-color: #303030;
}
.itemcard:hover {
background-color: #4a4a4a;
}
.itemcard-stealth:hover {
background-color: #4a4a4a;
}
}