frontend done
This commit is contained in:
8
frontend/assets/styling/blog.css
Normal file
8
frontend/assets/styling/blog.css
Normal file
@@ -0,0 +1,8 @@
|
||||
#blog {
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
#blog a {
|
||||
color: #ffffff;
|
||||
margin-top: 50px;
|
||||
}
|
||||
34
frontend/assets/styling/echo.css
Normal file
34
frontend/assets/styling/echo.css
Normal file
@@ -0,0 +1,34 @@
|
||||
#echo {
|
||||
width: 360px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 50px;
|
||||
background-color: #1e222d;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#echo>h4 {
|
||||
margin: 0px 0px 15px 0px;
|
||||
}
|
||||
|
||||
|
||||
#echo>input {
|
||||
border: none;
|
||||
border-bottom: 1px white solid;
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
transition: border-bottom-color 0.2s ease;
|
||||
outline: none;
|
||||
display: block;
|
||||
padding: 0px 0px 5px 0px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#echo>input:focus {
|
||||
border-bottom-color: #6d85c6;
|
||||
}
|
||||
|
||||
#echo>p {
|
||||
margin: 20px 0px 0px auto;
|
||||
}
|
||||
150
frontend/assets/styling/main.css
Normal file
150
frontend/assets/styling/main.css
Normal file
@@ -0,0 +1,150 @@
|
||||
body {
|
||||
background-color: #0f1116;
|
||||
color: #ffffff;
|
||||
font-family: 'Times New Roman', serif;
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
#hero {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#links {
|
||||
width: 400px;
|
||||
text-align: left;
|
||||
font-size: x-large;
|
||||
color: white;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#links a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
margin-top: 20px;
|
||||
margin: 10px 0px;
|
||||
border: white 1px solid;
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
font-family: 'Times New Roman', serif;
|
||||
}
|
||||
|
||||
#links a:hover {
|
||||
background-color: #1f1f1f;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#header {
|
||||
max-width: 1200px;
|
||||
font-family: 'Arial Narrow', sans-serif;
|
||||
}
|
||||
.news-story {
|
||||
max-width: 65ch;
|
||||
margin: 2rem auto;
|
||||
padding: 0 1.5rem;
|
||||
font-family: "Escrow Text", Georgia, serif;
|
||||
line-height: 1.7;
|
||||
color: #f8fafc;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
.news-story p {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
.news-story img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
|
||||
.news-story h1,
|
||||
.news-story h2,
|
||||
.news-story h3,
|
||||
.news-story h4 {
|
||||
font-family: "Brunel Text", Georgia, serif;
|
||||
color: #f1f5f9;
|
||||
line-height: 1.3;
|
||||
margin-top: 2.5rem;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.news-story h1 {
|
||||
font-size: 2.25rem;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.news-story h2 {
|
||||
font-size: 1.875rem;
|
||||
}
|
||||
|
||||
.news-story h3 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.news-story h4 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.news-story a {
|
||||
color: #60a5fa;
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 1px;
|
||||
text-underline-offset: 2px;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.news-story a:hover {
|
||||
color: #93c5fd;
|
||||
}
|
||||
|
||||
.news-story blockquote {
|
||||
border-left: 3px solid #475569;
|
||||
margin: 1.5rem 0;
|
||||
padding: 0.5rem 0 0.5rem 1.5rem;
|
||||
font-style: italic;
|
||||
color: #cbd5e1;
|
||||
}
|
||||
|
||||
.news-story ul,
|
||||
.news-story ol {
|
||||
margin: 1.5rem 0;
|
||||
padding-left: 1.5rem;
|
||||
}
|
||||
|
||||
.news-story li {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.news-story hr {
|
||||
border: 0;
|
||||
border-top: 1px solid #334155;
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.news-story {
|
||||
font-size: 1rem;
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
.news-story h1 {
|
||||
font-size: 1.875rem;
|
||||
}
|
||||
|
||||
.news-story h2 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.news-story h3 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.news-story h4 {
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
}
|
||||
16
frontend/assets/styling/navbar.css
Normal file
16
frontend/assets/styling/navbar.css
Normal file
@@ -0,0 +1,16 @@
|
||||
#navbar {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
#navbar a {
|
||||
color: #ffffff;
|
||||
margin-right: 20px;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
#navbar a:hover {
|
||||
cursor: pointer;
|
||||
color: #91a4d2;
|
||||
}
|
||||
Reference in New Issue
Block a user