homepage/res/style.css

89 lines
1.7 KiB
CSS
Raw Normal View History

:root {
--body-bg-color: #2E2E2E;
--accent-bg-color: #d1d1d1;
--button-accent-color: #3d3d3d;
--selected-bg-color: #2E2E2E;
--hover-bg-color: #555555;
--main-font-weight: 400;
}
2020-10-04 21:33:26 +03:00
body {
background: var(--body-bg-color);
2020-10-04 21:33:26 +03:00
font-family: 'Roboto', sans-serif;
font-weight: var(--main-font-weight);
2020-10-04 21:33:26 +03:00
}
.card {
margin: 25px auto;
padding: 20px;
width: 400px;
background: var(--accent-bg-color);
border-radius: 3px;
-webkit-box-shadow: 2px -2px 38px 1px rgba(0,0,0,0.59);
-moz-box-shadow: 2px -2px 38px 1px rgba(0,0,0,0.59);
box-shadow: 2px -2px 38px 1px rgba(0,0,0,0.59);
2020-10-04 21:33:26 +03:00
}
.navigation-card {
width: 500px;
text-align: center;
}
.navigation-buttons a {
margin-left: 10px;
}
.navigation-buttons a:first-child {
margin-left: 0px;
}
.button-default {
text-decoration: none;
border: none;
background-color: var(--accent-bg-color);
2020-10-04 21:33:26 +03:00
border-radius: 5px;
padding: 5px;
2020-10-04 22:13:08 +03:00
font-size: 18px;
2020-10-04 21:33:26 +03:00
white-space: nowrap;
margin-top: 2px;
margin-bottom: 2px;
color: var(--button-accent-color);
2020-10-04 22:13:08 +03:00
cursor: pointer;
2020-10-04 23:56:12 +03:00
outline: none;
2020-10-04 22:13:08 +03:00
}
2020-10-04 23:56:12 +03:00
.button-default:hover:not(.button-selected) {
color: var(--accent-bg-color);
background-color: var(--hover-bg-color);
}
2020-10-04 23:56:12 +03:00
.button-selected {
color: var(--accent-bg-color);
background-color: var(--selected-bg-color);
2020-10-04 22:13:08 +03:00
}
2020-10-05 00:21:51 +03:00
.button-border {
border: 2px solid var(--button-accent-color);
2020-10-05 00:21:51 +03:00
}
2020-10-04 22:13:08 +03:00
@media screen and (max-width: 768px) {
.card {
width: 80%;
}
2020-10-05 00:21:51 +03:00
}
.input {
border: none;
outline: none;
border-radius: 2px;
padding: 3px;
2020-10-05 00:51:30 +03:00
margin: 8px;
}
#upload-file {
opacity: 0;
position: absolute;
z-index: -1;
}