mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
major tidy
This commit is contained in:
parent
67b1fa2d37
commit
c19f24de87
24 changed files with 339 additions and 17 deletions
223
src/defaultStyles.css
Normal file
223
src/defaultStyles.css
Normal file
|
@ -0,0 +1,223 @@
|
|||
:root {
|
||||
--text-color: #9999ff;
|
||||
--bright-color: #f2f2f2;
|
||||
--background-color: #212127;
|
||||
--hoover-color: #202020;
|
||||
}
|
||||
|
||||
body {
|
||||
font: normal 14px Verdana;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.link {
|
||||
margin: 20px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.sidebarLink {
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 200px;
|
||||
background-color: #212127;
|
||||
position: fixed;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.sidebar a {
|
||||
display: block;
|
||||
color: black;
|
||||
padding: 16px;
|
||||
text-decoration: none;
|
||||
color: var(--bright-color);
|
||||
}
|
||||
|
||||
.sidebar a.active {
|
||||
background-color: var(--text-color);
|
||||
color: black;
|
||||
}
|
||||
|
||||
.sidebar a:hover:not(.active) {
|
||||
background-color: #555;
|
||||
color: white;
|
||||
}
|
||||
|
||||
div.content {
|
||||
margin-left: 200px;
|
||||
padding: 1px 16px;
|
||||
}
|
||||
|
||||
.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;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
@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%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
|
||||
.codecontainer {
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.sitedescription {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.questionContainer {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.questionContainer:hover {
|
||||
background-color: var(--hoover-color);
|
||||
}
|
||||
|
||||
.question {
|
||||
font-weight: bold;
|
||||
font-size: 17px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.answer {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.data {
|
||||
font-size: 13px;
|
||||
color: #a1a1a1;
|
||||
}
|
||||
|
||||
.loadingindicator {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
color: #fff;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.uquestioncontainer {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.uquestioncontainer:hover {
|
||||
background-color: var(--hoover-color);
|
||||
}
|
||||
|
||||
.uquestionscontainer {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.uquestion {
|
||||
font-weight: 'bold';
|
||||
font-size: 16px;
|
||||
color: #fff;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.uanswer {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.uquestionnumber {
|
||||
color: #fff;
|
||||
margin: 5px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.link {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.subjectSelector {
|
||||
overflow: scroll;
|
||||
height: 200px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.subjItem {
|
||||
font-size: 18px;
|
||||
padding: 3px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.activeSubjItem {
|
||||
background-color: var(--text-color);
|
||||
color: black;
|
||||
}
|
||||
|
||||
.searchBar {
|
||||
margin: 10px;
|
||||
width: 100%;
|
||||
color: white;
|
||||
background-color: #212127;
|
||||
border: none;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.subjItem:hover:not(.activeSubjItem) {
|
||||
background-color: #555;
|
||||
color: white;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue