implemented article composer functionality + interface, login & signup functionality + interface, auth permission functionality reflected in the nav, and determined a unified accent color accessible in dark and light mode
This commit is contained in:
+175
-8
@@ -10,7 +10,9 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body {}
|
||||
body {
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
@@ -19,6 +21,9 @@ h4,
|
||||
h5,
|
||||
p,
|
||||
small,
|
||||
label,
|
||||
input,
|
||||
textarea,
|
||||
a {
|
||||
font-family: 'HackNerdFontMono', Hack, sans-serif;
|
||||
padding: 0;
|
||||
@@ -42,15 +47,22 @@ h4 {
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1.5vw;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
label {
|
||||
font-size: 1vw;
|
||||
}
|
||||
|
||||
p {
|
||||
small {
|
||||
font-size: .75vw;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: .5vw;
|
||||
a {
|
||||
color: orange;
|
||||
transition-duration: 1s;
|
||||
}
|
||||
|
||||
a.fill_div {
|
||||
@@ -84,6 +96,12 @@ nav ul li a {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
padding: 15px;
|
||||
|
||||
transition-duration: 500ms;
|
||||
}
|
||||
|
||||
nav ul li a:hover {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
nav form {
|
||||
@@ -95,6 +113,17 @@ nav form {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.nav_right_hand {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.nav_right_hand * {
|
||||
margin: 0px 15px 0px 15px;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: 1px;
|
||||
border-radius: 4px;
|
||||
@@ -126,7 +155,8 @@ code {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.article_card {
|
||||
.article_card,
|
||||
.form_card {
|
||||
margin: 0 auto;
|
||||
margin-top: 50px;
|
||||
padding: 18px;
|
||||
@@ -140,6 +170,14 @@ code {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.form_card {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.form_card form {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.card_info_box {
|
||||
display: flex;
|
||||
}
|
||||
@@ -160,17 +198,20 @@ code {
|
||||
}
|
||||
|
||||
.button {
|
||||
font-size: 1vw;
|
||||
background-color: transparent;
|
||||
padding: 15px;
|
||||
text-decoration: none;
|
||||
border: 2px solid #00FF41;
|
||||
border-radius: 9px;
|
||||
border-radius: 12px;
|
||||
transition-duration: 1s;
|
||||
border: 3px solid orange;
|
||||
}
|
||||
|
||||
.tag {
|
||||
margin: 15px;
|
||||
padding: 10px;
|
||||
border-radius: 18px;
|
||||
border: 2px solid #008F11;
|
||||
border: 2px solid orange;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -191,6 +232,8 @@ code {
|
||||
|
||||
.underline {
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 3px;
|
||||
text-decoration-color: orange;
|
||||
}
|
||||
|
||||
#theme-toggle {
|
||||
@@ -201,6 +244,14 @@ code {
|
||||
font-size: 1.5vw;
|
||||
}
|
||||
|
||||
#theme-toggle * {
|
||||
transition-duration: 500ms;
|
||||
}
|
||||
|
||||
#theme-toggle *:hover {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
.article {
|
||||
width: 50%;
|
||||
margin: 0 auto;
|
||||
@@ -210,6 +261,122 @@ code {
|
||||
margin-left: 50px;
|
||||
}
|
||||
|
||||
#compose {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: left;
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
border-radius: 12px;
|
||||
width: 100%;
|
||||
padding: 15px;
|
||||
margin: 15px 15px 15px 0px;
|
||||
box-sizing: border-box;
|
||||
transition-duration: 500ms;
|
||||
}
|
||||
|
||||
input:focus,
|
||||
textarea:focus,
|
||||
input:hover,
|
||||
textarea:hover {
|
||||
border: 3px solid orange;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
textarea {
|
||||
border-radius: 18px;
|
||||
height: 500px;
|
||||
}
|
||||
|
||||
.form_tags {}
|
||||
|
||||
.form_checkbox_container {
|
||||
display: block;
|
||||
position: relative;
|
||||
padding-left: 35px;
|
||||
margin: 15px 15px 15px 0px;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
height: 29px;
|
||||
width: max-content;
|
||||
}
|
||||
|
||||
.checkmark {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 25px;
|
||||
width: 25px;
|
||||
|
||||
}
|
||||
|
||||
.form_checkbox_container input {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
cursor: pointer;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
/* Create the checkmark/indicator (hidden when not checked) */
|
||||
.checkmark:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Show the checkmark when checked */
|
||||
.form_checkbox_container input:checked~.checkmark:after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* When the checkbox is checked, add a blue background */
|
||||
.form_checkbox_container input:checked~.checkmark {
|
||||
background-color: orange;
|
||||
}
|
||||
|
||||
/* Style the checkmark/indicator */
|
||||
.form_checkbox_container .checkmark:after {
|
||||
left: 9px;
|
||||
top: 5px;
|
||||
width: 5px;
|
||||
height: 10px;
|
||||
border: solid white;
|
||||
border-width: 0 3px 3px 0;
|
||||
-webkit-transform: rotate(45deg);
|
||||
-ms-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
input[type="file"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.upload_button {
|
||||
border-radius: 12px;
|
||||
display: inline-block;
|
||||
padding: 6px 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.error {
|
||||
color: red;
|
||||
border: 3px solid red;
|
||||
border-radius: 12px;
|
||||
padding: 15px;
|
||||
margin: 15px 15px 15px 0px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
h1 {
|
||||
font-size: 4vw;
|
||||
|
||||
Reference in New Issue
Block a user