This repository has been archived on 2023-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
web/public/static/style/main.css

139 lines
2.5 KiB
CSS
Raw Normal View History

2022-01-16 16:12:04 +00:00
html, body {
height: 100%;
}
2022-01-14 06:43:31 +00:00
body {
2022-01-16 16:12:04 +00:00
display: flex;
flex-flow: column;
2022-01-14 06:43:31 +00:00
background: #eee;
color: #222;
2022-01-16 16:12:04 +00:00
font-size: 1rem;
2022-01-14 06:43:31 +00:00
font-family: "Liberation Sans", Arial, sans-serif;
line-height: 1.5;
margin: 0;
}
2022-01-16 16:12:04 +00:00
.hidden { display: none; }
h1 {
2022-01-14 06:43:31 +00:00
border-bottom: 1px solid #aaa;
2022-01-16 16:12:04 +00:00
margin: 0;
2022-01-14 06:43:31 +00:00
}
2022-01-16 16:12:04 +00:00
a {
color: rgb(0, 0, 255);
2022-01-14 06:43:31 +00:00
}
2022-01-16 16:12:04 +00:00
#header {
padding: 1rem;
padding-left: .75rem;
padding-right: .75rem;
background: #472987;
2022-01-14 06:43:31 +00:00
}
2022-01-16 16:12:04 +00:00
#header a {
color: #eee;
2022-01-14 06:43:31 +00:00
text-decoration: none;
2022-01-25 16:12:56 +00:00
background: url(../img/cropped-kf-propell-ikon-32x32.png) no-repeat left center;
padding: 1rem;
padding-left: 1rem;
padding-left: 2.5rem;
2022-01-14 06:43:31 +00:00
}
2022-01-16 16:12:04 +00:00
#menu {
background: #222;
color: #eee;
padding: .25rem;
padding-left: .75rem;
padding-right: .75rem;
}
#menu a { color: #eee; float: right; }
#menu span { float: left; }
2022-01-14 06:43:31 +00:00
2022-01-16 16:12:04 +00:00
#container {
display: flex;
flex-grow: 1;
2022-01-14 06:43:31 +00:00
}
2022-01-16 16:12:04 +00:00
#main {
padding: .75rem;
flex-grow: 1;
}
#main img {
2022-01-14 06:43:31 +00:00
display: block;
height: auto;
2022-01-16 16:12:04 +00:00
max-width: 100%;
2022-01-14 06:43:31 +00:00
}
2022-01-16 16:12:04 +00:00
#nav {
background: #fff;
padding: .75rem;
2022-01-24 10:04:39 +00:00
line-height: 1.75;
2022-01-14 06:43:31 +00:00
}
2022-01-16 16:12:04 +00:00
#nav ul {
2022-01-14 06:43:31 +00:00
margin: 0;
2022-01-16 16:12:04 +00:00
padding-left: .75rem;
2022-01-14 06:43:31 +00:00
}
2022-01-16 16:12:04 +00:00
@media only screen and (max-width: 40rem) {
#container {
flex-flow: column;
}
2022-01-14 06:43:31 +00:00
}
2022-01-16 16:12:04 +00:00
#footer {
background: #fff;
padding: .75rem;
}
#footer small {
float: right;
2022-01-14 06:43:31 +00:00
}
.alert {
2022-01-16 16:12:04 +00:00
padding: .5rem;
margin-bottom: .5rem;
2022-01-14 06:43:31 +00:00
border: 1px solid transparent;
2022-01-16 16:12:04 +00:00
border-radius: .15rem;
2022-01-14 06:43:31 +00:00
}
2022-01-16 16:12:04 +00:00
.alert.info {
2022-01-14 06:43:31 +00:00
color: #0c5460;
background-color: #d1ecf1;
border-color: #62b1bd;
background: linear-gradient(0deg, rgba(167,223,232,1) 0%, rgba(209,236,241,1) 100%);
}
2022-01-16 16:12:04 +00:00
.alert.success {
2022-01-14 06:43:31 +00:00
color: #155724;
background-color: #d4edda;
border-color: #56bf6e;
background: linear-gradient(0deg, rgba(165,227,180,1) 0%, rgba(212,237,218,1) 100%);
}
2022-01-16 16:12:04 +00:00
.alert.danger {
2022-01-14 06:43:31 +00:00
color: #721c24;
background-color: #f8d7da;
border-color: #c8848c;
background: linear-gradient(0deg, rgb(249, 180, 186) 0%, rgb(248, 215, 218) 100%);
}
2022-01-16 16:12:04 +00:00
.alert.warning {
2022-01-14 06:43:31 +00:00
color: #856404;
background: #fff3cd;
border-color: #dfc678;
background: linear-gradient(0deg, rgb(251, 229, 161) 0%, rgb(255, 243, 205) 100%);
2022-02-05 14:43:48 +00:00
}
table {
border-collapse: collapse;
width: 100%;
}
table td, table th {
border: 0.05rem solid #aaa;
font-weight: normal;
padding: 0.05rem 0.25rem 0.05rem 0.25rem;
}
table tr:nth-child(even) {
background-color: #fff;
}
table th {
text-align: left;
background-color: #222;
color: #eee;
2022-01-14 06:43:31 +00:00
}