Mangades/static/global.css
2023-10-07 14:21:18 +02:00

110 lines
1.6 KiB
CSS

html, body {
position: relative;
width: 100%;
height: 100%;
}
body {
color: #333;
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
h1 {
text-align: center;
}
main
{
margin: auto;
padding: 0 20px;
}
a {
color: rgb(0,100,200);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:visited {
color: rgb(0,80,160);
}
label {
display: block;
}
input, button, select, textarea, .button {
font-family: inherit;
font-size: inherit;
padding: 0.4em;
margin: 0 0 0.5em 0;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 5px;
}
input:disabled {
color: #ccc;
}
input[type="range"] {
height: 0;
}
button, .button {
color: #333;
background-color: #f4f4f4;
outline: none;
}
button:disabled, .button:disabled {
color: #999;
}
button:not(:disabled):active, .button:not(:disabled):active {
background-color: #ddd;
}
button:focus, .button:focus, button:hover, .button:hover {
border-color: #666;
text-decoration: none;
}
* {
box-sizing: border-box;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
padding: 5px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.3);
border-radius: 5px;
margin: 2px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255,255,255,0.4);
}
::-webkit-scrollbar-thumb:active {
background: rgba(255,255,255,0.5);
}
::-webkit-scrollbar-corner {
background: transparent;
}