Lots of css changes, html description, whathaveyou
This commit is contained in:
parent
2a815643c0
commit
34e7f5aa95
24 changed files with 558 additions and 60 deletions
|
@ -8,7 +8,7 @@
|
|||
}
|
||||
|
||||
#sidebar {
|
||||
width: 8em;
|
||||
width: 7.5em;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
@ -32,7 +32,8 @@
|
|||
|
||||
.sb_link {
|
||||
margin: 0.5em;
|
||||
padding: 0.5em;
|
||||
padding: 0.3em;
|
||||
margin-left: 15px;
|
||||
color:#ffffff;
|
||||
font-size:16px;
|
||||
text-decoration: none;
|
||||
|
@ -51,7 +52,7 @@
|
|||
margin-right: auto;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
max-width: calc(100% - 1.2em);
|
||||
max-width: calc(100% - 2em);
|
||||
}
|
||||
|
||||
.sb_img img {
|
||||
|
@ -81,6 +82,65 @@
|
|||
color: var(--text-inv-color);
|
||||
}
|
||||
|
||||
.sidebaricontoggle {
|
||||
color: var(--elm-inv-bg-color);
|
||||
position: fixed;
|
||||
outline: 3px solid;
|
||||
z-index: 99;
|
||||
top: 95%;
|
||||
right: 25px;
|
||||
height: 0px;
|
||||
width: 0px;
|
||||
|
||||
visibility: hidden;
|
||||
cursor: crosshair;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.sidebaricontoggle:hover {
|
||||
color: var(--link-color);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked ~ #sidebar {
|
||||
transform: translatex(0);
|
||||
}
|
||||
|
||||
input[type=checkbox] {
|
||||
box-sizing: border-box;
|
||||
display: none;
|
||||
}
|
||||
|
||||
input[type=checkbox]:checked ~ .sidebaricontoggle {
|
||||
box-sizing: border-box;
|
||||
color: var(--link-color);
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
#sidebar {
|
||||
width: 100%;
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
|
||||
.sb_segment {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sb_img {
|
||||
max-width: calc(60% - 2em);
|
||||
}
|
||||
|
||||
.sb_img img {
|
||||
max-width: calc(60% - 2em);
|
||||
}
|
||||
|
||||
.sidebaricontoggle {
|
||||
visibility: visible;
|
||||
height: 35px;
|
||||
width: 35px;
|
||||
}
|
||||
}
|
||||
|
||||
.personal { color:#fc3f5b; }
|
||||
.nixfox { color:#2abafc; }
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// Setup stuff
|
||||
@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Mono');
|
||||
|
||||
* {
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
transition: 0.3s;
|
||||
|
@ -65,37 +67,44 @@ a:hover {
|
|||
position: relative;
|
||||
width: 60%;
|
||||
max-width: 45em;
|
||||
min-width: 45em;
|
||||
margin: auto;
|
||||
|
||||
top: 2em;
|
||||
left: 6.5em;
|
||||
left: 6em;
|
||||
|
||||
padding: 3em;
|
||||
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
span {
|
||||
display:inline-block;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.blocktitle {
|
||||
font-weight: bold;
|
||||
background-color: var(--elm-inv-bg-color);
|
||||
color: var(--text-inv-color);
|
||||
}
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
@media (max-width: 1100px) {
|
||||
body {
|
||||
margin: 0;
|
||||
padding-bottom: 1.2em;
|
||||
padding: 0;
|
||||
margin-left: 13em;
|
||||
}
|
||||
|
||||
#main {
|
||||
width: 70%;
|
||||
padding: 0;
|
||||
top: 0;
|
||||
font-size: 15px;
|
||||
}
|
||||
position: static;
|
||||
|
||||
.container {
|
||||
max-width: 35em;
|
||||
width: 100%;
|
||||
max-width: 40em;
|
||||
min-width: 0;
|
||||
|
||||
font-size: 15px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
[data-theme="light"] {
|
||||
|
@ -107,6 +116,13 @@ a:hover {
|
|||
}
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
body {
|
||||
padding: 2em;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
list-style-type: square;
|
||||
padding-bottom: 0.5em;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue