doc/themes/yunohost-docs/css/custom.css

147 lines
2.3 KiB
CSS
Raw Normal View History

2020-11-14 11:24:49 +01:00
.off-canvas .learn-sidebar:before {
2021-02-07 18:51:53 +01:00
background: none;
2020-11-14 11:24:49 +01:00
}
.highlightable h5:first-of-type {
margin-top: 2rem;
}
.highlightable h5 {
margin-top: 1rem;
2021-02-07 03:00:15 +01:00
color: #333;
}
#chapter {
max-width: 80%;
}
2021-02-07 22:46:34 +01:00
/* Images helper classes */
img.inline {
display:inline;
margin:5px 15px 5px 5px;
vertical-align: middle;
}
2021-01-09 21:36:35 +01:00
img.center {
display: block;
margin:5px 15px 5px 5px;
margin-left: auto;
margin-right: auto;
}
2021-02-07 22:46:34 +01:00
td img {
margin: 0.2rem auto;
}
/* Figures and caption */
2021-02-07 12:19:28 +01:00
figure img {
margin: auto;
}
figure figcaption {
font-style: italic;
}
2021-02-07 22:46:34 +01:00
/* 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 */
2021-02-07 14:03:32 +01:00
.flex-container {
display: flex;
justify-content: space-around;
2021-02-07 18:32:06 +01:00
flex-wrap: wrap;
2021-02-07 14:03:32 +01:00
}
.flex-child {
display: inline-flex;
text-align: center;
2021-02-07 14:54:25 +01:00
}
2021-02-07 14:03:32 +01:00
.nomargin * {
margin: 0px auto;
}
2021-02-07 22:46:34 +01:00
/* Breadcrums */
#top-bar #breadcrumbs > span span, #top-bar #breadcrumbs > a span {
padding: 0 !important;
}
#top-bar #breadcrumbs > span, #top-bar #breadcrumbs > a {
padding: 0 !important;
}
#top-bar #breadcrumbs > a {
padding: 0;
}
2021-02-07 03:00:15 +01:00
2021-02-07 22:46:34 +01:00
/* Fonts and headings */
2021-02-07 03:00:15 +01:00
h1, h2, h3, h4, h5, h6 {
2021-02-07 03:01:59 +01:00
font-family: "Source Sans Pro", "Metropolis", "Helvetica Neue", sans-serif;
2021-02-07 22:46:34 +01:00
margin-top: 1rem;
margin-bottom: 1rem;
2021-02-07 03:00:15 +01:00
}
.simplebar-content h5 .fa {
font-size: 0.75em;
margin-right: 0.2em;
margin-left: 0.4em;
}
@font-face {
2021-02-07 03:01:59 +01:00
font-family: 'Source Sans Pro';
2021-02-07 03:00:15 +01:00
src: url('../fonts/SourceSansPro-Bold-webfont.eot');
src: url('../fonts/SourceSansPro-Bold-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/SourceSansPro-Bold-webfont.woff') format('woff'),
url('../fonts/SourceSansPro-Bold-webfont.ttf') format('truetype'),
url('../fonts/SourceSansPro-Bold-webfont.svg#fonts/SourceSansProBold') format('svg');
font-weight: 700;
font-style: normal;
}
2021-02-07 12:01:50 +01:00
2021-02-07 22:46:34 +01:00
/* Give a gray background to the white logo*/
2021-02-07 12:01:50 +01:00
img#whitelogo {
background-color: gray;
padding: 10px;
}
2021-02-07 17:27:39 +01:00
/* Hide home page in menu */
.simplebar-content h5:first-child {
2021-02-07 17:27:39 +01:00
display: none;
}
2021-02-07 18:51:53 +01:00
/* Sidebar */
#sidebar-id {
background-color: white;
}
body .off-canvas .learn-sidebar a {
color: #364149;
}
body .off-canvas .learn-sidebar .learn-nav ul li.active > a {
color: black;
border-right: black 1px solid;
}