mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Improve css
This commit is contained in:
parent
3ad0c7f384
commit
3eb63c50ba
1 changed files with 35 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
||||||
max-width: 80%;
|
max-width: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Images helper classes */
|
||||||
img.inline {
|
img.inline {
|
||||||
display:inline;
|
display:inline;
|
||||||
margin:5px 15px 5px 5px;
|
margin:5px 15px 5px 5px;
|
||||||
|
@ -28,6 +29,11 @@ img.center {
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td img {
|
||||||
|
margin: 0.2rem auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Figures and caption */
|
||||||
figure img {
|
figure img {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
@ -36,6 +42,29 @@ figure figcaption {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* List spacing */
|
||||||
|
ul li, ol li {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul, ol {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
li p {
|
||||||
|
margin: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Paragraphs */
|
||||||
|
p {
|
||||||
|
margin: 0 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notices p {
|
||||||
|
margin: 0 0 0 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Flex */
|
||||||
.flex-container {
|
.flex-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
|
@ -51,6 +80,7 @@ figure figcaption {
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Breadcrums */
|
||||||
#top-bar #breadcrumbs > span span, #top-bar #breadcrumbs > a span {
|
#top-bar #breadcrumbs > span span, #top-bar #breadcrumbs > a span {
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
@ -63,8 +93,12 @@ figure figcaption {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fonts and headings */
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
font-family: "Source Sans Pro", "Metropolis", "Helvetica Neue", sans-serif;
|
font-family: "Source Sans Pro", "Metropolis", "Helvetica Neue", sans-serif;
|
||||||
|
margin-top: 1rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.simplebar-content h5 .fa {
|
.simplebar-content h5 .fa {
|
||||||
|
@ -84,6 +118,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Give a gray background to the white logo*/
|
||||||
img#whitelogo {
|
img#whitelogo {
|
||||||
background-color: gray;
|
background-color: gray;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
Loading…
Add table
Reference in a new issue