diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-10-18 00:03:19 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-10-21 23:19:09 +0200 |
| commit | 71c87cac822918c823f4e1ee06ad252ceef6bc28 (patch) | |
| tree | 3ffd3ff7ae07295fa8c5f5a1a4a436d0438736f8 /artistes.css | |
| parent | d2c0f070807fab9247479825a530e829ec1657d1 (diff) | |
| download | quatuorbellefeuille.com-71c87cac822918c823f4e1ee06ad252ceef6bc28.tar.xz | |
add nav & grayscale transition
Diffstat (limited to 'artistes.css')
| -rw-r--r-- | artistes.css | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/artistes.css b/artistes.css index c69b323..ec5a977 100644 --- a/artistes.css +++ b/artistes.css @@ -1,11 +1,23 @@ body { background: #eee; - display: flex; padding-left: 10%; padding-right: 10%; } -body div { +nav ol { + display: flex; + list-style-type: none; +} + +nav ol li { + flex: 1; +} + +.main { + display: flex; +} + +.main div { padding: 2em; } @@ -25,34 +37,36 @@ body div { border-width: 10px; border-style: solid; border-radius: 20%; + filter: grayscale(1); + transition: 1s; +} + +#photos-inner img:hover { + filter: none; } #vlad { position: absolute; left: 2em; top: 5%; - z-index: 1; } #garet { position: absolute; left: 10em; top: 10%; - z-index: 2; } #ivan { position: absolute; left: 2em; top: 30%; - z-index: 3; } #sofia { position: absolute; left: 10em; top: 35%; - z-index: 4; } #bio { |
