mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Multiple style fixes, added top bar to layout
This commit is contained in:
parent
53d955808a
commit
3a67f2a1aa
11 changed files with 314 additions and 351 deletions
|
@ -1,6 +1,7 @@
|
|||
:root {
|
||||
--text-color: #f2cb05;
|
||||
--primary-color: #f2cb05;
|
||||
--primary-color-fade: #3f3503;
|
||||
--bright-color: #f2f2f2;
|
||||
--background-color: #222426;
|
||||
--hoover-color: #393939;
|
||||
|
@ -9,13 +10,27 @@
|
|||
|
||||
@import url('https://fonts.googleapis.com/css2?family=Kameron&family=Overpass+Mono:wght@300;400&display=swap');
|
||||
|
||||
html {
|
||||
height: calc(100vh - 50px);
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
margin: 0px;
|
||||
height: 100%;
|
||||
font-family: 'Kameron', serif;
|
||||
font-family: 'Overpass Mono', monospace;
|
||||
color: #999999;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
#__next {
|
||||
height: 100%;
|
||||
width: 1200px;
|
||||
}
|
||||
|
||||
img {
|
||||
margin: 5px;
|
||||
max-width: 90%;
|
||||
|
@ -64,132 +79,10 @@ input:focus {
|
|||
}
|
||||
|
||||
.link {
|
||||
margin: 20px;
|
||||
margin: 10px;
|
||||
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;
|
||||
}
|
||||
|
||||
.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 {
|
||||
padding: 0px;
|
||||
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 {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
border: 2px solid white;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.manualUsage {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
.endofpage {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.questionContainer {
|
||||
margin: 6px;
|
||||
padding: 10px;
|
||||
|
@ -225,10 +118,6 @@ input:focus {
|
|||
font-size: 30px;
|
||||
}
|
||||
|
||||
.link {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.subjectSelector {
|
||||
overflow: auto;
|
||||
height: auto;
|
||||
|
@ -260,12 +149,6 @@ input:focus {
|
|||
color: white;
|
||||
}
|
||||
|
||||
.rtfmImage {
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
margin: 0px 10px;
|
||||
}
|
||||
|
||||
.warning {
|
||||
color: red;
|
||||
font-weight: 100;
|
||||
|
@ -299,55 +182,15 @@ input:focus {
|
|||
margin: 0px;
|
||||
}
|
||||
|
||||
.manualUsage {
|
||||
margin-top: 5px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.manualBody {
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
.userStatus {
|
||||
display: flex;
|
||||
margin-top: auto;
|
||||
margin-bottom: 20px;
|
||||
background-color: #373737;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.msgs {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.uid {
|
||||
font-size: 14px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.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;
|
||||
|
@ -372,7 +215,7 @@ input:focus {
|
|||
display: flex;
|
||||
align-items: stretch;
|
||||
justify-content: center;
|
||||
margin: 10px 0px;
|
||||
margin: 5px 0px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
|
@ -387,13 +230,13 @@ input:focus {
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
width: 200px;
|
||||
height: 30px;
|
||||
padding: 5px 15px;
|
||||
margin: 2px 5px;
|
||||
|
||||
font-size: 15px;
|
||||
padding: 5px 15px;
|
||||
margin: 8px 5px 2px 5px;
|
||||
|
||||
color: var(--text-color);
|
||||
border: none;
|
||||
background-color: var(--hoover-color);
|
||||
|
@ -494,3 +337,7 @@ select:hover {
|
|||
justify-content: center;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.seperator {
|
||||
flex: 1 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue