Mise à jour du CSS

This commit is contained in:
nono 2022-02-27 17:39:52 +01:00
parent f96cadbac0
commit 48467d2b63
3 changed files with 51 additions and 16 deletions

View File

@ -17,7 +17,9 @@
.content { .content {
background: #121212; background: #121212;
box-shadow: 0 0.7rem 2.3rem 0 rgba(255,255,255,0.3); border: solid;
border-width: 1px;
border-color: white;
} }
.card-container { .card-container {
@ -42,6 +44,10 @@
.blog-card { .blog-card {
background: #121212; background: #121212;
color: white; color: white;
border: solid;
border-color: white;
border-width: 2px;
} }
.blog-card h2{ .blog-card h2{

View File

@ -42,6 +42,7 @@
text-align: justify; text-align: justify;
margin: 0; margin: 0;
max-width: none; max-width: none;
box-shadow: none;
} }
@ -60,11 +61,23 @@
} }
footer { footer {
color: black;
font-size: 1em; font-size: 1em;
padding: 1em;
} }
footer::after { footer::after {
content: "Printed from https://n07070.xyz" content: "Printed from https://n07070.xyz";
font-size: 1em;
font-weight: bolder;
display: flex;
justify-content: center;
}
footer small {
display: none;
}
footer sup {
display: none;
} }
} }

View File

@ -16,7 +16,7 @@
body { body {
font-family: Avenir, HelveticaNeue-Light, "Helvetica Neue Light", font-family: Avenir, HelveticaNeue-Light, "Helvetica Neue Light",
"Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
color: #454545; /* color: #454545; */
font-size: 1.1em; font-size: 1.1em;
/* background: linear-gradient(90deg, #000 21px, transparent 1%) center, linear-gradient(#000 21px, transparent 1%) center, white; */ /* background: linear-gradient(90deg, #000 21px, transparent 1%) center, linear-gradient(#000 21px, transparent 1%) center, white; */
background-size: 22px 22px; background-size: 22px 22px;
@ -27,14 +27,13 @@ body {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
word-break: break-word; word-break: break-word;
} }
} }
p { p {
margin: 1.5em 0; margin: 1.5em 0;
} }
.home-header { .home-header {
min-height: 26rem; min-height: 26rem;
max-width: 50rem; max-width: 50rem;
@ -82,6 +81,7 @@ p {
/* display: flex; */ /* display: flex; */
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
border-color: black;
} }
.nav-header { .nav-header {
margin: 0; margin: 0;
@ -168,8 +168,12 @@ p {
/* border-radius: 1.2rem; */ /* border-radius: 1.2rem; */
z-index: 2; z-index: 2;
transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1); transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1);
box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3);
border: solid;
border-width: 1px;
border-color: black;
} }
.list-header { .list-header {
margin: 1em; margin: 1em;
text-align: center; text-align: center;
@ -190,21 +194,22 @@ p {
line-height: 1.6em; line-height: 1.6em;
} }
.card-container { .card-container {
max-width: 48rem;
} }
/* .card-container > a:first-of-type { /* .card-container > a:first-of-type {
margin-top: 5em; margin-top: 5em;
} */ } */
.card { .card {
display: block; display: block;
margin: 3rem 0; /* margin: 3rem 0; */
width: 100%;
max-width: 50rem;
box-sizing: border-box; box-sizing: border-box;
background-color: white; background-color: white;
text-decoration: none; text-decoration: none;
/* border-radius: 1.2rem; */ /* border-radius: 1.2rem; */
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1); transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1);
box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3); /* box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3); */
} }
.home-card { .home-card {
padding: 0.8em; padding: 0.8em;
@ -217,9 +222,15 @@ p {
} }
.blog-card { .blog-card {
display: flex; display: flex;
border: solid;
border-color: grey;
border-width: 3px;
flex-direction: column; flex-direction: column;
align-items: stretch; align-items: stretch;
border-style: solid; border-style: none;
margin: 1em;
} }
.bc-next { .bc-next {
margin-top: 0; margin-top: 0;
@ -280,7 +291,6 @@ p {
} }
.end-nav { .end-nav {
width: 100%; width: 100%;
max-width: 48rem;
z-index: 2; z-index: 2;
} }
.pagination-nav { .pagination-nav {
@ -288,9 +298,12 @@ p {
width: 100%; width: 100%;
max-width: 47rem; max-width: 47rem;
} }
/* .pagination-text {
font-family: 'LatoLatinWebMedium'; .pagination-text {
} */ font-weight: bold;
color: inherit;
}
.pagination-newer { .pagination-newer {
float:left; float:left;
} }
@ -510,6 +523,9 @@ footer h3 {
.blog-card { .blog-card {
flex-direction: row; flex-direction: row;
align-items: stretch; align-items: stretch;
border: solid;
border-color: grey;
border-width: 3px;
} }
.card-img { .card-img {
margin: 0; margin: 0;
@ -518,7 +534,7 @@ footer h3 {
width: 16em; width: 16em;
} }
.card-img-overlay { .card-img-overlay {
border-radius: 0.8rem 0.8rem 0 0; /* border-radius: 0.8rem 0.8rem 0 0; */
} }
.card-body { .card-body {
margin: 1.3em 1.7em; margin: 1.3em 1.7em;