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

165 lines
2.8 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-03-30 12:37:06 +00:00
background: #e8e8e8;
color: #111;
2022-01-16 16:12:04 +00:00
font-size: 1rem;
2022-02-14 01:52:59 +00:00
font-family: Arial, sans-serif;
2022-01-14 06:43:31 +00:00
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 {
2022-03-30 12:37:06 +00:00
background: #111;
2022-01-16 16:12:04 +00:00
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;
2022-02-14 01:52:59 +00:00
overflow: hidden;
2022-01-16 16:12:04 +00:00
}
#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-03-16 11:41:51 +00:00
line-height: 1.9;
2022-02-14 01:52:59 +00:00
min-width: max-content;
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-02-07 09:53:15 +00:00
padding-left: 0;
list-style: none;
2022-01-14 06:43:31 +00:00
}
2022-02-06 02:35:20 +00:00
#nav h4 {
margin: 0;
border-bottom: 1px solid #aaa;
}
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-02-14 01:52:59 +00:00
border: .05rem 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 {
2022-02-14 01:52:59 +00:00
display: block;
2022-02-05 14:43:48 +00:00
border-collapse: collapse;
width: 100%;
2022-02-14 01:52:59 +00:00
overflow: auto;
2022-02-05 14:43:48 +00:00
}
table td, table th {
2022-02-09 02:13:46 +00:00
border-bottom: 0.05rem solid #aaa;
2022-03-16 11:41:51 +00:00
padding: 0.25rem 0.25rem 0.25rem 0.25rem;
2022-02-05 14:43:48 +00:00
}
table tr:nth-child(even) {
background-color: #fff;
}
table th {
2022-02-07 10:05:53 +00:00
font-weight: bold;
2022-02-09 02:13:46 +00:00
text-align: left;
2022-02-14 01:52:59 +00:00
}
tbody {
display: table;
width: 100%
}
a.info {
color: blue;
}
a.success {
color: darkgreen;
}
a.danger {
color: maroon;
}
.float-right {
float: right;
2022-01-14 06:43:31 +00:00
}