qmining-page/src/defaultStyles.css
2021-03-06 00:18:50 +01:00

341 lines
4.9 KiB
CSS

:root {
--text-color: #F2CB05;
--bright-color: #f2f2f2;
--background-color: #222426;
--hoover-color: #191919;
}
@import url('https://fonts.googleapis.com/css2?family=Kameron&family=Overpass+Mono:wght@300;400&display=swap');
body {
font-family: 'Kameron', serif;
font-family: 'Overpass Mono', monospace;
color: #999999;
}
li {
padding: 2px 0px;
}
a {
color: white;
}
a:hover {
color: #C1C1C1;
}
.link {
margin: 20px;
font-size: 20px;
}
.sidebarLink {
color: var(--text-color);
text-decoration: none;
}
.sidebar {
display: flex;
flex-direction: column;
margin: 0;
padding: 0;
width: 200px;
background-color: #222426;
position: fixed;
height: 100%;
overflow: auto;
}
.content {
margin-left: 200px;
padding: 1px 15px;
}
.sidebarLinks a {
display: block;
text-align: center;
color: black;
font-size: 108%;
padding: 14px;
margin-top: 4px;
margin-bottom: 4px;
text-decoration: none;
color: var(--bright-color);
transition: width 0.5s, height 0.5s, ease-in 0.5s;
}
.sidebarLinks a:hover {
transition: width 0.5s, height 0.5s, ease-out 0.5s;
}
.sidebarLinks a.active{
border: 0.5px solid var(--text-color);
color: white;
text-shadow: 2px 2px 8px black;
font-weight: bold;
}
.sidebarLinks a:hover:not(.active) {
background-color: var(--text-color);
color: black;
font-weight: bold;
text-shadow: 2px 2px 8px black;
transition: width 0.5s, height 0.5s, ease-out 0.5s;
}
.menuicon div {
height: 5px;
background-color: var(--bright-color);
margin: 0px 0;
display: none;
width: 30px;
}
.sidebarheader {
font-size: 40px;
color: var(--bright-color);
display: flex;
text-align: center;
}
.headercontainer {
display: flex;
flex-direction: row;
align-items: center;
flex-wrap: nowrap;
position: relative;
overflow: hidden;
padding-top: 15px;
padding-bottom: 17px;
padding-right: 2px;
padding-left: 2px;
}
@media screen and (max-width: 700px) {
.sidebar {
width: 100%;
height: auto;
position: relative;
}
.sidebar a {
float: left;
}
div.content {
margin-left: 0;
}
}
@media screen and (max-width: 700px) {
.menuicon div {
display: block;
margin: 6px 0;
}
.sidebar a {
text-align: center;
float: none;
}
.menuicon {
display: inline;
}
.sidebaritemsconainer {
display: inline;
}
.sidebarheader {
position: absolute;
left: 50%;
top: 50%;
padding-top: 20px;
transform: translateX(-50%) translateY(-50%);
}
.codecontainer {
margin-left: 0px;
margin-right: 0px;
}
.sitedescription {
width: 100%;
margin: 0 auto;
}
.rtfmImage {
display: flex;
justify-content: center;
width: 100%;
}
.manualUsage {
display: flex;
flex-direction: column;
}
}
.endofpage {
padding-bottom: 20px;
}
.questionContainer {
margin: 10px;
}
.questionContainer:hover {
background-color: var(--hoover-color);
}
.question {
word-wrap: break-word;
font-weight: bold;
font-size: 17px;
color: #ffffff;
}
.answer {
word-wrap: break-word;
font-size: 15px;
}
.data {
word-wrap: break-word;
font-size: 13px;
color: #a1a1a1;
}
.loadingindicator {
text-align: center;
vertical-align: middle;
color: #fff;
font-size: 30px;
}
.link {
margin: 10px;
}
.subjectSelector {
overflow: scroll;
height: 350px;
margin: 10px;
}
.subjItem {
font-size: 18px;
padding: 3px;
cursor: pointer;
float: 1;
display: flex;
justify-content: space-between;
}
.activeSubjItem {
background-color: var(--text-color);
color: black;
}
.subjItem:hover:not(.activeSubjItem) {
background-color: #555;
color: white;
}
.rtfmImage {
justify-content: center;
margin: 0px 10px;
}
.warning {
color: red;
font-weight: 100;
font-size: 17.5px;
}
#manualWarn {
font-size: 14px;
}
.manual_img {
padding: 20px 2px;
}
.subtitle {
color: var(--text-color);
font-size: 23px;
text-align: center;
font-weight: 100;
margin: 0px;
padding-top: 8px;
}
.pageHeader {
background-color: var(--text-color);
height: 45px;
max-width: 100%;
color: black;
margin: 5px 0px 0px 0px;
}
.pageHeader h1 {
padding-top: 6px;
letter-spacing: 7px;
margin: 0px;
}
.manualUsage {
margin-top: 5px;
display: flex;
}
.manualBody {
text-align: justify;
}
select {
cursor: pointer;
width: 100%;
max-width: 100%;
height: 30px;
}
select:hover {
border: 1px solid #99f;
}
.userStatus {
display: flex;
margin-top: auto;
margin-bottom: 20px;
background-color: #373737;
align-items: center;
justify-content: space-between;
}
.msgs {
display: flex;
align-items: center;
}
.logout {
padding: 6px;
margin-right: 7px;
cursor: pointer;
font-size: 15.5px;
}
.logout:hover {
color: #fff;
}
.msgs :first-child {
font-size: 27px;
margin-left: 4px;
}
.msgs > div {
padding: 2px 6px;
font-size: 13.5px;
}