Adapted language dropdown to smaller devices

This commit is contained in:
Lucien Cartier-Tilet 2020-05-02 16:38:22 +02:00
parent 7759dde4b6
commit a70bf19002
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 23 additions and 2 deletions

View File

@ -326,12 +326,15 @@ header {
#theme-dropdown {
width: 250px;
flex-direction: row;
transform: translateX(-50%);
transform: translateX(-75%);
}
#drop-lang {
flex-direction: column;
transform: translateX(-40%);
li {
padding: 5px;
}
}
.dropdown-item {
@ -361,6 +364,10 @@ header {
transition: height 500ms ease-in-out, opacity 500ms ease-in-out, top 500ms ease-in-out;
li {
padding: 5px 0;
}
h2 {
font-size: 1.2em;
}
@ -409,7 +416,7 @@ h1, h2, h3, h4, h5, h6 {
}
h2 {
font-size: 3em;
font-size: 2.5em;
}
h3 {
@ -420,6 +427,10 @@ h4 {
font-size: 1.5em;
}
h5 {
font-size: 1.25em;
}
.tooltip {
position: relative;
display: inline-block;
@ -459,6 +470,8 @@ h4 {
}
blockquote {
padding: 0;
margin: 20px;
font-style: italic;
}
@ -481,3 +494,11 @@ img {
max-height: 600px;
max-width: 100%;
}
.figure {
padding: 0;
}
ul {
padding-inline-start: 20px;
}