pedf
/
novinari
Archived
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

103 lines
1.6 KiB
CSS

:root {
--width: 1200px;
}
3 years ago
@font-face {
font-family: "roboto-black";
src: url(fnt/RobotoSlab-Black.ttf);
}
@font-face {
font-family: "roboto-light";
src: url(fnt/RobotoSlab-Light.ttf);
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
margin: 0;
line-height: 1.5;
3 years ago
font-family: "roboto-light";
min-height: 100vh;
width: 100vw;
color: #edfbff;
display: flex;
flex-direction: column;
background: linear-gradient(90deg, rgba(210, 120, 80, .95), rgba(250, 60, 70, .95)), url(background.jpg) center center no-repeat;
background-size: cover;
}
a {
text-decoration: none;
color: #fff;
font-weight: bold;
}
a:hover { text-decoration: underline }
header {
display: flex;
align-items: center;
margin: 0 auto;
padding: 1em;
width: 100%;
max-width: var(--width);
}
header h1 { margin 0 }
nav {
margin-left: auto;
}
nav ul {
width: auto;
display: flex;
list-style-type: none;
padding: 1em 0;
margin: 0;
}
nav ul li a {
padding: .7em 1em;
margin-left: 1em;
}
nav ul li a:hover { text-decoration: none }
nav a.special {
border: 1px solid #fff;
border-radius: .5em;
}
nav a.special:hover {
background-color: #fff;
color: #dd4733;
}
main {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
main h1 {
font-size: 6em;
3 years ago
font-family: "roboto-black";
margin: .2em;
}
main hr {
width: 5em;
border: 0;
border-top: 1px solid #fff;
}
main p {
max-width: 40em;
text-align: center;
}
footer {
text-align: center;
padding: 2em;
background-color: rgba(255, 255, 255, .075);
backdrop-filter: blur(5px);
}