nettsiden/www/css/landing.css

152 lines
2.2 KiB
CSS
Raw Normal View History

2018-08-12 03:56:18 +02:00
header.landing {
2022-11-05 19:06:22 +01:00
display: block;
margin: 0;
margin-top: 3em;
padding: 3vh 15vw;
width: 70vw;
background-color: #002244;
color: #fff;
2017-11-13 13:21:51 +01:00
}
2018-08-12 03:56:18 +02:00
header.landing .logo {
2022-11-05 19:06:22 +01:00
display: block;
width: 24vh;
height: 24vh;
margin: auto;
2017-11-13 13:21:51 +01:00
}
main {
2022-11-05 19:06:22 +01:00
margin-top: 0;
2017-11-13 13:21:51 +01:00
}
2017-11-13 14:18:08 +01:00
.info {
2022-11-05 19:06:22 +01:00
text-align: center;
width: 100%;
padding: 0;
margin: 0;
2022-11-05 19:06:22 +01:00
overflow-y: hidden;
2017-11-13 13:21:51 +01:00
}
.essentials {
2022-11-05 19:06:22 +01:00
width: 100%;
margin: 1em 0;
padding: 0;
list-style: none;
display: flex;
align-items: center;
justify-content: center;
2017-11-13 13:21:51 +01:00
}
.essentials li {
2022-11-05 19:06:22 +01:00
display: inline-block;
2017-11-13 13:21:51 +01:00
}
.essentials a {
2022-11-05 19:06:22 +01:00
margin: 0 2em;
height: 100%;
2017-11-13 13:21:51 +01:00
}
.essentials .focus {
2022-11-05 19:06:22 +01:00
padding: 0.8em;
font-size: 1.2em;
2017-11-13 14:18:08 +01:00
}
img.float-right {
2022-11-05 19:06:22 +01:00
float: right;
max-width: 12em;
max-height: 12em;
vertical-align: baseline;
}
.calendar-events {
2022-11-05 19:06:22 +01:00
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) {
2022-11-05 19:06:22 +01:00
display: inline-block;
width: calc(100% - 7em);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2018-08-10 23:51:34 +02:00
}
.calendar-events ul .date {
2022-11-05 19:06:22 +01:00
color: rgba(0, 0, 0, 0.5);
font-size: 0.8em;
margin-top: 0.2em;
}
.calendar-events > li > p {
2022-11-05 19:06:22 +01:00
border-bottom: 0.1em dotted rgba(0, 0, 0, 0.2);
}
.calendar-events ul {
2022-11-05 19:06:22 +01:00
list-style: none;
padding: 0;
}
.calendar-events a {
color: rgba(0,0,0, 0.85);
}
.calendar-events ul .time {
2022-11-05 19:06:22 +01:00
color: rgba(0, 0, 0, 0.5);
float: right;
margin-left: 0.2em;
}
2022-11-05 19:06:22 +01:00
.calendar-events ul .icon,
.calendar-events ul .date {
float: right;
margin-right: 0.5em;
}
main.contentsplit {
2022-11-05 19:06:22 +01:00
padding-top: 1em;
}
.contentsplit {
2022-11-05 19:06:22 +01:00
display: grid;
grid-template-columns: 2.5fr 2fr;
}
.gridr {
2022-11-05 19:06:22 +01:00
border-left: 0;
}
@media screen and (max-width: 50rem) {
2022-11-05 19:06:22 +01:00
.essentials {
flex-direction: column;
}
2022-11-05 19:06:22 +01:00
.essentials a {
margin: 0.2em 0;
}
}
@media screen and (max-width: 65rem) {
2022-11-05 19:06:22 +01:00
.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;
}
}