site/public/css/index.css
2022-07-27 17:40:48 -07:00

124 lines
1.7 KiB
CSS

*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
padding: 0;
font: inherit;
}
@font-face {
font-family: "Fira Code";
src: local("Fira Code"), url("/fonts/FiraCode-VF.ttf");
}
@font-face {
font-family: "Ubuntu";
src: local("Ubuntu"), local("Ubuntu Regular"), url("/fonts/Ubuntu-Regular.ttf");
}
@font-face {
font-family: "Ubuntu";
src: local("Ubuntu Bold"), url("/fonts/Ubuntu-Bold.ttf");
font-weight: bold;
}
@font-face {
font-family: "Ubuntu";
src: local("Ubuntu Italic"), url("/fonts/Ubuntu-Italic.ttf");
font-style: italic;
}
@font-face {
font-family: "Ubuntu";
src: local("Ubuntu Italic Bold"), local("Ubuntu Bold Italic"), url("/fonts/Ubuntu-Bold-Italic.ttf");
font-weight: bold;
font-style: italic;
}
strong {
font-weight: bold;
}
em {
font-style: italic;
}
body {
min-height: 100vh;
background-color: rgb(39, 39, 45);
padding: min(7vh, 30px) 15vw;
font-family: "Ubuntu";
color: white;
}
h1 {
font-size: max(30px, 2vh);
}
code {
font-family: "Fira Code", monospace;
color: inherit;
background-color: #444;
padding: 0.1em 0.2em;
border-radius: 0.3em;
}
li {
margin: 0.5em 0;
}
ul,
ol {
margin: 1em 0;
padding-left: 2.5em;
}
a,
a * {
color: cornflowerblue;
}
a:visited,
a:visited * {
color: mediumpurple;
}
a:hover,
a:hover * {
color: orchid;
}
.navbar {
display: flex;
flex-direction: row;
justify-content: center;
gap: 0.5em;
}
.built-with-zola {
font-size: 75%;
width: 100%;
text-align: center;
}
p {
margin: 1em 0;
}
hr {
margin: 0.5em 0;
}
h1 {
margin: 0.67em 0;
}
.pfp {
height: 1em;
bottom: -0.15em;
position: relative;
}