www.techtransthai.org/style.css

307 lines
5.4 KiB
CSS

@import url("cantarell/cantarell.css");
html *
{
font-family: Cantarell, sans-serif;
}
.header {
display: flex;
justify-content: center;
align-items: center;
margin: 1cm;
}
.middle {
grid-area: middle;
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: medium;
}
@media (prefers-color-scheme: light) {
body {
background-color: #fafafa;
}
.logo {
color: #000;
}
.grid-container {
display: grid;
justify-content: center;
color: #000000;
grid-template-areas:
'left middle right'
}
.button {
background-color: #EBEBEB;
color: black;
border: none;
border-radius: 8px;
justify-content: center;
align-items: center;
text-decoration: none;
display: flex;
font-size: 16px;
font-weight: bold;
margin: 4px 2px;
cursor: pointer;
width: 100px;
height: 35px;
transition-duration: 0.2s;
}
.button:hover {
background-color: #E0E0E0;
}
.headerbutton {
background-color: #EBEBEB;
color: black;
border: none;
border-radius: 8px;
justify-content: center;
align-items: center;
text-decoration: none;
display: flex;
font-size: 16px;
font-weight: bold;
margin: 4px 2px;
padding-left: 0.3cm;
padding-right: 0.3cm;
cursor: pointer;
min-width: 100px;
height: 35px;
transition-duration: 0.2s;
}
.headerbutton:hover {
background-color: #E0E0E0;
}
.list {
border-radius: 12px 12px 12px 12px;
background-color: #ffffff;
box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.13);
margin-bottom: 50px;
}
.separator {
width: 15cm;
height: 1px;
background-color: rgba(237, 237, 237, 1);
}
.listaction {
display: grid;
grid-template-columns: 1fr 1cm;
text-decoration: none;
color: black;
align-items: center;
}
.topbar {
position: absolute;
width: 100%;
height: 1.2cm;
top: 0px;
left: 0px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(224, 224, 224, 1);
color: #000000;
}
.listinfo {
display: grid;
grid-template-columns: 1fr 2fr;
text-decoration: none;
color: black;
align-items: center;
}
.backbutton {
position: absolute;
color: black;
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;
}
.backbutton:hover {
background-color: #DEDEDE;
}
.banner {
background-color: #BFD7F3;
color: black;
width: 90%;
justify-content: center;
align-items: center;
display: flex;
font-weight: bold;
padding: 0.2cm;
border-radius:10px;
text-align: center;
}
}
@media (prefers-color-scheme: dark) {
.logo {
color: #fff;
}
body {
background-color: #222222;
}
.grid-container {
display: grid;
justify-content: center;
color: #ffffff;
grid-template-areas:
'left middle right'
}
.button {
background-color: #4a4a4a;
color: #ffffff;
border: none;
border-radius: 8px;
justify-content: center;
align-items: center;
text-decoration: none;
display: flex;
font-size: 16px;
font-weight: bold;
margin: 4px 2px;
cursor: pointer;
width: 100px;
height: 35px;
transition-duration: 0.2s;
}
.button:hover {
background-color: #595959;
}
.headerbutton {
background-color: #4a4a4a;
color: #ffffff;
border: none;
border-radius: 8px;
justify-content: center;
align-items: center;
text-decoration: none;
display: flex;
font-size: 16px;
font-weight: bold;
margin: 4px 2px;
padding-left: 0.3cm;
padding-right: 0.3cm;
cursor: pointer;
min-width: 100px;
height: 35px;
transition-duration: 0.2s;
}
.headerbutton:hover {
background-color: #595959;
}
.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;
}
.topbar {
position: absolute;
width: 100%;
height: 1.2cm;
top: 0px;
left: 0px;
background-color: #303030;
border: 1px solid #1f1f1f;
color: #ffffff;
}
.listinfo {
display: grid;
grid-template-columns: 1fr 2fr;
text-decoration: none;
color: #ffffff;
align-items: center;
}
.backbutton {
position: absolute;
color: #ffffff;
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;
}
.backbutton:hover {
background-color: #3e3e3e;
}
.banner {
background-color: #29415E;
color: white;
width: 90%;
justify-content: center;
align-items: center;
display: flex;
font-weight: bold;
padding: 0.2cm;
border-radius:10px;
text-align: center;
}
}