1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-25 02:04:15 +02:00
pigallery2/docs/style.css

145 lines
1.7 KiB
CSS
Raw Normal View History

2018-12-03 23:29:59 +02:00
/*
* Globals
*/
/* Links */
a,
a:focus,
a:hover {
color: #ccc;
}
/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
color: #333;
text-shadow: none; /* Prevent inheritance from `body` */
background-color: #fff;
border: .05rem solid #fff;
}
/*
* Base structure
*/
html,
body {
background-color: #222;
}
body {
display: -ms-flexbox;
display: flex;
color: #fff;
text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
}
.cover-container {
max-width: 65em;
background-color: #3a3a3a;
box-shadow: 0 .5rem 1rem #000;
}
/*
* Header
*/
.masthead {
margin-bottom: 2rem;
}
.masthead-brand {
margin-bottom: 0;
}
.nav-masthead .nav-link {
padding: .25rem 0;
font-weight: 700;
color: rgba(255, 255, 255, .5);
background-color: transparent;
border-bottom: .25rem solid transparent;
}
.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
border-bottom-color: rgba(255, 255, 255, .25);
}
.nav-masthead .nav-link + .nav-link {
margin-left: 1rem;
}
.nav-masthead .active {
color: #fff;
border-bottom-color: #fff;
}
@media (min-width: 48em) {
.masthead-brand {
float: left;
}
2018-12-03 23:29:59 +02:00
.nav-masthead {
float: right;
}
}
/*
* Cover
*/
.cover {
padding: 0 1.5rem;
}
2018-12-03 23:29:59 +02:00
.cover .btn-lg {
padding: .75rem 1.25rem;
font-weight: 700;
}
.feature {
2018-12-03 23:29:59 +02:00
margin-top: 30px;
margin-bottom: 10px;
}
.feature .col {
2018-12-03 23:29:59 +02:00
margin: auto;
}
.feature .col h3 {
2018-12-03 23:29:59 +02:00
text-align: left;
}
.feature .col {
2018-12-03 23:29:59 +02:00
text-align: justify;
}
.feature img {
2018-12-03 23:29:59 +02:00
width: 100%;
}
.section-header {
2018-12-03 23:29:59 +02:00
margin-top: 30px;
text-align: left;
}
hr {
2018-12-03 23:29:59 +02:00
background: white;
margin-top: 0;
}
.github-button-wrapper {
2019-01-12 19:08:34 +02:00
margin-top: 10px;
float: right;
}
.banner-photo {
2018-12-03 23:29:59 +02:00
margin-bottom: 30px;
}