Compare commits

..

2 Commits

Author SHA1 Message Date
Helen Chong e6dec079f9 Add cache policy 2024-08-20 08:52:03 +08:00
Helen Chong 91d3de5db2 Get Intel One Mono font from root directory 2024-08-20 08:51:52 +08:00
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
<FilesMatch "\.(ico|svg|avif|webp|jpg|jpeg|png|gif|woff2)$">
Header set Cache-Control "max-age=31536000, public"
</FilesMatch>
<FilesMatch "\.(css|js)$">
Header set Cache-Control "no-cache, public"
</FilesMatch>
# Template to enable clean URLs for the Apache web server.
<IfModule mod_rewrite.c>
RewriteEngine On

View File

@ -3,28 +3,28 @@
font-family: 'Intel One Mono';
font-style: normal;
font-weight: 400;
src: url('./../../fonts/IntelOneMono-Regular.woff2') format('woff2');
src: url('/fonts/IntelOneMono-Regular.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Intel One Mono';
font-style: italic;
font-weight: 400;
src: url('./../../fonts/IntelOneMono-Italic.woff2') format('woff2');
src: url('/fonts/IntelOneMono-Italic.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Intel One Mono';
font-style: normal;
font-weight: 700;
src: url('./../../fonts/IntelOneMono-Bold.woff2') format('woff2');
src: url('/fonts/IntelOneMono-Bold.woff2') format('woff2');
}
@font-face {
font-display: swap;
font-family: 'Intel One Mono';
font-style: italic;
font-weight: 700;
src: url('./../../fonts/IntelOneMono-BoldItalic.woff2') format('woff2');
src: url('/fonts/IntelOneMono-BoldItalic.woff2') format('woff2');
}
*::selection {
color: #202021;