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

154 lines
2.0 KiB
CSS
Raw Normal View History

2017-11-13 13:21:51 +01:00
header {
margin: 0;
2018-02-24 16:53:17 +01:00
margin-top: 3em;
padding: 3vh 15vw;
width: 70vw;
2017-11-13 13:21:51 +01:00
background-color: #002244;
color: #fff;
}
2017-11-13 22:01:33 +01:00
header .logo {
2018-02-10 15:04:57 +01:00
display: block;
width: 24vh;
height: 24vh;
2018-02-10 15:04:57 +01:00
margin: auto;
2017-11-13 13:21:51 +01:00
}
main {
margin-top: 0;
}
2017-11-13 14:18:08 +01:00
.info {
2017-11-13 13:21:51 +01:00
text-align: center;
width: 100%;
2018-02-10 15:04:57 +01:00
padding: 0;
margin: 0;
overflow-y: hidden;
2017-11-13 13:21:51 +01:00
}
.essentials {
width: 100%;
2017-11-13 13:21:51 +01:00
margin: 1.8em 0;
2018-02-10 15:04:57 +01:00
padding: 0;
2017-11-13 13:21:51 +01:00
list-style: none;
display: flex;
align-items: center;
2018-02-10 15:04:57 +01:00
justify-content: center;
2017-11-13 13:21:51 +01:00
}
.essentials li {
display: inline-block;
}
.essentials a {
margin: 0 2em;
height: 100%;
}
.essentials .join {
padding: 1em;
font-size: 1.2em;
2017-11-13 14:18:08 +01:00
}
img.float-right {
float: right;
max-width: 12em;
max-height: 12em;
vertical-align: baseline;
}
.calendar-events {
padding: 0;
margin-bottom: 1.5em;
list-style: none;
}
2018-08-10 23:51:34 +02:00
.calendar-events ul li :not(.date):not(.time) {
display: inline-block;
width: calc(100% - 7em);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.calendar-events ul .date {
color: rgba(0,0,0,.5);
font-size: 0.8em;
margin-top: .2em;
}
.calendar-events > li > p {
border-bottom: .1em dotted rgba(0,0,0,.2);
}
.calendar-events ul {
list-style: none;
padding: 0;
}
.calendar-events a, #ticker a {
text-decoration: none;
font-weight: bold;
color: black;
}
.calendar-events a:hover, #ticker a:hover {
text-decoration: underline;
}
.calendar-events ul .time {
color: rgba(0,0,0,.5);
float: right;
}
.calendar-events ul .icon, .calendar-events ul .date {
float: right;
margin-right: .5em;
}
main.contentsplit {
padding-top: 1em;
}
.contentsplit {
display: grid;
2018-08-10 23:51:34 +02:00
grid-template-columns: 2.5fr 2fr;
}
.gridr {
border-left: 0;
}
@media screen and (max-width: 50rem) {
.essentials {
flex-direction: column;
}
.essentials a {
margin: .2em 0;
}
}
@media screen and (max-width: 65rem) {
.contentsplit {
display: block;
}
.gridr {
height: auto;
padding: 0;
margin-left: 0;
margin-bottom: 3em;
}
.gridr br {
margin: 0;
height: 0px;
}
.gridl {
margin-top: 0;
padding: 0;
}
}