added privacy policy
This commit is contained in:
parent
c8698d8c80
commit
26cd9f0bea
16 changed files with 285 additions and 112 deletions
|
@ -3,10 +3,16 @@
|
|||
@import '../partials/footer';
|
||||
|
||||
header {
|
||||
align-items: center;
|
||||
background: rgb(60, 60, 90);
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
height: 200px;
|
||||
margin: 40px 0;
|
||||
text-align: center;
|
||||
margin: 100px 0;
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
margin: 80px auto;
|
||||
max-width: 720px;
|
||||
.meta {
|
||||
color: rgb(180, 180, 220);
|
||||
color: rgb(215, 215, 235);
|
||||
}
|
||||
.title {
|
||||
font-size: 2em;
|
||||
|
@ -19,32 +19,37 @@
|
|||
max-width: 100%;
|
||||
}
|
||||
a {
|
||||
background: rgb(60, 60, 90);
|
||||
border-radius: 5px;
|
||||
color: rgb(240, 240, 250);
|
||||
margin: -5px 0;
|
||||
padding: 5px 5px;
|
||||
transition: background .2s, color .2s;
|
||||
border-bottom: 1px solid;
|
||||
color: rgb(245, 245, 255);
|
||||
margin: -5px;
|
||||
padding: 5px;
|
||||
transition: border .2s, color .2s;
|
||||
&:hover {
|
||||
background: rgb(255, 130, 130);
|
||||
color: rgb(255, 255, 255);
|
||||
color: rgb(255, 130, 130);
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
h2 {
|
||||
font-size: .6em;
|
||||
}
|
||||
aside {
|
||||
margin-top: 80px;
|
||||
.tags {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
margin-left: -10px;
|
||||
margin-left: -15px;
|
||||
padding: 0;
|
||||
li {
|
||||
a {
|
||||
color: rgb(180, 180, 220);
|
||||
margin-left: 10px;
|
||||
background: rgb(60, 60, 90);
|
||||
border: 0;
|
||||
border-radius: 5px;
|
||||
color: rgb(215, 215, 225);
|
||||
margin-left: 15px;
|
||||
padding: 10px;
|
||||
&:hover {
|
||||
background: rgb(70, 70, 105);
|
||||
background: rgb(50, 50, 75);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -57,34 +62,54 @@
|
|||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-gap: 1rem;
|
||||
margin: 20px auto -50px auto;
|
||||
margin: 20px auto 0 auto;
|
||||
max-width: 720px;
|
||||
white-space: nowrap;
|
||||
&::after {
|
||||
background: rgb(50, 50, 75);
|
||||
content: '';
|
||||
height: 210px;
|
||||
height: 200px;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
width: 100vw;
|
||||
z-index: -10;
|
||||
}
|
||||
article {
|
||||
border-radius: 5px;
|
||||
color: rgb(255, 255, 255);
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
height: max-content;
|
||||
margin: 20px 0;
|
||||
transition: background .2s;
|
||||
a {
|
||||
margin: 10px 0;
|
||||
border-bottom: 1px solid transparent;
|
||||
color: rgb(215, 215, 225);
|
||||
transition: border .2s, color .2s;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
border-bottom: 1px solid;
|
||||
color: rgb(255, 130, 130);
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.next-article {
|
||||
margin-right: auto;
|
||||
}
|
||||
.previous-article {
|
||||
text-align: right;
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 400px) {
|
||||
.section-articles {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
&::after {
|
||||
height: 250px;
|
||||
}
|
||||
.next-article {
|
||||
margin: 20px auto 0 auto;
|
||||
}
|
||||
.previous-article {
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2,17 +2,31 @@
|
|||
@import 'partials/nav';
|
||||
|
||||
header {
|
||||
margin: 100px 0;
|
||||
align-items: center;
|
||||
background: rgb(60, 60, 90);
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
height: 200px;
|
||||
margin: 40px 0;
|
||||
text-align: center;
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
.section-header {
|
||||
color: rgb(215, 215, 225);
|
||||
font-size: 1.5em;
|
||||
a {
|
||||
border-bottom: 2px solid;
|
||||
color: rgb(245, 245, 255);
|
||||
font-weight: bold;
|
||||
transition: border .2s, color .2s;
|
||||
&:hover {
|
||||
color: rgb(255, 130, 130);
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
footer {
|
||||
background: rgb(30, 30, 45);
|
||||
color: rgb(200, 200, 230);
|
||||
color: rgb(215, 215, 235);
|
||||
margin-top: 100px;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
|
@ -21,17 +21,21 @@ footer {
|
|||
margin-left: auto;
|
||||
ul {
|
||||
display: flex;
|
||||
padding: 0;
|
||||
}
|
||||
li {
|
||||
list-style-type: none;
|
||||
padding: 4px 0 4px 30px;
|
||||
}
|
||||
a {
|
||||
color: rgb(200, 200, 230);
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
border-bottom: 1px solid;
|
||||
padding: 0;
|
||||
li {
|
||||
margin-left: 30px;
|
||||
a {
|
||||
border-bottom: 1px solid transparent;
|
||||
color: rgb(215, 215, 235);
|
||||
padding: 5px 0;
|
||||
transition: border .2s, color .2s;
|
||||
&:hover {
|
||||
border-bottom: 1px solid;
|
||||
color: rgb(255, 130, 130);
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ html {
|
|||
}
|
||||
body {
|
||||
background: rgb(40, 40, 60);
|
||||
color: rgb(240, 240, 255);
|
||||
color: rgb(245, 245, 255);
|
||||
display: grid;
|
||||
font-family: monospace, 'Lucida Console', 'Monaco';
|
||||
line-height: 1.8;
|
||||
|
@ -22,6 +22,22 @@ a {
|
|||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
h3 {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
h4 {
|
||||
font-size: .9em;
|
||||
}
|
||||
hr {
|
||||
color: rgb(60, 60, 90);
|
||||
margin: 50px 20px;
|
||||
}
|
||||
|
||||
.container {
|
||||
margin: 0 auto;
|
||||
|
|
|
@ -17,9 +17,15 @@ nav {
|
|||
&:hover {
|
||||
background: rgb(50, 50, 75);
|
||||
}
|
||||
&.active {
|
||||
border-bottom: 2px solid rgb(215,215,225);
|
||||
border-top: 2px solid transparent;
|
||||
padding: 16px 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.seperator {
|
||||
cursor: default;
|
||||
display: block;
|
||||
padding: 20px;
|
||||
}
|
||||
|
@ -30,6 +36,11 @@ nav {
|
|||
padding: 0;
|
||||
li {
|
||||
list-style-type: none;
|
||||
&.active a {
|
||||
border-bottom: 2px solid rgb(215,215,225);
|
||||
border-top: 4px solid transparent;
|
||||
padding: 16px 30px;
|
||||
}
|
||||
a {
|
||||
color: rgb(245, 245, 245);
|
||||
display: block;
|
||||
|
@ -85,8 +96,8 @@ nav {
|
|||
ul {
|
||||
li {
|
||||
a {
|
||||
color: rgb(215, 215, 225);
|
||||
background: rgb(50, 50, 75);
|
||||
color: rgb(215, 215, 225);
|
||||
&:hover {
|
||||
background: rgb(40, 40, 60);
|
||||
}
|
||||
|
|
|
@ -2,17 +2,23 @@
|
|||
@import '../partials/nav';
|
||||
|
||||
header {
|
||||
margin: 100px 0;
|
||||
align-items: center;
|
||||
background: rgb(60, 60, 90);
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
height: 200px;
|
||||
margin: 40px 0;
|
||||
text-align: center;
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.section-articles {
|
||||
display: grid;
|
||||
grid-gap: 1rem;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
margin: 20px 0;
|
||||
a {
|
||||
color: rgb(255, 255, 255);
|
||||
|
@ -36,7 +42,7 @@ header {
|
|||
background: rgb(80, 80, 120);
|
||||
border-radius: 5px 5px 0px 0px;
|
||||
margin: -20px -20px 20px -20px;
|
||||
max-height: 170px;
|
||||
max-height: 250px;
|
||||
max-width: calc(100% + 40px);
|
||||
object-fit: cover;
|
||||
order: -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue