Switch to Inter font served via CDN
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Late Night Defender 2024-10-28 20:51:15 +07:00
parent 4a3bbee999
commit b1b2eaf1b4
28 changed files with 15 additions and 129 deletions

View file

@ -2,6 +2,7 @@
<html> <html>
<head> <head>
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://rsms.me/">
<meta http-equiv="Content-Language" content="th"> <meta http-equiv="Content-Language" content="th">
<meta http-equiv="content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="แปลแอปดี ๆ ให้มีเมนูภาษาไทย"> <meta name="description" content="แปลแอปดี ๆ ให้มีเมนูภาษาไทย">

View file

@ -2,6 +2,7 @@
<html> <html>
<head> <head>
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://rsms.me/">
<meta http-equiv="Content-Language" content="th"> <meta http-equiv="Content-Language" content="th">
<meta http-equiv="content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="เติมแผนที่ที่หายไปในประเทศไทย"> <meta name="description" content="เติมแผนที่ที่หายไปในประเทศไทย">

View file

@ -2,6 +2,7 @@
<html> <html>
<head> <head>
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://rsms.me/">
<meta http-equiv="Content-Language" content="th"> <meta http-equiv="Content-Language" content="th">
<meta http-equiv="content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="ปฏิทินการศึกษา 2567 ในรูปแบบ iCalendar"> <meta name="description" content="ปฏิทินการศึกษา 2567 ในรูปแบบ iCalendar">

View file

@ -2,6 +2,7 @@
<html> <html>
<head> <head>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://rsms.me/">
<meta http-equiv="Content-Language" content="th"> <meta http-equiv="Content-Language" content="th">
<meta http-equiv="content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Home of TechTransThai's available services"> <meta name="description" content="Home of TechTransThai's available services">

View file

@ -2,6 +2,7 @@
<html> <html>
<head> <head>
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://rsms.me/">
<meta http-equiv="Content-Language" content="th"> <meta http-equiv="Content-Language" content="th">
<meta http-equiv="content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="เติมแผนที่ที่หายไปในประเทศไทย"> <meta name="description" content="เติมแผนที่ที่หายไปในประเทศไทย">

View file

@ -2,6 +2,7 @@
<html> <html>
<head> <head>
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://rsms.me/">
<meta http-equiv="Content-Language" content="th"> <meta http-equiv="Content-Language" content="th">
<meta http-equiv="content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="สนับสนุนโปรเจกต์ที่ทำให้เราเติบโต"> <meta name="description" content="สนับสนุนโปรเจกต์ที่ทำให้เราเติบโต">

View file

@ -2,6 +2,7 @@
<html> <html>
<head> <head>
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://rsms.me/">
<meta http-equiv="Content-Language" content="th"> <meta http-equiv="Content-Language" content="th">
<meta http-equiv="content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="ปฏิทินการศึกษา 2567 ในรูปแบบ iCalendar"> <meta name="description" content="ปฏิทินการศึกษา 2567 ในรูปแบบ iCalendar">

View file

@ -2,6 +2,7 @@
<html> <html>
<head> <head>
<link rel="stylesheet" href="https://www.techtransthai.org/style.css"> <link rel="stylesheet" href="https://www.techtransthai.org/style.css">
<link rel="preconnect" href="https://rsms.me/">
<meta http-equiv="Content-Language" content="th"> <meta http-equiv="Content-Language" content="th">
<meta http-equiv="content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,127 +0,0 @@
/* inter-black */
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 900;
src: local("Inter Black"), local("Inter-Black"), url(inter-black.woff2) format("woff2");
}
/* inter-black-italic */
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 900;
src: local("Inter Black Italic"), local("Inter-BlackItalic"), url(inter-black-italic.woff2) format("woff2");
}
/* inter-bold */
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 700;
src: local("Inter Bold"), local("Inter-Bold"), url(inter-bold.woff2) format("woff2");
}
/* inter-bold-italic */
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 700;
src: local("Inter Bold Italic"), local("Inter-BoldItalic"), url(inter-bold-italic.woff2) format("woff2");
}
/* inter-extrabold */
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 400;
src: local("Inter ExtraBold"), local("Inter-ExtraBold"), url(inter-extrabold.woff2) format("woff2");
}
/* inter-extrabold-italic */
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 400;
src: local("Inter ExtraBold Italic"), local("Inter-ExtraBoldItalic"), url(inter-extrabold-italic.woff2) format("woff2");
}
/* inter-extralight */
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 400;
src: local("Inter ExtraLight"), local("Inter-ExtraLight"), url(inter-extralight.woff2) format("woff2");
}
/* inter-extralight-italic */
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 400;
src: local("Inter ExtraLight Italic"), local("Inter-ExtraLightItalic"), url(inter-extralight-italic.woff2) format("woff2");
}
/* inter-italic */
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 400;
src: local("Inter Italic"), local("Inter-Italic"), url(inter-italic.woff2) format("woff2");
}
/* inter-light */
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 300;
src: local("Inter Light"), local("Inter-Light"), url(inter-light.woff2) format("woff2");
}
/* inter-light-italic */
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 300;
src: local("Inter Light Italic"), local("Inter-LightItalic"), url(inter-light-italic.woff2) format("woff2");
}
/* inter-medium */
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 500;
src: local("Inter Medium"), local("Inter-Medium"), url(inter-medium.woff2) format("woff2");
}
/* inter-medium-italic */
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 500;
src: local("Inter Medium Italic"), local("Inter-MediumItalic"), url(inter-medium-italic.woff2) format("woff2");
}
/* inter-regular */
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 400;
src: local("Inter Regular"), local("Inter-Regular"), url(inter-regular.woff2) format("woff2");
}
/* inter-semibold */
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 400;
src: local("Inter SemiBold"), local("Inter-SemiBold"), url(inter-semibold.woff2) format("woff2");
}
/* inter-semibold-italic */
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 400;
src: local("Inter SemiBold Italic"), local("Inter-SemiBoldItalic"), url(inter-semibold-italic.woff2) format("woff2");
}
/* inter-thin */
@font-face {
font-family: Inter;
font-style: normal;
font-weight: 100;
src: local("Inter Thin"), local("Inter-Thin"), url(inter-thin.woff2) format("woff2");
}
/* inter-thin-italic */
@font-face {
font-family: Inter;
font-style: italic;
font-weight: 100;
src: local("Inter Thin Italic"), local("Inter-ThinItalic"), url(inter-thin-italic.woff2) format("woff2");
}

View file

@ -1,12 +1,17 @@
@import url("inter/inter.css"); @import url("https://rsms.me/inter/inter.css");
@import url("navbar.css"); @import url("navbar.css");
:root { :root {
--white: #fff; --white: #fff;
--black: #000; --black: #000;
font-family: Inter, sans-serif;
font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}
@supports (font-variation-settings: normal) {
:root { font-family: InterVariable, sans-serif; }
} }
html * {font-family: Inter, Cantarell, sans-serif;}
p {font-size: 11pt;} p {font-size: 11pt;}
h1 {margin-top: 3vh;} h1 {margin-top: 3vh;}