modified menus; added source code

This commit is contained in:
Vrifox 2020-09-20 20:58:11 +02:00
parent c04f6c8301
commit 6aa76dd52a
37 changed files with 947 additions and 1080 deletions

View file

@ -3,7 +3,6 @@
a {
color: #ff8282;
font-style: italic;
text-decoration: none; }
a:hover {
@ -23,99 +22,90 @@ body {
nav {
background: #3c3c5a; }
nav > .container {
display: flex;
align-items: center; }
.website-name a {
color: whitesmoke;
text-decoration: none;
background: #ff8282;
padding: 5px 10px;
border-radius: 20px;
text-shadow: #ff6464 2px 2px; }
.website-nav {
margin-left: auto; }
.website-nav ul {
display: flex;
padding: 0; }
.website-nav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
.website-nav a {
color: whitesmoke;
text-decoration: none; }
nav .container {
display: flex;
align-items: center; }
nav .container .website-name a {
color: whitesmoke;
text-decoration: none;
background: #ff8282;
padding: 5px 10px;
border-radius: 20px;
text-shadow: #ff6464 2px 2px; }
nav .container .website-nav {
margin-left: auto; }
nav .container .website-nav ul {
display: flex;
padding: 0; }
nav .container .website-nav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
nav .container .website-nav a {
color: whitesmoke;
text-decoration: none; }
footer {
background: #1e1e2d;
color: #c8c8e6;
margin-top: 100px; }
footer > .container {
display: flex;
align-items: center; }
footer .container {
display: flex;
align-items: center; }
.website-subnav {
margin-left: auto; }
.website-subnav ul {
display: flex;
padding: 0; }
.website-subnav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
.website-subnav a {
color: #c8c8e6; }
.website-subnav ul {
display: flex;
padding: 0; }
.website-subnav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
.website-subnav a {
color: #c8c8e6; }
header {
text-align: center;
margin: 100px 0; }
header h1 {
font-size: 2em; }
header h1 {
font-size: 2em; }
.section-articles {
margin: 20px 0;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 1rem; }
.section-articles article {
background: #3c3c5a;
color: white;
padding: 20px;
border-radius: 5px;
display: flex;
flex-flow: column;
height: max-content; }
.section-articles article img {
order: -1;
max-width: calc(100% + 40px);
border-radius: 5px;
margin: -20px -20px 20px -20px; }
.section-articles article h1 {
margin-top: 0px; }
.section-articles article a {
color: white; }
.section-articles article a:hover {
text-decoration: underline; }
.section-articles article > .meta {
margin: 0; }
.section-articles article .author {
font-style: italic;
color: #c8c8e6; }
.section-articles a {
color: white;
text-decoration: none; }
.section-articles article {
background: #3c3c5a;
color: white;
padding: 20px;
border-radius: 5px;
display: flex;
flex-flow: column;
height: max-content;
transition: background .2s; }
.section-articles article img {
order: -1;
max-width: calc(100% + 40px);
border-radius: 5px;
margin: -20px -20px 20px -20px;
background: #505078;
object-fit: cover;
max-height: 250px; }
.section-articles article h1 {
margin-top: 0px; }
.section-articles article a {
color: white; }
.section-articles article a:hover {
text-decoration: underline; }
.section-articles article .meta {
margin: 0; }
.section-articles article .author {
font-style: italic;
color: #c8c8e6; }
.section-articles article:hover {
background: #464669; }

View file

@ -3,7 +3,6 @@
a {
color: #ff8282;
font-style: italic;
text-decoration: none; }
a:hover {
@ -23,73 +22,67 @@ body {
nav {
background: #3c3c5a; }
nav > .container {
display: flex;
align-items: center; }
.website-name a {
color: whitesmoke;
text-decoration: none;
background: #ff8282;
padding: 5px 10px;
border-radius: 20px;
text-shadow: #ff6464 2px 2px; }
.website-nav {
margin-left: auto; }
.website-nav ul {
display: flex;
padding: 0; }
.website-nav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
.website-nav a {
color: whitesmoke;
text-decoration: none; }
footer {
background: #1e1e2d;
color: #c8c8e6;
margin-top: 100px; }
footer > .container {
display: flex;
align-items: center; }
.website-subnav {
margin-left: auto; }
.website-subnav ul {
display: flex;
padding: 0; }
.website-subnav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
.website-subnav a {
color: #c8c8e6; }
nav .container {
display: flex;
align-items: center; }
nav .container .website-name a {
color: whitesmoke;
text-decoration: none;
background: #ff8282;
padding: 5px 10px;
border-radius: 20px;
text-shadow: #ff6464 2px 2px; }
nav .container .website-nav {
margin-left: auto; }
nav .container .website-nav ul {
display: flex;
padding: 0; }
nav .container .website-nav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
nav .container .website-nav a {
color: whitesmoke;
text-decoration: none; }
.section-article article {
max-width: calc(100% / 3 * 2);
margin: 80px auto; }
.section-article article .meta {
color: #b4b4dc; }
.section-article article > .title {
font-size: 2em;
margin-top: 20px; }
.section-article article img {
max-width: 100%;
margin-bottom: 15px; }
.section-article article .meta {
color: #b4b4dc; }
.section-article article .title {
font-size: 2em;
margin-top: 20px; }
.section-article article img {
max-width: 100%;
margin-bottom: 15px;
border-radius: 5px; }
.section-article article a {
color: #ff8282;
transition: background .2s, color .2s;
margin: -5px -10px;
padding: 5px 10px;
border-radius: 5px; }
.section-article article a:hover {
background: #ff8282;
color: #fff0f0;
text-decoration: none; }
.section-article article aside {
margin-top: 80px; }
.section-article article aside .tags {
display: flex;
list-style: none;
margin-left: -10px;
padding: 0; }
.section-article article aside .tags li {
background: #3c3c5a;
padding: 5px 10px;
border-radius: 5px;
margin-left: 10px; }
.section-article article aside .tags li a {
color: #b4b4dc; }
.section-article article aside .tags li a:hover {
background: #464669; }
.section-articles {
margin: 20px auto;
@ -97,34 +90,56 @@ footer > .container {
grid-template-columns: repeat(2, 1fr);
grid-gap: 1rem;
max-width: calc(100% / 3 * 2); }
.section-articles a {
color: white;
text-decoration: none; }
.section-articles article {
background: #3c3c5a;
color: white;
padding: 20px;
border-radius: 5px;
display: flex;
flex-flow: column;
height: max-content;
transition: background .2s; }
.section-articles article img {
order: -1;
max-width: calc(100% + 40px);
border-radius: 5px;
margin: -20px -20px 20px -20px;
background: #505078;
object-fit: cover;
max-height: 170px; }
.section-articles article h1 {
margin-top: 0px; }
.section-articles article a {
color: white; }
.section-articles article a:hover {
text-decoration: underline; }
.section-articles article .meta {
margin: 0; }
.section-articles article .author {
font-style: italic;
color: #c8c8e6; }
.section-articles article:hover {
background: #464669; }
.section-articles article {
background: #3c3c5a;
color: white;
padding: 20px;
border-radius: 5px;
display: flex;
flex-flow: column;
height: max-content; }
footer {
background: #1e1e2d;
color: #c8c8e6;
margin-top: 100px; }
footer .container {
display: flex;
align-items: center; }
.section-articles article img {
order: -1;
max-width: calc(100% + 40px);
border-radius: 5px;
margin: -20px -20px 20px -20px; }
.section-articles article h1 {
margin-top: 0px; }
.section-articles article a {
color: white; }
.section-articles article a:hover {
text-decoration: underline; }
.section-articles article > .meta {
margin: 0; }
.section-articles article .author {
font-style: italic;
color: #c8c8e6; }
.website-subnav {
margin-left: auto; }
.website-subnav ul {
display: flex;
padding: 0; }
.website-subnav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
.website-subnav a {
color: #c8c8e6; }

View file

@ -3,7 +3,6 @@
a {
color: #ff8282;
font-style: italic;
text-decoration: none; }
a:hover {
@ -23,132 +22,124 @@ body {
nav {
background: #3c3c5a; }
nav > .container {
display: flex;
align-items: center; }
.website-name a {
color: whitesmoke;
text-decoration: none;
background: #ff8282;
padding: 5px 10px;
border-radius: 20px;
text-shadow: #ff6464 2px 2px; }
.website-nav {
margin-left: auto; }
.website-nav ul {
display: flex;
padding: 0; }
.website-nav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
.website-nav a {
color: whitesmoke;
text-decoration: none; }
footer {
background: #1e1e2d;
color: #c8c8e6;
margin-top: 100px; }
footer > .container {
display: flex;
align-items: center; }
.website-subnav {
margin-left: auto; }
.website-subnav ul {
display: flex;
padding: 0; }
.website-subnav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
.website-subnav a {
color: #c8c8e6; }
nav .container {
display: flex;
align-items: center; }
nav .container .website-name a {
color: whitesmoke;
text-decoration: none;
background: #ff8282;
padding: 5px 10px;
border-radius: 20px;
text-shadow: #ff6464 2px 2px; }
nav .container .website-nav {
margin-left: auto; }
nav .container .website-nav ul {
display: flex;
padding: 0; }
nav .container .website-nav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
nav .container .website-nav a {
color: whitesmoke;
text-decoration: none; }
header {
text-align: center;
margin: 150px 0; }
header h1 {
font-size: 2em; }
header h1 {
font-size: 2em; }
.section-articles {
margin: 20px 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-columns: repeat(2, 1fr);
grid-gap: 1rem; }
.section-articles article {
background: #3c3c5a;
color: white;
padding: 20px;
border-radius: 5px;
display: flex;
flex-flow: column;
height: max-content; }
.section-articles article img {
order: -1;
max-width: calc(100% + 40px);
border-radius: 5px;
margin: -20px -20px 20px -20px; }
.section-articles article h1 {
margin-top: 0px; }
.section-articles article a {
color: white; }
.section-articles article a:hover {
text-decoration: underline; }
.section-articles article > .meta {
margin: 0; }
.section-articles article .author {
font-style: italic;
color: #c8c8e6; }
.section-articles a {
color: white;
text-decoration: none; }
.section-articles article {
background: #3c3c5a;
color: white;
padding: 20px;
border-radius: 5px;
display: grid;
height: max-content;
grid-template-columns: 120px 1fr;
grid-template-areas: "img h1" "img p";
transition: background .2s; }
.section-articles article img {
object-fit: cover;
height: 180px;
width: 120px;
border-radius: 5px;
border: 0px solid #28283c;
grid-area: img;
margin: -20px; }
.section-articles article h1 {
margin: 0px;
grid-area: h1; }
.section-articles article .meta {
margin: 0;
grid-area: p; }
.section-articles article .author {
font-style: italic;
color: #c8c8e6; }
.section-articles article:hover {
background: #464669; }
.section-projects {
margin: 20px 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 1rem; }
.section-projects a {
color: white;
text-decoration: none; }
.section-projects article {
background: #3c3c5a;
color: white;
padding: 20px;
border-radius: 5px;
display: flex;
flex-flow: column;
height: max-content;
transition: background .2s; }
.section-projects article img {
order: -1;
max-width: calc(100% + 40px);
border-radius: 5px;
margin: -20px -20px 20px -20px;
background: #505078;
object-fit: cover;
max-height: 170px; }
.section-projects article h1 {
margin-top: 0; }
.section-projects article .meta {
margin: 0; }
.section-projects article .status {
font-style: italic;
color: #c8c8e6; }
.section-projects article:hover {
background: #464669; }
.section-projects article {
background: #3c3c5a;
color: white;
padding: 20px;
border-radius: 5px;
display: flex;
flex-flow: column;
max-width: 562px;
height: max-content; }
footer {
background: #1e1e2d;
color: #c8c8e6;
margin-top: 100px; }
footer .container {
display: flex;
align-items: center; }
.section-projects article img {
order: -1;
max-width: calc(100% + 40px);
border-radius: 5px;
margin: -20px -20px 20px -20px;
background: #505078; }
.section-projects article h1 {
margin-top: 0; }
.section-projects article > .meta {
margin: 0; }
.section-projects article .status {
font-style: italic;
color: #c8c8e6; }
.website-subnav {
margin-left: auto; }
.website-subnav ul {
display: flex;
padding: 0; }
.website-subnav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
.website-subnav a {
color: #c8c8e6; }

View file

@ -3,7 +3,6 @@
a {
color: #ff8282;
font-style: italic;
text-decoration: none; }
a:hover {
@ -23,95 +22,87 @@ body {
nav {
background: #3c3c5a; }
nav > .container {
display: flex;
align-items: center; }
.website-name a {
color: whitesmoke;
text-decoration: none;
background: #ff8282;
padding: 5px 10px;
border-radius: 20px;
text-shadow: #ff6464 2px 2px; }
.website-nav {
margin-left: auto; }
.website-nav ul {
display: flex;
padding: 0; }
.website-nav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
.website-nav a {
color: whitesmoke;
text-decoration: none; }
footer {
background: #1e1e2d;
color: #c8c8e6;
margin-top: 100px; }
footer > .container {
display: flex;
align-items: center; }
.website-subnav {
margin-left: auto; }
.website-subnav ul {
display: flex;
padding: 0; }
.website-subnav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
.website-subnav a {
color: #c8c8e6; }
nav .container {
display: flex;
align-items: center; }
nav .container .website-name a {
color: whitesmoke;
text-decoration: none;
background: #ff8282;
padding: 5px 10px;
border-radius: 20px;
text-shadow: #ff6464 2px 2px; }
nav .container .website-nav {
margin-left: auto; }
nav .container .website-nav ul {
display: flex;
padding: 0; }
nav .container .website-nav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
nav .container .website-nav a {
color: whitesmoke;
text-decoration: none; }
header {
text-align: center;
margin: 100px 0; }
header h1 {
font-size: 2em; }
header h1 {
font-size: 2em; }
.section-articles {
margin: 20px 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 1rem; }
.section-articles a {
color: white;
text-decoration: none; }
.section-articles article {
background: #3c3c5a;
color: white;
padding: 20px;
border-radius: 5px;
display: flex;
flex-flow: column;
max-width: 562px;
height: max-content;
transition: background .2s; }
.section-articles article img {
order: -1;
max-width: calc(100% + 40px);
border-radius: 5px;
margin: -20px -20px 20px -20px;
background: #505078;
object-fit: cover;
max-height: 170px; }
.section-articles article h1 {
margin-top: 0; }
.section-articles article p {
margin: 0; }
.section-articles article .status {
font-style: italic;
color: #c8c8e6; }
.section-articles article:hover {
background: #464669; }
.section-articles article {
background: #3c3c5a;
color: white;
padding: 20px;
border-radius: 5px;
display: flex;
flex-flow: column;
max-width: 562px;
height: max-content; }
footer {
background: #1e1e2d;
color: #c8c8e6;
margin-top: 100px; }
footer .container {
display: flex;
align-items: center; }
.section-articles article img {
order: -1;
max-width: calc(100% + 40px);
border-radius: 5px;
margin: -20px -20px 20px -20px;
background: #505078; }
.section-articles article h1 {
margin-top: 0; }
.section-articles article p {
margin: 0; }
.section-articles article .status {
font-style: italic;
color: #c8c8e6; }
.website-subnav {
margin-left: auto; }
.website-subnav ul {
display: flex;
padding: 0; }
.website-subnav li {
list-style-type: none;
padding: 10px;
padding-left: 20px; }
.website-subnav a {
color: #c8c8e6; }