qmining-page/src/defaultStyles.css

327 lines
4.8 KiB
CSS

:root {
--text-color: #f2cb05;
--primary-color: #9999ff;
--bright-color: #f2f2f2;
--background-color: #222426;
--hoover-color: #393939;
}
@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;
}
a {
color: white;
}
a:hover {
color: #c1c1c1;
}
textarea {
color: var(--text-color);
background-color: var(--background-color);
box-sizing: border-box;
height: 120px;
width: 100%;
border: 1px solid #666;
border-radius: 3px;
}
input {
color: var(--text-color);
background-color: var(--background-color);
border: 1px solid #444;
border-radius: 3px;
}
.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 16px;
}
.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;
}
}
.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;
}
.manualUsage {
display: flex;
}
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;
}
.actions {
display: flex;
align-items: center;
}
.actions > span {
margin: 2px 2px;
padding: 0px 10px;
border: 1px solid #444;
border-radius: 6px;
cursor: pointer;
user-select: none;
}
.actions > span:hover {
background-color: var(--hoover-color);
}