nettsiden/www/css/services.css

94 lines
1.3 KiB
CSS
Raw Permalink Normal View History

2022-09-17 17:09:35 +02:00
main {
margin: 0px !important;
padding: 0px !important;
width: 100vw;
}
2022-09-18 01:24:57 +02:00
.serviceWrapper {
width: 80%;
display: grid;
2022-09-18 01:24:57 +02:00
grid-template-columns: 1fr 1fr;
grid-gap: 1em;
2022-11-29 17:07:36 +01:00
margin: auto auto;
2022-11-29 17:31:22 +01:00
margin-top: 4em;
2022-09-17 17:09:35 +02:00
}
.categoryContainer {
border: 4px solid #002244;
border-radius: 5px;
box-shadow : 0 0 20px #002244;
margin-bottom: 20px;
}
.categoryLabel {
background-color: #002244;
color: white;
padding-left: 10px;
font-family: monospace;
font-size: 24px;
}
.service {
border: 2px solid #002244;
border-radius: 5px;
padding: 10px;
margin: 10px;
display: flex;
flex-direction: row;
}
.serviceContent {
flex-grow: 1;
}
.serviceTitle {
margin: 0.2em !important;
}
.serviceDescription {
margin-top: 0px !important;
}
.serviceDescription::before {
content: " - ";
font-size: 18px;
display: inline;
}
.serviceLink {
2022-11-29 17:07:36 +01:00
width: 70%;
2022-09-17 17:09:35 +02:00
padding-bottom: 5px;
border-radius: 5px;
border: 2px solid #002244;
2022-11-29 17:07:36 +01:00
padding: 7px;
margin-top: 4px;
}
.serviceLink > a {
margin-bottom: 10px;
word-break: break-word;
2022-09-17 17:09:35 +02:00
}
.serviceImage {
flex-shrink: 1;
width: 100px;
height: 100px;
margin: auto auto;
}
2022-11-29 17:07:36 +01:00
@media (max-width: 800px) {
.serviceWrapper {
2022-11-29 17:07:36 +01:00
grid-template-columns: 1fr;
}
.categoryContainer {
width: 100%;
}
}