styling, navigation bar, theming, article lists, page routing.
This commit is contained in:
+139
-8
@@ -1,24 +1,123 @@
|
||||
@font-face {
|
||||
font-family: 'Hack Nerd Font Mono';
|
||||
src: url('/home/violet/documents/development/vintagecoding.net/resources/HackNerdFontMono-Regular.ttf') format('ttf');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: black;
|
||||
body {}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
p,
|
||||
small,
|
||||
a {
|
||||
font-family: 'HackNerdFontMono', Hack, sans-serif;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 5vw;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 4vw;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 3vw;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 2vw;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1vw;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: .75vw;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: .5vw;
|
||||
}
|
||||
|
||||
a.fill_div {
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
nav {
|
||||
padding: 0;
|
||||
margin: 0px 30px 15px 30px;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
nav ul li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
nav ul li a {
|
||||
font-size: 2vw;
|
||||
font-weight: 800;
|
||||
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
nav form {
|
||||
padding: 15px;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: 1px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.line {
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
background-color: white;
|
||||
border-top: 1px solid white;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.row_no_margin {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
margin: 15px 0px 15px 0px;
|
||||
}
|
||||
@@ -29,11 +128,10 @@ body {
|
||||
|
||||
.article_card {
|
||||
margin: 0 auto;
|
||||
margin-top: 15%;
|
||||
margin-top: 50px;
|
||||
padding: 18px;
|
||||
height: max-content;
|
||||
width: 60%;
|
||||
border: 5px solid white;
|
||||
border-radius: 18px;
|
||||
|
||||
display: flex;
|
||||
@@ -65,7 +163,6 @@ body {
|
||||
padding: 15px;
|
||||
text-decoration: none;
|
||||
border: 2px solid #00FF41;
|
||||
color: white;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
@@ -74,7 +171,6 @@ body {
|
||||
padding: 10px;
|
||||
border-radius: 18px;
|
||||
border: 2px solid #008F11;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -87,7 +183,42 @@ body {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.card_profile_picture {
|
||||
height: 64px;
|
||||
width: auto;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.underline {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#theme-toggle {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: none;
|
||||
background: none;
|
||||
font-size: 1.5vw;
|
||||
}
|
||||
|
||||
.article {
|
||||
width: 50%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.article ul li {
|
||||
margin-left: 50px;
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
h1 {
|
||||
font-size: 4vw;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 2vw;
|
||||
}
|
||||
|
||||
.card {
|
||||
margin: 75% auto;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
body {
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
p,
|
||||
small,
|
||||
a {
|
||||
color: white;
|
||||
}
|
||||
|
||||
nav {
|
||||
border-bottom: 3px solid white;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #2F2F2F;
|
||||
}
|
||||
|
||||
.line {
|
||||
background-color: white;
|
||||
border-top: 1px solid white;
|
||||
}
|
||||
|
||||
.article_card {
|
||||
border: 5px solid white;
|
||||
}
|
||||
|
||||
.button {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.tag {
|
||||
color: white;
|
||||
}
|
||||
|
||||
#theme-toggle {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.article ul li {
|
||||
color: white;
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
.card_profile_picture {
|
||||
height: 64px;
|
||||
width: auto;
|
||||
border-radius: 50%;
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
body {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: black;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: black;
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: black;
|
||||
}
|
||||
|
||||
h4 {
|
||||
color: black;
|
||||
}
|
||||
|
||||
h5 {
|
||||
color: black;
|
||||
}
|
||||
|
||||
p {
|
||||
color: black;
|
||||
}
|
||||
|
||||
small {
|
||||
color: black;
|
||||
}
|
||||
|
||||
nav {
|
||||
border-bottom: 3px solid black;
|
||||
}
|
||||
|
||||
nav ul li a {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.line {
|
||||
background-color: black;
|
||||
border-top: 1px solid black;
|
||||
}
|
||||
|
||||
.article_card {
|
||||
border: 5px solid black;
|
||||
}
|
||||
|
||||
.button {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.tag {
|
||||
color: black;
|
||||
}
|
||||
|
||||
#theme-toggle {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.article ul li {
|
||||
color: black;
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
h1 {
|
||||
font-size: 6vw;
|
||||
color: white;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 5vw;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 4vw;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 3vw;
|
||||
color: white;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 2vw;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1vw;
|
||||
color: white;
|
||||
}
|
||||
|
||||
small {
|
||||
color: white;
|
||||
}
|
||||
|
||||
a.fill_div {
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
h1 {
|
||||
font-size: 4vw;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 2vw;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user