doc/themes/yunohost-docs/css/custom.css
2021-02-07 21:43:06 +01:00

156 lines
2.9 KiB
CSS

.off-canvas .learn-sidebar:before {
background: dimgrey;
}
.highlightable h5:first-of-type {
margin-top: 2rem;
}
.highlightable h5 {
margin-top: 1rem;
color: #333;
}
#chapter {
max-width: 80%;
}
img.inline {
display:inline;
margin:5px 15px 5px 5px;
vertical-align: middle;
}
img.center {
display: block;
margin:5px 15px 5px 5px;
margin-left: auto;
margin-right: auto;
}
figure img {
margin: auto;
}
figure figcaption {
font-style: italic;
}
.flex-container {
display: flex;
justify-content: space-around;
}
.flex-child {
display: inline-flex;
text-align: center;
}
.nomargin * {
margin: 0px auto;
}
#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;
}
h1, h2, h3, h4, h5, h6 {
font-family: "Source Sans Pro", "Metropolis", "Helvetica Neue", sans-serif;
}
.simplebar-content h5 .fa {
font-size: 0.75em;
margin-right: 0.2em;
margin-left: 0.4em;
}
@font-face {
font-family: 'Source Sans Pro';
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;
}
img#whitelogo {
background-color: gray;
padding: 10px;
}
/*
###############################################################################
Style sheet for the cards
###############################################################################
*/
.hardware-image #cards-list:after {
content:'';
display:block;
clear: both;
}
.hardware-image .card {
margin-bottom:20px;
width:270px;
float:left;
min-height: 1px;
margin-right: 10px;
margin-left: 10px;
}
.hardware-image .card .panel-body > h3 {
margin-top:0;
margin-bottom:5px;
font-size:1.2em;
}
.hardware-image .card-desc {
height:135px;
overflow: hidden;
}
.hardware-image .card .btn-group {
width:100%;
margin-left: 0px;
}
.hardware-image .card > .btn-group > .btn{
border-bottom:0;
}
.hardware-image .card > .btn-group {
border-left:0;
border-top-left-radius:0;
border-top-right-radius:0;
margin-left: 0px;
}
.hardware-image .card-comment {
font-size: 0.8em;
margin-top:-5px;
}
.hardware-image .card > .annotations {
text-align:center;
font-size:small;
}
.hardware-image .card img {
margin: 1rem auto;
}
.hardware-image .btn-group .btn.btn-info {
color: #ffffff;
background-color: #5bc0de;
border-color: #46b8da;
}
.hardware-image .btn-group .btn.btn-info:hover, .btn.btn-info:focus {
color: #ffffff;
background-color: #39b3d7;
border-color: #269abc;
}