feature: prevent reusing css, load fonts and css from matterlinux.xyz

This commit is contained in:
ngn 2024-03-19 21:17:51 +03:00
parent caabb73a12
commit 09db985db2
5 changed files with 1 additions and 87 deletions

View File

@ -1,14 +0,0 @@
@font-face {
font-family: Ubuntu;
src: url("fonts/ubuntu.woff2") format("woff2");
}
@font-face {
font-family: JetBrainsMono;
src: url("fonts/jetbrains.woff2") format("woff2");
}
@font-face {
font-family: JetBrainsItalic;
src: url("fonts/jetbrains-italic.woff2") format("woff2");
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,81 +1,9 @@
@import url("/font.css"); @import url("https://matterlinux.xyz/global.css");
:root {
--dark-main: black;
--dark-second: #090909;
--dark-third: #181818;
--bright-main: white;
--bright-second: #DFDFDF;
--bright-third: #777777;
}
::selection {
background: rgba(150, 150, 150, 0.4);
}
*{
padding: 0;
font-family: Ubuntu;
margin: 0;
}
body{
background: var(--dark-main);
padding-bottom: 50px;
}
main { main {
padding: 40px 10% 0% 10%; padding: 40px 10% 0% 10%;
} }
.bar {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
background: var(--dark-second);
padding: 20px;
border-bottom: solid 1px white;
}
.logo {
font-family: JetBrainsItalic;
color: white;
font-size: 25px;
}
.links {
display: block;
text-align: right;
}
.links a{
margin-left: 7px;
color: var(--bright-main);
font-family: Ubuntu;
font-size: 20px;
text-decoration: none;
}
.links a:hover {
color: var(--bright-second);
}
.error {
text-align: center;
}
.error h1{
font-size: 30px;
color: white;
margin: 50px 50px 10px 50px;
}
.error a{
font-size: 20px;
color: var(--bright-second);
}
.search { .search {
display: flex; display: flex;
color: var(--bright-main); color: var(--bright-main);