This repository has been archived on 2023-01-08. You can view files and clone it, but cannot push or open issues or pull requests.
stafett-for-livet/style/main.css
2021-10-09 20:46:28 +02:00

124 lines
2.1 KiB
CSS

html {
background-color: #fff;
background-image: url("../img/imagedoc-lightnoise.png");
}
body {
color: #222;
font-size: 14px;
font-family: "Liberation Sans", Arial, sans-serif;
line-height: 1.5;
margin: 0;
}
h1, h2, h3, h4 {
display: inline;
}
.navbar-top-head {
padding: 12px;
background: #472886;
background: linear-gradient(0deg, rgba(71,40,134,1) 0%, rgba(81,24,195,1) 100%);
}
.navbar-top-inner {
max-width: 900px;
margin: 0 auto;
}
.navbar-top-inner a {
color: #f8f8f8;
text-decoration: none;
}
.login-statusbar {
border-top: 2px solid #fff;
background: rgb(54,148,37);
background: linear-gradient(0deg, rgba(54,148,37,1) 0%, rgba(62,162,34,1) 50%, rgba(63,177,43,1) 100%);
}
.login-statusbar-inner {
max-width: 900px;
margin: 0 auto;
color: #fff;
font-weight: bold;
font-size: 12px;
padding-left: 12px;
padding-right: 12px;
padding-top: 4px;
padding-bottom: 4px;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.login-statusbar-inner > a {
color: #fff;
}
.grid-container {
display: grid;
grid-template-columns: max-content auto;
grid-gap: 12px;
max-width: 900px;
margin: 0 auto;
padding: 12px;
}
main img {
display: block;
max-width: 100%;
height: auto;
border: 1px solid #aaa;
}
nav {
background: #eee;
border: 1px solid #aaa;
padding: 12px;
}
nav > ul {
margin: 0;
padding-left: 12px;
}
a {
color: rgb(0, 0, 255);
}
footer {
background: #ddd;
border-top: 1px solid #aaa;
padding: 12px;
}
.footer-inner {
max-width: 900px;
margin: 0 auto;
}
@media only screen and (max-width: 600px) {
.grid-container {
grid-template-columns: auto;
}
}
.alert {
padding: 12px;
border: 1px solid transparent;
}
.alert-info {
color: #0c5460;
background-color: #d1ecf1;
border-color: #bee5eb;
}
.alert-success {
color: #155724;
background-color: #d4edda;
border-color: #c3e6cb;
}
.alert-danger {
color: #721c24;
background-color: #f8d7da;
border-color: #f5c6cb;
}