Country filter centered

This commit is contained in:
echarp 2019-05-01 21:53:26 +02:00
parent 701af0d01a
commit 2f76efc4e4
4 changed files with 13 additions and 17 deletions

View File

@ -76,6 +76,7 @@ header.top
text-align: left text-align: left
img.logo img.logo
float: left float: left
max-width: 12vw
margin-right: 1% margin-right: 1%
h1 h1
margin: 0 margin: 0
@ -88,9 +89,9 @@ header.top
margin-top: 0.2em margin-top: 0.2em
nav nav
float: right
font-size: smaller font-size: smaller
margin-top: -3em margin-top: -3em
text-align: center
.digest, form .digest, form
margin-top: 2em margin-top: 2em
&:hover nav &:hover nav

View File

@ -13,13 +13,9 @@
border: none border: none
margin: 0 margin: 0
padding: 1% padding: 1%
font-size: smaller
main ul main ul
margin-left: 0 margin-left: 0
form#orga_search, button.search, .digest
font-size: smaller !important
table.list.dates table.list.dates
th, td th, td
&, a &, a
@ -34,13 +30,7 @@
padding-left: 0.4em padding-left: 0.4em
padding-right: 0.4em padding-right: 0.4em
header.top header.top nav
nav
display: none
img.logo
max-width: 12vw
form#orga_search
display: none display: none
body.index body.index
@ -85,7 +75,6 @@
padding-right: 1em padding-right: 1em
#advises #advises
font-size: smaller
& > * & > *
display: none display: none
& > :first-child:after & > :first-child:after

View File

@ -7,6 +7,7 @@ form#orga_search
float: right float: right
font-size: larger font-size: larger
margin-left: 1em margin-left: 1em
margin-right: 2em
label label
display: none display: none
em.fa em.fa

View File

@ -1,23 +1,28 @@
header nav header nav
width: 100%
position: absolute
& > ul > li & > ul > li
float: left display: inline-block
ul ul
margin: 0 margin: 0
z-index: 1500 z-index: 1500
list-style: none list-style: none
text-align: left
border-bottom-left-radius: 0.4em border-bottom-left-radius: 0.4em
border-bottom-right-radius: 0.4em border-bottom-right-radius: 0.4em
ul ul
position: absolute position: absolute
background-color: white text-align: left
li li
display: none display: none
border-top: solid thin #eee border-top: solid thin #eee
& li:hover li, li.selected li.selected
display: inline-block
& li:hover li, li li.selected
display: block display: block
li li
margin: 0 margin: 0
box-shadow: 0 0 1em white
background-color: white
&.selected &.selected
box-shadow: 0 0 0 6px lightgray box-shadow: 0 0 0 6px lightgray
a a