latenightdef.techtransthai.org/style.css

252 lines
3.6 KiB
CSS

@import url("inter/inter.css");
html *
{
font-family: Inter, Cantarell, sans-serif;
}
.header {
display: flex;
justify-content: center;
align-items: center;
}
.name {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.pfp {
display: flex;
justify-content: center;
align-items: center;
margin-top: 2cm;
}
.middle {
grid-area: middle;
width: 90vw;
max-width: 15cm;
}
.inner-grid {
display: grid;
align-items: center;
grid-template-columns: 3cm 1fr 3cm;
grid-template-areas:
'inner-left inner-middle inner-right'
}
.description {
font-size: 9pt;
margin-top: -0.3cm;
opacity: 0.5;
}
.logo {
text-align: center;
}
.grid-container {
display: grid;
justify-content: center;
grid-template-areas:
'left middle right'
}
.headerbutton {
border: none;
border-radius: 8px;
justify-content: center;
align-items: center;
text-decoration: none;
display: flex;
font-size: 14px;
font-weight: bold;
margin: 4px 2px;
padding-left: 0.3cm;
padding-right: 0.3cm;
cursor: pointer;
min-height: 35px;
transition-duration: 0.2s;
}
.list {
border-radius: 12px 12px 12px 12px;
box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.13);
margin-bottom: 50px;
}
.listaction {
display: grid;
grid-template-columns: 1fr 1cm;
text-decoration: none;
align-items: center;
min-height: 1.5cm;
}
.listinfo {
display: grid;
grid-template-columns: 1fr 1fr;
text-decoration: none;
align-items: center;
min-height: 1.5cm;
}
.separator {
max-width: 15cm;
height: 1px;
}
.topbar {
position: fixed;
width: 100%;
height: 1.2cm;
top: 0px;
left: 0px;
z-index: 10;
}
.backbutton {
position: absolute;
border-radius:10px;
justify-content: center;
align-items: center;
text-decoration: none;
display: grid;
font-size: 14px;
cursor: pointer;
margin: 0.1cm;
transition-duration: 0.2s;
width: 1cm;
height: 1cm;
}
.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;
margin-bottom: 1cm;
flex-wrap: nowrap;
}
@media (prefers-color-scheme: light) {
body {
background-color: #fafafa;
}
.logo {
color: #000;
}
.grid-container {
color: #000000;
}
.headerbutton {
background-color: #EBEBEB;
color: #000;
}
.headerbutton:hover {
background-color: #E0E0E0;
}
.list {
background-color: #ffffff;
}
.separator {
background-color: rgba(237, 237, 237, 1);
}
.listaction {
color: black;
}
.listinfo {
color: black;
}
.topbar {
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(224, 224, 224, 1);
color: #000000;
}
.backbutton {
color: black;
}
.backbutton:hover {
background-color: #DEDEDE;
}
}
@media (prefers-color-scheme: dark) {
body {
background-color: #222222;
}
.logo {
color: #fff;
}
.grid-container {
color: #ffffff;
}
.headerbutton {
background-color: #4a4a4a;
color: #fff;
}
.headerbutton:hover {
background-color: #595959;
}
.list {
background-color: #363636;
}
.separator {
background-color: #232323;
}
.listaction {
color: #ffffff;
}
.listinfo {
color: #ffffff;
}
.topbar {
background-color: #303030;
border: 1px solid #1f1f1f;
color: #ffffff;
}
.backbutton {
color: #ffffff;
}
.backbutton:hover {
background-color: #3e3e3e;
}
}