CSS refactoring
This commit is contained in:
parent
01eaa25438
commit
195f30592e
8 changed files with 25 additions and 331 deletions
|
@ -15,11 +15,11 @@
|
|||
Warning: Scheduled connection reset on our side at 2AM every day.
|
||||
</div>
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="header" style="margin-top: 2cm;">
|
||||
<img src="icons/ttt-org.png" alt="TTT Logo" width="64" height="64" style="margin-right: 10px;">
|
||||
<h1 class="logo">TechTransThai 🏳️⚧️</h1>
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="header" style="margin: 1cm;">
|
||||
|
||||
<a target="_blank" rel="noopener noreferrer" href="https://webring.wonderful.software#techtransthai.org" class="headerbutton">
|
||||
<div style="margin-right: 0.2cm; display: flex;">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="stylesheet" href="../style.css">
|
||||
<meta http-equiv="Content-Language" content="th">
|
||||
<meta http-equiv="content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="description" content="Late Night Defender's profile">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="stylesheet" href="../style.css">
|
||||
<meta http-equiv="Content-Language" content="th">
|
||||
<meta http-equiv="content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="description" content="Late Night Defender's profile">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="stylesheet" href="../style.css">
|
||||
<meta http-equiv="Content-Language" content="th">
|
||||
<meta http-equiv="content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="description" content="Late Night Defender's profile">
|
||||
|
|
|
@ -1,320 +0,0 @@
|
|||
@import url("../cantarell/cantarell.css");
|
||||
|
||||
html *
|
||||
{
|
||||
font-family: 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: 3cm;
|
||||
}
|
||||
|
||||
.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: 10pt;
|
||||
margin-top: -0.3cm;
|
||||
margin-bottom: 0.5cm;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
@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;
|
||||
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: fixed;
|
||||
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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
|
||||
@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;
|
||||
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: fixed;
|
||||
width: 100%;
|
||||
height: 1.2cm;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
background-color: #303030;
|
||||
border: 1px solid #1f1f1f;
|
||||
color: #ffffff;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="stylesheet" href="../style.css">
|
||||
<meta http-equiv="Content-Language" content="th">
|
||||
<meta http-equiv="content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="description" content="Late Night Defender's profile">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="stylesheet" href="../style.css">
|
||||
<meta http-equiv="Content-Language" content="th">
|
||||
<meta http-equiv="content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="description" content="Late Night Defender's profile">
|
||||
|
|
22
style.css
22
style.css
|
@ -9,8 +9,20 @@ html *
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: 1cm;
|
||||
}
|
||||
|
||||
.name {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.pfp {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 3cm;
|
||||
}
|
||||
|
||||
.middle {
|
||||
|
@ -27,8 +39,12 @@ html *
|
|||
}
|
||||
|
||||
.description {
|
||||
font-size: medium;
|
||||
font-size: 10pt;
|
||||
margin-top: -0.3cm;
|
||||
margin-bottom: 0.5cm;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
|
||||
body {
|
||||
|
@ -84,7 +100,6 @@ html *
|
|||
padding-left: 0.3cm;
|
||||
padding-right: 0.3cm;
|
||||
cursor: pointer;
|
||||
min-width: 100px;
|
||||
height: 35px;
|
||||
transition-duration: 0.2s;
|
||||
}
|
||||
|
@ -225,7 +240,6 @@ html *
|
|||
padding-left: 0.3cm;
|
||||
padding-right: 0.3cm;
|
||||
cursor: pointer;
|
||||
min-width: 100px;
|
||||
height: 35px;
|
||||
transition-duration: 0.2s;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue