78 lines
1.1 KiB
CSS
78 lines
1.1 KiB
CSS
@font-face
|
|
{
|
|
font-family: 'dos';
|
|
src: url('fonts/dosvga.ttf');
|
|
}
|
|
@font-face
|
|
{
|
|
font-family: 'unifont';
|
|
src: url('fonts/unifont.otf');
|
|
}
|
|
|
|
:root
|
|
{
|
|
--font-header: 'unifont';
|
|
--font-body: 'dos';
|
|
}
|
|
|
|
body
|
|
{
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html
|
|
{
|
|
background-color: black;
|
|
}
|
|
|
|
.navbar ul
|
|
{
|
|
background-color: darkred;
|
|
display: flex;
|
|
list-style-type: none;
|
|
justify-content: center;
|
|
left: 0;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.navbar ul li
|
|
{
|
|
float: left;
|
|
}
|
|
|
|
.navbar ul li a
|
|
{
|
|
color: white;
|
|
display: block;
|
|
padding: 14px 16px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
font-size: 1.5em;
|
|
font-family: var(--font-header);
|
|
}
|
|
|
|
.navbar ul li a:hover
|
|
{
|
|
background-color: blue;
|
|
}
|
|
|
|
.text-block
|
|
{
|
|
border: 2px solid blue;
|
|
color: white;
|
|
font-family: var(--font-body);
|
|
justify-content: center;
|
|
margin-bottom: 5%;
|
|
margin-left: 25%;
|
|
margin-right: 25%;
|
|
margin-top: 5%;
|
|
padding: 10px 15px;
|
|
text-align: center;
|
|
}
|