deemix-web-frontend/app/public/global.css

124 lines
1.8 KiB
CSS

html, body {
position: relative;
width: 100%;
height: 100%;
}
body {
color: #333;
margin: 0;
padding: 8px;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
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 {
font-family: inherit;
font-size: inherit;
-webkit-padding: 0.4em 0;
padding: 0.4em;
margin: 0 0 0.5em 0;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 2px;
}
input:disabled {
color: #ccc;
}
button {
color: #333;
background-color: #f4f4f4;
outline: none;
}
button:disabled {
color: #999;
}
button:not(:disabled):active {
background-color: #ddd;
}
button:focus {
border-color: #666;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
* {
transition: 0.1s background-color ease-out;
}
.link {
cursor: pointer;
transition: 0.1s color ease-out, 0.1s filter ease-out;
}
.small {
font-size: medium;
}
.big {
font-weight: bold;
}
#albums {
margin-top: 20px;
width: 600px;
max-width: 98%;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #0a0a0f;
color: #fff;
accent-color: rgb(131, 131, 243);
}
.small {
color: #c8c8d2;
}
.link {
color:#ea74ac;
}
.link:hover {
color: #f484b6;
filter: drop-shadow( 0px 0px 2px #f484b6);
}
}
@media (prefers-color-scheme: light) {
body {
background-color: #f0f0f0;
color: #1e1e2d;
accent-color: #ea74ac;
}
.small {
color: #888;
}
.link {
color:rgb(131, 131, 243);
}
.link:hover {
color: rgb(151, 151, 255);
filter: drop-shadow( 0px 0px 2px #8383F3);
}
}