dokuwiki-template-landing/assets/landing.css

271 lines
5.3 KiB
CSS
Raw Normal View History

2021-07-12 18:26:55 +02:00
.container,
.container-fluid {
padding: 2em;
}
.container.no-padding,
.container-fluid.no-padding {
padding: 0;
}
.lpd-header.container-fluid {
padding:0;
}
.lpd-header .jumbotron {
border-radius: 0;
width:100%;
}
.lpd-header .jumbotron img {
max-width:100%;
}
.lpd-header-sub,
.lpd-header-sub.container-fluid .container,
.lpd-header-sub .jumbotron {
padding: 0;
}
.lpd-header-sub h1 {
display:none;
}
.lpd-header-sub .jumbotron {
border-radius: 0;
width:100%;
}
.lpd-header-sub .jumbotron img,
.lpd-header-sub .jumbotron img.mediacenter {
max-width:100%;
}
.lpd-ribbon.container-fluid {
color:white;
background-color: #337ab7;
}
.lpd-ribbon p > a,
.lpd-ribbon .li > a {
color: #fff;
font-weight: bold;
text-decoration:underline;
}
.lpd-ribbon-light.container-fluid {
background-color: #bee1ff;
}
.lpd-ribbon-light p > a,
.lpd-ribbon-light .li > a {
color: #000;
font-weight: bold;
text-decoration:underline;
}
.container .row.bs-wrap-row {
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
}
.container .row .thumbnail {
background-color:#337ab7;
border:0;
color:white;
text-align:center;
box-shadow: none;
display: flex;
flex-flow: column wrap;
justify-content: flex-start;
height:100%;
}
.container .row .thumbnail p:last-child {
margin-top:auto;
}
/* Icons as font on startpage */
.container-fluid .row .thumbnail span.bs-wrap-image,
.container .row .thumbnail span.bs-wrap-image {
font-size:5em;
}
/* Minor adjustment to wrong width calculation of fontawesome, so it's centered. */
.container-fluid .row .thumbnail span.bs-wrap-image .fa-fw,
.container .row .thumbnail span.bs-wrap-image .fa-fw {
width: inherit;
}
.container .row .thumbnail a.btn-primary {
background-image: none;
background-color: #fff;
color:#337ab7;
border:none;
border-radius: 0;
text-shadow: none;
box-shadow: none;
}
.lpd-ribbon .container .row .bs-wrap-col {
margin: 0 auto;
}
.lpd-ribbon .container .row .bs-wrap-image {
display:flex;
flex-direction: column;
width:100px;
height:100px;
margin:.2em auto;
}
.lpd-ribbon .container .row .bs-wrap-image[data-img-shape=circle] {
border-radius: 50%;
background-color:#3989cf;
justify-content: center;
}
.lpd-ribbon .container .row .bs-wrap-image img.media,
.lpd-ribbon .container .row .bs-wrap-image img.mediaright {
border-radius: 0;
align-self: center;
}
.lpd-ribbon .container .row .bs-wrap-image img.mediaright {
margin: auto 0;
}
.lpd-ribbon .container .row .bs-wrap-image a img.mediaright {
margin: 0;
}
.list-group-item svg {
float:left;
margin-right:10px;
}
.list-group-item a > * {
vertical-align:middle;
}
aside#dokuwiki__pagetools {
position:static;
}
footer, aside {
clear:both;
}
@media (min-width: 1024px) {
aside#dokuwiki__pagetools {
position:fixed;
bottom:0;
right:0;
width:70px;
overflow:hidden;
height:auto;
transition: width .2s;
}
aside#dokuwiki__pagetools:hover {
width:200px;
}
}
#dokuwiki__detail dl {
width: 350px;
overflow: hidden;
padding: 0;
margin: 0;
}
#dokuwiki__detail dt {
float: left;
text-align: right;
width: 150px;
padding: .2em;
margin: 0;
}
#dokuwiki__detail dd {
float: left;
text-align: left;
width: 200px;
padding: .2em;
margin: 0;
}
#dokuwiki__detail #dokuwiki__pagetools .container {
padding:0;
}
#dokuwiki__detail #dokuwiki__pagetools .list-group-item.top {
display: none;
}
.link-home {
cursor:pointer;
}
.lpd-ribbon div.thumb2 {
padding-right: 0;
}
.lpd-ribbon div.thumb2 .thumbinner {
border: 0;
padding: 0;
border-radius: 0 0 5px 5px;
}
.lpd-ribbon div.thumbcaption {
padding: 7px;
}
/* regular button */
.btn {
background-image: none;
text-shadow: none;
border: none;
border-radius: 0;
}
footer > ::before {
display:block;
height:2px;
width:40%;
background-image: linear-gradient(to right, transparent, #337ab7, transparent);
margin: 1em auto;
}
/* plugin:translation adjustments: links in footer */
.dokuwiki footer div.plugin_translation ul li a.wikilink1:link,
.dokuwiki footer div.plugin_translation ul li a.wikilink1:hover,
.dokuwiki footer div.plugin_translation ul li a.wikilink1:active,
.dokuwiki footer div.plugin_translation ul li a.wikilink1:visited {
background-color: inherit;
color: inherit;
}
.dokuwiki footer div.plugin_translation span sup {
display:none;
}
.dokuwiki footer div.plugin_translation ul {
margin-top:3px;
}
.dokuwiki footer div.plugin_translation ul li {
float:initial;
margin: 0;
}
.dokuwiki footer div.plugin_translation ul li div.li {
padding:5px;
}
.dokuwiki footer div.plugin_translation ul li img {
float:right;
margin-top:3px;
}
@media (max-width: 767px) {
.dokuwiki footer div.plugin_translation {
display:block;
width:100%;
text-align:center;
margin-top:0.5em;
}
.dokuwiki footer div.plugin_translation ul {
text-align:center;
}
.dokuwiki footer div.plugin_translation ul li {
}
.dokuwiki footer div.plugin_translation ul li img {
float:none;
margin-top:-2px;
}
}