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.

116 lines
1.8 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";
display: flex;
flex-direction: column;
}
header {
display: flex;
align-items: center;
margin: 0 auto;
padding: 1em;
width: 100%;
max-width: var(--width);
}
header h1 {
margin 0;
font-family: "roboto-black";
}
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;
}
section.search {
height: 70vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
section.search input {
max-width: 40em;
width: 100%;
padding: 1.5em 2em;
border: 0;
border-radius: .5em;
box-shadow: 3px 3px 10px #00000026;
font-family: "roboto-light";
}
3 years ago
section.filter ul {
display: grid;
grid-template-columns: repeat(8, 1fr);
grid-row-gap: 1em;
grid-column-gap: 1em;
justify-content: space-between;
list-style-type: none;
padding: 0;
margin: 0 -1em 5em -1em;
}
section.filter ul li {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
font-size: .9em;
padding: .8em;
border: 1px solid #808080;
border-radius: .5em;
color: #6F6F6F;
font-weight: bold;
}
section.filter ul li:hover {
border: 1px solid rgba(0,0,0,0);
box-shadow: 3px 3px 10px #00000026;
color: #dd4733;
cursor: pointer;
}
footer {
text-align: center;
padding: 2em;
}