pvv-nixos-config/www/css/style.css

119 lines
1.6 KiB
CSS
Raw Normal View History

2017-11-13 13:21:51 +01:00
body {
overflow-y: scroll;
overflow-x: hidden;
2016-08-15 17:43:41 +02:00
}
2017-11-13 13:21:51 +01:00
* {
font-style: -apple-system, 'avenir next', avenir, roboto, noto, ubuntu, 'helvetica neue', helvetica, arial, sans-serif;
2016-08-15 17:43:41 +02:00
}
2017-11-13 13:21:51 +01:00
nav {
position: fixed;
2017-11-13 13:21:51 +01:00
z-index: 99;
top: 0;
width: 100vw;
height: 50px;
background-color: #002244;
2016-08-15 17:43:41 +02:00
overflow: hidden;
2017-11-13 13:21:51 +01:00
box-shadow: 0 0 5px #000;
2016-08-15 17:43:41 +02:00
}
2017-11-13 13:21:51 +01:00
nav * {
background-color: #002244;
color: #fff;
margin: 0;
2016-08-15 17:43:41 +02:00
padding: 0;
}
2017-11-13 13:21:51 +01:00
nav h2 {
display: inline-block;
position: fixed;
top: 0;
margin-left: .65em;
line-height: 5vh;
color: #002244;
2016-08-15 17:43:41 +02:00
}
2017-11-13 13:21:51 +01:00
nav img{
width: 50px;
height: 50px;
2016-08-15 17:43:41 +02:00
}
2017-11-13 13:21:51 +01:00
nav ul {
2016-08-15 17:43:41 +02:00
display: table;
table-layout: fixed;
2017-11-13 13:21:51 +01:00
position: fixed;
top: 0;
left: 15vw;
right: 15vw;
width: 70vw;
height: 50px;
2016-08-15 17:43:41 +02:00
2017-11-13 13:21:51 +01:00
list-style: none;
2017-10-12 00:38:28 +02:00
}
2017-11-13 13:21:51 +01:00
nav a {
display: table-cell;
height: 100%;
margin: 0;
2017-10-12 00:38:28 +02:00
2016-08-15 17:43:41 +02:00
text-decoration: none;
2017-11-13 13:21:51 +01:00
font-size: 1.2em;
text-align: center;
line-height: 48px;
2016-08-15 17:43:41 +02:00
2017-11-13 13:21:51 +01:00
border-bottom: 2px solid rgba(255, 255, 255, 0);
2017-10-12 00:38:28 +02:00
2017-11-13 13:21:51 +01:00
transition: border-bottom .3s ease;
}
2017-11-13 13:21:51 +01:00
nav a:hover {
border-bottom: 2px solid rgba(255, 255, 255, 1);
2017-11-13 13:21:51 +01:00
transition: border-bottom .3s ease;
}
2017-11-13 13:21:51 +01:00
nav a.active {
border-bottom: 2px solid rgba(255, 255, 255, 1);
2016-08-15 17:43:41 +02:00
2017-11-13 13:21:51 +01:00
transition: none;
}
2017-11-13 13:21:51 +01:00
nav .login {
position: fixed;
top: 0;
right: 0;
height: 48px;
padding: 0 1em;
}
2017-11-13 13:21:51 +01:00
main {
padding: 1em 15vw;
height: 100vh;
margin-top: 5vh;
2017-11-13 13:21:51 +01:00
background-color: #fff;
}
2017-11-13 13:21:51 +01:00
main h2 {
color: #002244;
}
2017-11-11 22:10:43 +01:00
2017-11-13 13:21:51 +01:00
.btn {
padding: .5em;
border-radius: 4px;
text-decoration: none;
color: #fff;
background-color: #002244;
transition: background-color .2s ease;
2017-11-11 22:10:43 +01:00
}
2017-11-13 13:21:51 +01:00
.btn:hover {
background-color: #00407F;
transition: background-color .2s ease;
}