1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-19 06:33:10 +01:00
LocalCDN-Firefox-Chrome-Brave/pages/test/style.css
2020-03-18 11:13:08 +01:00

227 lines
3.5 KiB
CSS

/**
* Sections
*/
html {
background-color: #f8fcee;
box-sizing: border-box;
height: 100%;
}
body {
background-color: #eff4e2;
box-sizing: border-box;
color: #777;
font-size: 14px;
margin: 0 auto;
max-width: 982px;
min-height: 100%;
min-width: 256px;
padding: 33px 18px;
}
h1,h2 {
font-family: 'Noto Sans', Arial, sans-serif;
font-size: 24px;
font-weight: 400;
margin: 20px auto;
max-width: 750px;
}
h2 {
font-size: 20px;
}
a {
color: #777;
}
.btn-panel {
cursor: default;
font-family: 'Noto Sans', Arial, sans-serif;
margin: 35px auto;
max-width: 750px;
display: flex;
}
/**
* Fonts
*/
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: url('./noto-sans/noto-sans.woff2')
format('woff2');
}
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 600;
src: url('./noto-sans/noto-sans-bold.woff2')
format('woff2');
}
@font-face {
font-family: 'Noto Sans';
font-style: italic;
font-weight: 400;
src: url('./noto-sans/noto-sans-italic.woff2')
format('woff2');
}
/**
* Buttons
*/
.btn {
color: #fff;
font-weight: 600;
margin-right: 15px;
padding: 11px 17px;
text-decoration: none;
text-align: center;
}
.btn-gitlab {
background-color: #24292e;
}
.btn-gitlab:hover {
background-color: #42474c;
}
.btn-website {
background-color: #007bbd;
}
.btn-website:hover {
background-color: #00679e;
}
.btn-donate {
background-color: #f7931a;
}
.btn-donate:hover {
background-color: #f58700;
}
.btn-author {
background-color: #00bd7f;
}
.btn-author:hover {
background-color: #009e69;
}
/**
* Miscellaneous
*/
.notice {
align-items: center;
font-family: 'Noto Sans', Arial, sans-serif;
margin-left: auto;
margin-right: auto;
max-width: 750px;
text-align: left;
}
.logo {
display: block;
height: 145px;
margin: 15px auto 50px;
}
.subtle-hint {
background-color: #fcfcfc;
border-radius: 4px;
border: 1px solid #e6e6e6;
color: #777;
font-size: 14px;
margin-bottom: 20px;
padding: 8px 11px;
}
.message {
background-color: #fff;
border-bottom: 1px solid #f5f5f5;
color: #575757;
overflow: hidden;
padding: 15px 15px 12px;
font-weight: bold;
}
.message-information {
background-color: #fff;
border: 1px solid #e3e3e3;
-webkit-box-shadow: none;
box-shadow: none;
color: #fff;
margin-top: 25px;
padding: 0;
}
.message-header {
background-color: #f3f3f3;
border-right: 1px solid #e9e9e9;
font-size: 20px;
margin-right: 8px;
padding: 16px 14.4px;
padding: 1rem .9rem;
vertical-align: middle;
}
.message-body, .message-header {
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: table-cell;
}
.message-body {
background-color: #fff;
color: #5f5f5f;
font-weight: 400;
padding: 16px;
padding: 1rem;
}
.message-warning {
color: #c57400;
}
.message-success {
color: #339a6f;
}
.message-success a {
color: #268f5c;
}
.message-error {
color: #9a3333;
}
/**
* Media Queries
*/
@media screen and (max-width: 982px) {
body {
box-shadow: none;
}
}
@media screen and (max-width: 733px) {
.btn-panel {
flex-wrap: wrap;
}
.btn {
padding: 13px 18px 12px;
width: 100%;
margin-bottom: 10px;
}
.btn-text {
width: 100%;
}
}