Compare commits

...

15 commits

4 changed files with 130 additions and 120 deletions

View file

@ -5,15 +5,14 @@
<meta http-equiv="Content-Language" content="th">
<meta http-equiv="content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Home of TechTransThai's available services">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TechTransThai</title>
<link rel="icon" type="image/png" href="icons/ttt-org.png">
</head>
<body>
<div class="header" >
<div class="topbar">
<div style="display: flex; justify-content: space-between; margin-left: 1cm; margin-right: 1cm;">
<div class="topbar-group">
<a style="display: flex; align-items: center; text-decoration: none;">
<img src="icons/ttt-org.png" alt="TTT Logo" width="36" height="36" style="margin-right: 5px;">
<h4 class="logo">TechTransThai</h4>
@ -37,7 +36,6 @@
</div>
</div>
</div>
<div class="header" style="margin-top: 2cm;">
@ -48,13 +46,13 @@
<div class="middle-large">
<h1>เทคทรานส์ไทย 🏳️‍⚧️ 🇹🇭</h1>
<h1>เทคทรานส์ไทย</h1>
<p>ชุมชนเทคโนโลยีสำหรับคนข้ามเพศและพันธมิตรในประเทศไทย เราให้ความสำคัญกับซอฟต์แวร์เสรี การกระจายศูนย์ ข้อมูลและมาตรฐานเปิด</p>
<p>กด Ctrl+F หรือ Command-F เพื่อค้นหาในหน้านี้</p>
<p class="emojidecorations">💻 🏳️‍⚧️ 🇹🇭</p>
<div style="margin-top: 1cm; margin-bottom: 1cm; ">
<div class="quickbuttons">
<a class="gtk-button" target="_blank" rel="noopener noreferrer" href="https://f-social.techtransthai.org/@techtransthai">
ติดตามเราบน Fediverse
</a>
@ -70,9 +68,9 @@
</div>
<h3>บริการ โปรเจกต์ และคอนเทนต์ของเรา</h3>
<h3>บริการ โปรเจกต์ และคอนเทนต์</h3>
<div class="row">
<div class="section">
<a class="itemcard" style="opacity: 0.4;">
<div class="listaction">
<img src="icons/ttt-org-blueprint.svg" alt="behind-ttt" width="80" height="80" style="margin: 0.3cm;">
@ -101,8 +99,6 @@
</div>
</div>
</a>
</div>
<div class="row">
<a class="itemcard" target="_blank" rel="noopener noreferrer" href="https://inv.techtransthai.org/feed/trending">
<div class="listaction">
<img src="icons/inv.svg" alt="Invidious" width="80" height="80" style="margin: 0.3cm;">
@ -130,8 +126,6 @@
</div>
</div>
</a>
</div>
<div class="row">
<a class="itemcard" target="_blank" rel="noopener noreferrer" href="https://openkmitl.gitlab.io">
<div class="listaction">
<img src="icons/openkmitl.png" alt="openKMITL" width="80" height="80" style="margin: 0.3cm;">
@ -159,8 +153,6 @@
</div>
</div>
</a>
</div>
<div class="row">
<a class="itemcard" target="_blank" rel="noopener noreferrer" href="https://video.techtransthai.org">
<div class="listaction">
<img src="icons/peertube-logo.svg" alt="Peertube" width="80" height="80" style="margin: 0.3cm;">
@ -175,7 +167,7 @@
<h3>สำหรับใช้งานภายในเท่านั้น</h3>
<div class="row">
<div class="section">
<a class="itemcard" target="_blank" rel="noopener noreferrer" href="https://ci.techtransthai.org/">
<div class="listaction">
<svg width="80" height="80" viewBox="0 0 285 254" xmlns="http://www.w3.org/2000/svg" style="margin: 0.3cm;">
@ -205,8 +197,6 @@
</div>
</div>
</a>
</div>
<div class="row">
<a class="itemcard" target="_blank" rel="noopener noreferrer" href="https://forge.techtransthai.org/">
<div class="listaction">
<img src="icons/forgejo.svg" alt="Forgejo" width="80" height="80" style="margin: 0.3cm;">
@ -234,8 +224,6 @@
</div>
</div>
</a>
</div>
<div class="row">
<a class="itemcard" target="_blank" rel="noopener noreferrer" href="https://meet.techtransthai.org/">
<div class="listaction">
<img src="icons/jitsi.svg" alt="Jitsi" width="80" height="80" style="margin: 0.3cm;">
@ -254,7 +242,6 @@
</div>
</div>
</a>
<a class="itemcard-placeholder"></a>
</div>

View file

@ -1,42 +1,74 @@
.header {
display: flex;
justify-content: center;
align-items: center;
.headerbutton {
border: none;
border-radius: 8px;
justify-content: center;
align-items: center;
text-decoration: none;
display: flex;
font-size: 16px;
margin: 4px 2px;
padding-left: 0.3cm;
padding-right: 0.3cm;
cursor: pointer;
height: 35px;
transition-duration: 0.2s;
}
.topbar {
position: fixed;
width: 100%;
top: 0px;
left: 0px;
z-index: 10;
}
@media (prefers-color-scheme: light) {
.topbar-group {
display: flex;
justify-content: space-between;
margin-left: 1cm;
margin-right: 1cm;
}
@media only screen and (max-width: 750px) {
.topbar-group {
display: flex;
align-items: center;
flex-direction: column;
margin-left: 0cm;
margin-right: 0cm;
}
.headerbutton {
color: black;
border: none;
border-radius: 8px;
justify-content: center;
align-items: center;
text-decoration: none;
display: flex;
font-size: 16px;
font-size: 14px;
margin: 4px 2px;
padding-left: 0.3cm;
padding-right: 0.3cm;
padding-left: 0.2cm;
padding-right: 0.2cm;
cursor: pointer;
height: 35px;
transition-duration: 0.2s;
}
}
@media (prefers-color-scheme: light) {
.headerbutton {
color: black;
}
.headerbutton:hover {
background-color: #fafafa;
}
.topbar {
position: fixed;
width: 100%;
top: 0px;
left: 0px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(224, 224, 224, 1);
color: #000000;
z-index: 10;
}
}
@ -45,19 +77,6 @@
.headerbutton {
color: #ffffff;
border: none;
border-radius: 8px;
justify-content: center;
align-items: center;
text-decoration: none;
display: flex;
font-size: 16px;
margin: 4px 2px;
padding-left: 0.3cm;
padding-right: 0.3cm;
cursor: pointer;
height: 35px;
transition-duration: 0.2s;
}
.headerbutton:hover {
@ -65,13 +84,8 @@
}
.topbar {
position: fixed;
width: 100%;
top: 0px;
left: 0px;
background-color: #303030;
border: 1px solid #1f1f1f;
color: #ffffff;
z-index: 10;
}
}
}

View file

@ -6,6 +6,13 @@ html *
font-family: Inter, Cantarell, sans-serif;
}
p {
font-size: 11pt;
}
h1 {
margin-top: 3vh;
}
.centerscreen {
height: 100vh;
display: flex;
@ -52,25 +59,25 @@ html *
}
.pronouns {
font-size: 12pt;
font-size: 10pt;
opacity: 0.5;
margin-left: 0.25cm;
margin-top: -0.5cm;
margin-bottom: 0.5cm;
}
.row {
display: flex;
justify-content: space-between;
.section {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
grid-gap: 1rem;
}
.button {
height: 1cm;
border-radius: 6px;
text-decoration: none;
font-weight: bold;
padding: 10px 10px;
margin-top: 1cm;
margin-bottom: 1cm;
margin-right: 0.25cm;
margin-bottom: 0.25cm;
transition-duration: 0.2s;
}
@ -93,17 +100,15 @@ html *
}
.gtk-button {
height: 1cm;
border-radius: 6px;
background-color: rgba(53, 132, 228, 1);
color: white;
text-decoration: none;
font-weight: bold;
padding: 10px 10px;
margin-top: 1cm;
margin-bottom: 1cm;
margin-right: 0.25cm;
margin-bottom: 0.25cm;
transition-duration: 0.2s;
background-color: rgba(53, 132, 228, 1);
color: white;
}
.gtk-button:hover {
@ -114,32 +119,16 @@ html *
display: grid;
border-radius: 12px;
text-decoration: none;
margin-bottom: 0.5cm;
height: 3cm;
min-width: 6cm;
width: 32.5%;
transition-duration: 0.2s;
box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.13);
}
.itemcard-placeholder {
display: grid;
border-radius: 12px;
text-decoration: none;
margin-bottom: 0.5cm;
min-height: 3cm;
min-width: 6cm;
width: 32.5%
}
.itemcard-stealth {
display: grid;
border-radius: 12px;
text-decoration: none;
margin-bottom: 0.5cm;
height: 3cm;
min-width: 6cm;
width: 32.5%;
transition-duration: 0.2s;
}
@ -148,6 +137,34 @@ html *
align-items: center;
}
.emojidecorations {
font-size: 16pt;
text-align: center;
}
.quickbuttons {
margin-top: 1cm;
margin-bottom: 1cm;
display: flex;
flex-wrap: wrap;
}
/* For tablet screens */
@media only screen and (max-width: 1366px) {
.middle-large {
grid-area: middle;
width: 90vw;
max-width: 35cm;
}
}
/* For phone screens */
@media only screen and (max-width: 750px) {
h1 {
margin-top: 8vh;
}
}
@media (prefers-color-scheme: light) {
body {

View file

@ -5,39 +5,37 @@
<meta http-equiv="Content-Language" content="th">
<meta http-equiv="content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="List of current TechTransThai's team members">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Team members</title>
<link rel="icon" type="image/png" href="icons/ttt-org.png">
</head>
<body>
<div class="header" >
<div class="topbar">
<div style="display: flex; justify-content: space-between; margin-left: 1cm; margin-right: 1cm;">
<a href="/" style="display: flex; align-items: center; text-decoration: none;">
<img src="icons/ttt-org.png" alt="TTT Logo" width="36" height="36" style="margin-right: 5px;">
<h4 class="logo">TechTransThai</h4>
</a>
<div style="display: flex; align-items: center">
<a class="headerbutton">
ทีม
</a>
<a target="_blank" rel="noopener noreferrer" href="https://forge.techtransthai.org/techtransthai/website" class="headerbutton">
ซอร์สโคด
</a>
<a target="_blank" rel="noopener noreferrer" href="https://webring.wonderful.software#techtransthai.org" class="headerbutton">
วงแหวนเว็บ
</a>
<a target="_blank" rel="noopener noreferrer" href="https://status.techtransthai.org" class="headerbutton">
สถานะการให้บริการ
</a>
</div>
</div>
<div class="topbar">
<div class="topbar-group">
<a href="/" style="display: flex; align-items: center; text-decoration: none;">
<img src="icons/ttt-org.png" alt="TTT Logo" width="36" height="36" style="margin-right: 5px;">
<h4 class="logo">TechTransThai</h4>
</a>
<div style="display: flex; align-items: center">
<a class="headerbutton">
ทีม
</a>
<a target="_blank" rel="noopener noreferrer" href="https://forge.techtransthai.org/techtransthai/website" class="headerbutton">
ซอร์สโคด
</a>
<a target="_blank" rel="noopener noreferrer" href="https://webring.wonderful.software#techtransthai.org" class="headerbutton">
วงแหวนเว็บ
</a>
<a target="_blank" rel="noopener noreferrer" href="https://status.techtransthai.org" class="headerbutton">
สถานะการให้บริการ
</a>
</div>
</div>
</div>
</div>
<div class="header" style="margin-top: 2cm;">
</div>
@ -50,12 +48,12 @@
นี่คือรายชื่อสมาชิกของพวกเราในทีมงาน TechTransThai
<div class="row" style="margin-top: 1cm">
<div class="section" style="margin-top: 1cm">
<a class="itemcard-stealth" target="_blank" rel="noopener noreferrer" href="https://latenightdef.techtransthai.org/">
<div class="listaction">
<img src="https://latenightdef.techtransthai.org/icons/avatar.png" alt="no-avatar" width="80" height="80" style="margin: 0.3cm; border-radius: 40px; box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.13)">
<div>
<div style="display: flex; align-items: center;">
<div>
<h3>Late Night Defender</h3>
<p class="pronouns">she/they</p>
</div>
@ -68,7 +66,7 @@
<div class="listaction">
<img src="https://gitlab.com/uploads/-/system/user/avatar/9471734/avatar.png" alt="latenightdef" width="80" height="80" style="margin: 0.3cm; border-radius: 40px; box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.13)">
<div>
<div style="display: flex; align-items: center;">
<div>
<h3>NekoVari</h3>
<p class="pronouns">he/they</p>
</div>
@ -80,7 +78,7 @@
<div class="listaction">
<img src="avatars/srp-rottenmango.webp" alt="srp-mangoeater" width="80" height="80" style="margin: 0.3cm; border-radius: 40px; box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.13)">
<div>
<div style="display: flex; align-items: center;">
<div>
<h3>SRP mangoeater</h3>
<p class="pronouns">she/her</p>
</div>
@ -88,8 +86,6 @@
</div>
</div>
</a>
</div>
<div class="row">
<a class="itemcard-stealth" target="_blank" rel="noopener noreferrer" href="https://matsuri.techtransthai.org/">
<div class="listaction">
<img src="avatars/placeholder.png" alt="no-avatar" width="80" height="80" style="margin: 0.3cm; border-radius: 40px; box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.13)">
@ -107,10 +103,6 @@
</div>
</div>
</a>
<a class="itemcard-placeholder">
</a>
</div>
</div>