1
0
mirror of https://github.com/chylex/Lightning-Tracker.git synced 2024-09-19 10:42:48 +02:00
Lightning-Tracker/res/~resources/css/main.css

240 lines
3.8 KiB
CSS

@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'),
url('../fonts/roboto-v20-latin-ext_latin-regular.woff2') format('woff2'),
url('../fonts/roboto-v20-latin-ext_latin-regular.woff') format('woff');
}
@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: 400;
src: local('Roboto Italic'),
url('../fonts/roboto-v20-latin-ext_latin-italic.woff2') format('woff2'),
url('../fonts/roboto-v20-latin-ext_latin-italic.woff') format('woff');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: bold;
src: local('Roboto Medium'),
url('../fonts/roboto-v20-latin-ext_latin-500.woff2') format('woff2'),
url('../fonts/roboto-v20-latin-ext_latin-500.woff') format('woff');
}
@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: bold;
src: local('Roboto Medium Italic'),
url('../fonts/roboto-v20-latin-ext_latin-500italic.woff2') format('woff2'),
url('../fonts/roboto-v20-latin-ext_latin-500italic.woff') format('woff');
}
* {
font-family: Roboto, 'Trebuchet MS', sans-serif;
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-size: 16px;
}
nav, header, main, article, details {
display: block;
}
details > summary {
display: list-item;
}
details:not([open]) > article {
display: none !important;
}
a, a:visited {
color: #004874;
text-underline-offset: 4px;
}
a.plain {
text-decoration: none;
}
p {
margin: 20px 0;
}
ul {
padding-left: 30px;
}
li {
margin-bottom: 4px;
}
h2 {
margin: 5px 0 25px;
color: #1e1e1e;
font-size: 28px;
}
h2 a {
text-decoration: none;
}
h2 .breadcrumb-arrows {
font-size: 33px;
line-height: 28px;
}
h3 {
margin: 25px 0 20px 0;
padding: 7px 11px 6px;
border: 1px solid #073e61;
border-radius: 5px;
color: #fff;
background: linear-gradient(#0c6ba6, #0a5e91);
font-size: 18px;
text-shadow: 1px 1px 1px #000;
box-shadow: 0 1px 0 0 #000;
}
h3:first-child {
margin-top: 0;
}
h4 {
margin: -2px 0 9px;
}
div.center-text {
text-align: center;
}
button.styled {
display: inline-block;
margin: 0 8px 6px 0;
padding: 5px 10px;
text-align: center;
color: #fff;
background: linear-gradient(#2685bf, #1f6a99);
font-size: 18px;
font-weight: bold;
white-space: nowrap;
border: 1px solid #1b618c;
border-radius: 5px;
box-shadow: 0 1px 0 #8ac2e5 inset;
text-shadow: 1px 1px 0 #222;
}
button.styled:not(:disabled) {
cursor: pointer;
}
button.styled:focus {
outline: none !important;
}
button.styled:hover, button.styled:focus {
background: linear-gradient(#2173a6, #175073);
}
button.styled:active {
background: linear-gradient(#247cb3, #298dcc);
}
button.styled:disabled {
background: linear-gradient(#bfbfbf, #999999);
border: 1px solid #8c8c8c;
box-shadow: none;
}
button.styled .icon {
margin-right: 2px;
font-size: 16px;
vertical-align: -5%;
}
a.icon,
button.icon {
padding: 0;
opacity: 0.75;
background: none;
border: none;
text-align: left;
text-decoration: none;
font-size: 20px;
}
a.icon,
button.icon:not([disabled]) {
cursor: pointer;
}
a.icon:hover,
button.icon:not([disabled]):hover {
opacity: 1;
}
button.icon[disabled] > span.icon {
color: #2f2f2f !important;
}
span.missing {
color: #666666;
font-style: italic;
}
#page-content {
padding: 24px;
}
#page-content.condensed {
max-width: 1000px;
margin: 0 auto;
}
#page-content.compact {
max-width: 750px;
margin: 0 auto;
}
#page-content.minimal {
max-width: 425px;
margin: 0 auto;
}
#page-content.pad-top {
padding-top: 48px;
}
#page-content article {
margin: 20px 12px;
}
.min-width-200 {
min-width: 200px;
}
.min-width-250 {
min-width: 250px;
}
.max-width-250 {
max-width: 250px;
}
.max-width-400 {
max-width: 400px;
}
.max-width-500 {
max-width: 500px;
}