1
0
mirror of https://github.com/chylex/Lightning-Tracker.git synced 2024-12-22 14:42:46 +01:00
Lightning-Tracker/res/~resources/css/main.css

212 lines
3.4 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');
}
* {
box-sizing: border-box;
font-family: Roboto, 'Trebuchet MS', sans-serif;
}
body {
margin: 0;
padding: 0;
font-size: 16px;
}
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: 4px 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 0 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, #999);
border: 1px solid #8c8c8c;
box-shadow: none;
}
button.styled .icon {
margin-right: 2px;
font-size: 0.9em;
vertical-align: -5%;
}
button.icon {
padding: 0;
opacity: 0.75;
background: none;
border: none;
cursor: pointer;
text-align: left;
font-size: 20px;
}
button.icon:hover {
opacity: 1;
}
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: 500px;
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;
}