www.techtransthai.org/style.css

301 lines
5.3 KiB
CSS
Raw Normal View History

2023-08-03 07:08:41 +00:00
@import url("cantarell/cantarell.css");
2023-07-25 16:04:31 +00:00
html *
{
font-family: Cantarell, sans-serif;
}
2023-08-02 17:00:53 +00:00
.header {
2023-08-11 07:34:22 +00:00
display: flex;
justify-content: center;
align-items: center;
2023-09-06 06:42:30 +00:00
margin: 1cm;
2023-08-02 17:43:14 +00:00
}
.middle {
grid-area: middle;
2023-08-02 17:57:42 +00:00
width: 15cm;
2023-08-02 17:43:14 +00:00
}
2023-08-11 07:34:22 +00:00
2023-08-02 18:24:02 +00:00
.inner-grid {
display: grid;
align-items: center;
2023-08-02 19:37:58 +00:00
grid-template-columns: 3cm 1fr 3cm;
2023-08-02 18:24:02 +00:00
grid-template-areas:
'inner-left inner-middle inner-right'
}
2023-08-11 07:34:22 +00:00
@media (prefers-color-scheme: light) {
2023-08-02 18:24:02 +00:00
2023-08-11 07:34:22 +00:00
body {
background-color: #fafafa;
}
2023-08-02 19:37:58 +00:00
2023-08-11 07:34:22 +00:00
.logo {
color: #000;
}
2023-08-10 11:24:31 +00:00
2023-08-11 07:34:22 +00:00
.grid-container {
display: grid;
justify-content: center;
color: #000000;
grid-template-areas:
'left middle right'
}
2023-08-10 11:24:31 +00:00
2023-08-11 07:34:22 +00:00
.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;
}
2023-08-10 11:24:31 +00:00
2023-08-11 07:34:22 +00:00
.button:hover {
background-color: #E0E0E0;
}
2023-08-10 11:24:31 +00:00
2023-09-06 06:42:30 +00:00
.headerbutton {
background-color: #EBEBEB;
2023-08-11 07:34:22 +00:00
color: black;
2023-09-06 06:42:30 +00:00
border: none;
border-radius: 8px;
2023-08-11 07:34:22 +00:00
justify-content: center;
align-items: center;
text-decoration: none;
2023-09-06 06:42:30 +00:00
display: flex;
font-size: 16px;
font-weight: bold;
margin: 4px 2px;
padding-left: 0.3cm;
padding-right: 0.3cm;
2023-08-11 07:34:22 +00:00
cursor: pointer;
2023-09-06 06:42:30 +00:00
min-width: 100px;
height: 35px;
2023-08-11 07:34:22 +00:00
transition-duration: 0.2s;
}
2023-08-10 11:24:31 +00:00
2023-09-06 06:42:30 +00:00
.headerbutton:hover {
2023-08-11 07:34:22 +00:00
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 1fr;
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;
}
2023-08-10 11:24:31 +00:00
2023-08-17 15:54:10 +00:00
.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;
}
2023-08-10 11:24:31 +00:00
}
2023-08-11 07:34:22 +00:00
@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;
}
2023-09-06 06:42:30 +00:00
.headerbutton {
background-color: #4a4a4a;
2023-08-11 07:34:22 +00:00
color: #ffffff;
2023-09-06 06:42:30 +00:00
border: none;
border-radius: 8px;
2023-08-11 07:34:22 +00:00
justify-content: center;
align-items: center;
text-decoration: none;
2023-09-06 06:42:30 +00:00
display: flex;
font-size: 16px;
font-weight: bold;
margin: 4px 2px;
padding-left: 0.3cm;
padding-right: 0.3cm;
2023-08-11 07:34:22 +00:00
cursor: pointer;
2023-09-06 06:42:30 +00:00
min-width: 100px;
height: 35px;
2023-08-11 07:34:22 +00:00
transition-duration: 0.2s;
}
2023-09-06 06:42:30 +00:00
.headerbutton:hover {
2023-08-11 07:34:22 +00:00
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 1fr;
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;
}
2023-08-17 15:54:10 +00:00
.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;
}
2023-08-11 07:34:22 +00:00
}