1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-11 18:55:34 +01:00
LocalCDN-Firefox-Chrome-Brave/pages/style.css
2021-03-30 06:31:59 +02:00

231 lines
4.0 KiB
CSS

html {
background-color: #4e4e4e;
box-sizing: border-box;
height: 100%;
}
body {
background-color: #fafafa;
-khtml-box-shadow: 10px 10px 60px #111;
-moz-box-shadow: 10px 10px 60px #111;
-webkit-box-shadow: 10px 10px 60px #111;
box-shadow: 10px 10px 60px #111;
box-sizing: border-box;
color: #555;
font-size: 14px;
height: unset !important;
margin: 0 auto;
max-width: 982px;
min-height: 100%;
min-width: 256px;
padding: 33px 18px;
}
h1 {
font-family: 'Noto Sans', Arial, sans-serif;
font-size: 24px;
font-weight: 400;
text-align: center;
}
hr {
border: 0;
border-top: 1px solid #ccc;
display: block;
height: 1px;
margin: 1em 0;
padding: 0;
}
.btn-panel {
cursor: default;
display: flex;
font-family: 'Noto Sans', Arial, sans-serif;
justify-content: center;
margin: auto;
max-width: 750px;
}
.topic-badge {
background-color: #fcfcfc;
border: 4px solid #e6e6e6;
border-radius: 100px;
color: #5a8f79;
display: inline-block;
font-size: 48px;
line-height: 0;
margin: 0 20px 20px;
padding: 16px;
}
.topic-badge:first-child {
margin-left: 0;
}
.topic-badge:last-child {
margin-right: 0;
}
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: url(../../modules/noto-sans/noto-sans.woff2) format('woff2');
}
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 600;
src: url(../../modules/noto-sans/noto-sans-bold.woff2) format('woff2');
}
@font-face {
font-family: 'Noto Sans';
font-style: italic;
font-weight: 400;
src: url(../../modules/noto-sans/noto-sans-italic.woff2) format('woff2');
}
.btn {
background: 0 0;
border-radius: 4px;
border-style: solid;
border-width: 1px;
-webkit-box-shadow: 0 5px 30px -5px rgba(0, 0, 0, 0.5), 0 5px 5px -5px #000;
box-shadow: 0 5px 30px -5px rgba(0, 0, 0, 0.5), 0 5px 5px -5px #000;
color: #fff !important;
font-weight: 600;
margin: 15px;
padding: 11px 17px;
text-align: center;
text-decoration: none;
width: 100px;
}
.btn:hover {
background: none;
}
.btn-text {
align-items: center;
display: inline-flex;
justify-content: center;
min-height: 40px;
}
.btn-gitlab {
background-color: #007bbd;
border-color: #00679e !important;
}
.btn-gitlab:hover {
background-color: #00679e;
}
.btn-testing-utility {
background-color: #058300;
border-color: #034800 !important;
}
.btn-testing-utility:hover {
background-color: #034800;
}
.btn-contact {
background-color: #f49b2f;
border-color: #f58700 !important;
}
.btn-contact:hover {
background-color: #f58700;
}
.notice {
align-items: center;
font-family: 'Noto Sans', Arial, sans-serif;
margin-left: auto;
margin-right: auto;
max-width: 750px;
text-align: left;
padding-bottom: 2em;
}
.logo {
display: block;
height: 145px;
margin: 15px auto 50px;
}
.subtle-hint {
color: #777;
font-size: 14px;
margin-bottom: 20px;
padding: 8px 11px;
}
.topic-label {
color: #5a8f79;
font-style: normal;
font-weight: 700;
}
.uncle-sam, .we-need-you-title {
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
}
.uncle-sam {
display: block;
}
.we-need-you-declaration {
color: #777;
font-weight: 400;
text-align: center;
}
.p-donate {
text-decoration: underline;
}
.p-donate:hover {
cursor: pointer;
}
@media screen and (max-width: 982px) {
body {
box-shadow: none;
}
}
@media screen and (max-width: 500px) {
.btn-panel {
flex-wrap: wrap;
}
.btn {
margin-bottom: 10px;
max-width: 733px;
padding: 13px 18px 12px;
width: 100%;
}
.btn-text {
min-height: unset;
width: 100%;
}
}
@media (prefers-color-scheme: dark) {
body {
background-color: #404040;
}
.subtle-hint, body, h3, p {
color: #aeaeae !important;
}
}