nettsiden/www/css/landing.css

132 lines
1.8 KiB
CSS
Raw Permalink 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;
}
.calendar-events ul {
2022-11-05 19:06:22 +01:00
list-style: none;
padding: 0;
}
.calendar-events a {
2024-08-17 23:59:17 +02:00
color: rgba(0,0,0, 0.85);
}
2024-08-17 23:59:17 +02:00
.calendar-events ul .datetime {
2022-11-05 19:06:22 +01:00
color: rgba(0, 0, 0, 0.5);
float: right;
margin-left: 0.2em;
}
2024-08-17 23:59:17 +02:00
.calendar-events ul li {
margin-bottom: 0.4em;
}
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;
}
}