summaryrefslogtreecommitdiff
path: root/stylesheets
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-01 22:48:34 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-01 22:48:34 +0100
commit1aa961dcbf14e58d33b7175f42218bd0da66a970 (patch)
treea61ab92a9460944d48a028322337f6689b6e1b9b /stylesheets
parentd11c9235da9c6303f6ab1b700eff0d0860da0d44 (diff)
downloadquatuorbellefeuille.com-1aa961dcbf14e58d33b7175f42218bd0da66a970.tar.xz
Add logo to mobile menu, lay nav.menu out a bit better
Diffstat (limited to 'stylesheets')
-rw-r--r--stylesheets/commun.css25
-rw-r--r--stylesheets/dark.css2
2 files changed, 20 insertions, 7 deletions
diff --git a/stylesheets/commun.css b/stylesheets/commun.css
index 8aca71f..c6c665b 100644
--- a/stylesheets/commun.css
+++ b/stylesheets/commun.css
@@ -240,7 +240,7 @@ footer.legal {
grid-column: 1;
grid-row: 1;
}
- header.banner {
+ body > header.banner {
grid-column: 2;
grid-row: 1 / 3;
justify-self: start;
@@ -282,7 +282,10 @@ footer.legal {
top: 0;
left: 0;
margin: 0;
+
background: #eeee;
+ color: initial;
+
transform-origin: left;
transform: translate(-100vw);
transition: transform 0.5s;
@@ -290,12 +293,18 @@ footer.legal {
display: grid;
grid-template-columns: 3rem 1fr 3rem;
- grid-template-rows: 3rem auto auto auto;
+ grid-template-rows: 3rem repeat(4, auto);
+ justify-items: center;
+ text-align: center;
}
header.slidingmenu > .content > img.button.close {
grid-column: 1;
grid-row: 1;
}
+ header.slidingmenu > .content header.banner {
+ grid-column: 2;
+ grid-row: 1 / 3;
+ }
header.slidingmenu > .content > a.lang {
grid-column: -2;
grid-row: 1;
@@ -315,24 +324,28 @@ footer.legal {
header.slidingmenu > .content > nav.social,
header.slidingmenu > .content > a.contact {
grid-column: 1 / -1;
+ width: 100%;
}
header.slidingmenu > .content ul,
header.slidingmenu > .content ol {
list-style: none;
padding-left: 0;
+ width: 100%;
}
- header.slidingmenu > .content > nav.menu ol > li > ul > li {
- width: 100%;
+ header.slidingmenu > .content > nav.menu > ol > li > ul {
+ display: flex;
+ justify-content: space-evenly;
}
- header.slidingmenu > .content > nav.menu ol > li > ul > li > a {
+ header.slidingmenu > .content > nav.menu > ol > li > ul > li > a {
display: block;
- padding-left: 2em;
+ padding: 0.5em;
}
header.slidingmenu > .content > nav.social > ul {
display: flex;
+ justify-content: space-evenly;
}
header.slidingmenu > .content > nav.social > ul > li > a {
display: block;
diff --git a/stylesheets/dark.css b/stylesheets/dark.css
index 0234077..0b96216 100644
--- a/stylesheets/dark.css
+++ b/stylesheets/dark.css
@@ -12,6 +12,6 @@ footer.social a.lang:hover {
border-color: white;
}
-header.banner img, footer.social a img {
+body > header.banner img, footer.social a img {
filter: brightness(10);
}