diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-11-09 00:45:45 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-11-17 21:21:51 +0100 |
| commit | f7b6a33991f8ce027b53f4ac95a2dbde72f07467 (patch) | |
| tree | e753b171857342704370a3f674ff5f7888d86034 /commun.css | |
| parent | 0b910512e809e815b213d778afe8eb05bc73af3f (diff) | |
| download | quatuorbellefeuille.com-f7b6a33991f8ce027b53f4ac95a2dbde72f07467.tar.xz | |
Add tentative "social" sidebar
Diffstat (limited to 'commun.css')
| -rw-r--r-- | commun.css | 36 |
1 files changed, 30 insertions, 6 deletions
@@ -1,24 +1,24 @@ -header { +header.banner { display: flex; align-items: center; } -header .brand { +header.banner .brand { display: flex; align-items: center; max-width: 40%; } -header .brand img { +header.banner .brand img { transition: filter 1s; } -header .brand h1 { +header.banner .brand h1 { transition: color 1s; } -header .brand:hover img { +header.banner .brand:hover img { filter: brightness(100%) sepia(100%); } -header .brand:hover h1 { +header.banner .brand:hover h1 { color: #d82; } @@ -47,6 +47,30 @@ nav ol li { flex: 1; } +header.social { + float: right; + display: flex; + flex-direction: column; + align-items: center; +} + +.social img { + width: 2em; + margin-top: 0.5em; + margin-bottom: 0.5em; +} + +.contact { + /* Ideally should be just: */ + /* writing-mode: sideways-lr; */ + /* but of course We Can't Have Nice Things. */ + writing-mode: vertical-rl; + transform: rotate(180deg); + margin: 0; + margin-inline-start: 0.5em; +} + + body { display: flex; flex-direction: column; |
