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

130 lines
2.7 KiB
CSS
Raw Permalink Normal View History

2021-08-30 15:17:53 +00:00
html {
2021-10-11 08:34:32 +00:00
background-color: #e8e8e8;
2021-09-01 15:31:18 +00:00
background-image: url("../img/imagedoc-lightnoise.png");
2021-08-30 15:17:53 +00:00
}
body {
color: #222;
font-size: 14px;
font-family: "Liberation Sans", Arial, sans-serif;
line-height: 1.5;
margin: 0;
}
h1, h2, h3, h4 {
2021-10-09 19:11:59 +00:00
margin: 0;
2021-10-11 08:34:32 +00:00
border-bottom: 1px solid #aaa;
margin-bottom: 12px;
2021-08-30 15:17:53 +00:00
}
2021-10-09 19:11:59 +00:00
.navbar-top {
2021-08-30 15:17:53 +00:00
padding: 12px;
background: #472886;
background: linear-gradient(0deg, rgba(71,40,134,1) 0%, rgba(81,24,195,1) 100%);
}
2021-10-09 19:11:59 +00:00
.navbar-top .inner {
2021-08-30 15:17:53 +00:00
max-width: 900px;
margin: 0 auto;
}
2021-10-09 19:11:59 +00:00
.navbar-top .inner a {
2021-08-31 07:11:27 +00:00
color: #f8f8f8;
text-decoration: none;
}
2021-09-11 16:31:53 +00:00
.login-statusbar {
2021-10-11 08:34:32 +00:00
border-top: 2px solid #f8f8f8;
2021-09-11 18:59:42 +00:00
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%);
2021-09-11 16:31:53 +00:00
}
2021-10-09 19:11:59 +00:00
.login-statusbar .inner {
2021-09-11 16:31:53 +00:00
max-width: 900px;
margin: 0 auto;
2021-10-11 08:34:32 +00:00
color: #f8f8f8;
2021-09-11 16:31:53 +00:00
font-weight: bold;
font-size: 12px;
padding-left: 12px;
padding-right: 12px;
padding-top: 4px;
padding-bottom: 4px;
2021-10-12 13:13:23 +00:00
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
2021-09-11 16:31:53 +00:00
}
2021-10-09 19:11:59 +00:00
.login-statusbar .inner > a {
2021-10-11 08:34:32 +00:00
color: #f8f8f8;
2021-09-11 16:31:53 +00:00
}
2021-10-09 19:11:59 +00:00
.footer {
2021-10-11 08:34:32 +00:00
background: #d8d8d8;
2021-10-09 19:11:59 +00:00
border-top: 1px solid #aaa;
padding: 12px;
2021-10-11 11:23:37 +00:00
max-width: 888px;
2021-10-09 19:11:59 +00:00
margin: 0 auto;
}
2021-08-30 15:17:53 +00:00
.grid-container {
2021-10-11 08:34:32 +00:00
background: #fff;
2021-08-30 15:17:53 +00:00
display: grid;
2021-09-11 16:31:53 +00:00
grid-template-columns: max-content auto;
2021-08-30 15:17:53 +00:00
grid-gap: 12px;
2021-10-11 08:34:32 +00:00
max-width: 888px;
2021-08-30 15:17:53 +00:00
margin: 0 auto;
padding: 12px;
}
2021-10-09 19:11:59 +00:00
.grid-container main img {
2021-08-30 15:17:53 +00:00
display: block;
max-width: 100%;
height: auto;
border: 1px solid #aaa;
}
2021-10-09 19:11:59 +00:00
.grid-container .nav-links {
2021-10-11 08:34:32 +00:00
background: #eee;
2021-08-30 15:17:53 +00:00
border: 1px solid #aaa;
2021-10-08 22:57:18 +00:00
padding: 12px;
2021-08-30 15:17:53 +00:00
}
2021-10-09 19:11:59 +00:00
.grid-container .nav-links ul {
2021-10-08 22:57:18 +00:00
margin: 0;
padding-left: 12px;
2021-08-30 15:17:53 +00:00
}
a {
color: rgb(0, 0, 255);
}
@media only screen and (max-width: 600px) {
.grid-container {
grid-template-columns: auto;
}
2021-10-09 18:46:28 +00:00
}
.alert {
2021-10-10 16:17:57 +00:00
padding: 8px;
margin-bottom: 8px;
2021-10-09 18:46:28 +00:00
border: 1px solid transparent;
2021-10-10 16:17:57 +00:00
border-radius: 2px;
2021-10-09 18:46:28 +00:00
}
.alert-info {
color: #0c5460;
background-color: #d1ecf1;
2021-10-10 16:17:57 +00:00
border-color: #62b1bd;
background: linear-gradient(0deg, rgba(167,223,232,1) 0%, rgba(209,236,241,1) 100%);
2021-10-09 18:46:28 +00:00
}
.alert-success {
color: #155724;
background-color: #d4edda;
2021-10-10 16:17:57 +00:00
border-color: #56bf6e;
background: linear-gradient(0deg, rgba(165,227,180,1) 0%, rgba(212,237,218,1) 100%);
2021-10-09 18:46:28 +00:00
}
.alert-danger {
color: #721c24;
background-color: #f8d7da;
2021-10-10 16:17:57 +00:00
border-color: #c8848c;
background: linear-gradient(0deg, rgb(249, 180, 186) 0%, rgb(248, 215, 218) 100%);
}
.alert-warning {
color: #856404;
background: #fff3cd;
border-color: #dfc678;
background: linear-gradient(0deg, rgb(251, 229, 161) 0%, rgb(255, 243, 205) 100%);
2021-08-30 15:17:53 +00:00
}