www.techtransthai.org/style.css

333 lines
5.7 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-11-03 19:48:23 +00:00
}
.name {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
2023-09-06 06:42:30 +00:00
2023-11-03 19:48:23 +00:00
.pfp {
display: flex;
justify-content: center;
align-items: center;
margin-top: 3cm;
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-09-13 19:13:44 +00:00
.description {
2023-11-03 19:48:23 +00:00
font-size: 10pt;
margin-top: -0.3cm;
opacity: 0.5;
2023-09-13 19:13:44 +00:00
}
2023-11-03 19:48:23 +00:00
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
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;
2023-11-03 20:03:30 +00:00
height: 1.5cm;
}
.listinfo {
display: grid;
grid-template-columns: 1fr 2fr;
text-decoration: none;
color: black;
align-items: center;
height: 1.5cm;
2023-08-11 07:34:22 +00:00
}
.topbar {
2023-11-01 20:15:18 +00:00
position: fixed;
2023-08-11 07:34:22 +00:00
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;
z-index: 10;
2023-08-11 07:34:22 +00:00
}
.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 {
2023-11-01 20:24:20 +00:00
position: fixed;
2023-08-17 15:54:10 +00:00
background-color: #BFD7F3;
color: black;
2023-11-01 20:24:20 +00:00
width: 100%;
2023-11-03 14:18:22 +00:00
height: 1.2cm;
2023-11-01 20:24:20 +00:00
top: 0px;
left: 0px;
2023-08-17 15:54:10 +00:00
justify-content: center;
align-items: center;
display: flex;
font-weight: bold;
2023-09-13 19:13:44 +00:00
text-align: center;
2023-08-17 15:54:10 +00:00
}
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
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;
2023-11-03 20:03:30 +00:00
height: 1.5cm;
}
.listinfo {
display: grid;
grid-template-columns: 1fr 2fr;
text-decoration: none;
color: #ffffff;
align-items: center;
height: 1.5cm;
2023-08-11 07:34:22 +00:00
}
.topbar {
2023-11-01 20:15:18 +00:00
position: fixed;
2023-08-11 07:34:22 +00:00
width: 100%;
height: 1.2cm;
top: 0px;
left: 0px;
background-color: #303030;
border: 1px solid #1f1f1f;
color: #ffffff;
z-index: 10;
2023-08-11 07:34:22 +00:00
}
2023-11-03 20:03:30 +00:00
2023-08-11 07:34:22 +00:00
.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 {
2023-11-01 20:24:20 +00:00
position: fixed;
2023-08-17 15:54:10 +00:00
background-color: #29415E;
color: white;
2023-11-01 20:24:20 +00:00
width: 100%;
2023-11-03 14:18:22 +00:00
height: 1.2cm;
2023-11-01 20:24:20 +00:00
top: 0px;
left: 0px;
2023-08-17 15:54:10 +00:00
justify-content: center;
align-items: center;
display: flex;
font-weight: bold;
2023-09-13 19:13:44 +00:00
text-align: center;
2023-08-17 15:54:10 +00:00
}
2023-08-11 07:34:22 +00:00
}