1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/docs/style.css

151 lines
1.8 KiB
CSS
Raw Normal View History

2018-12-04 05:29:59 +08: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-04 05:29:59 +08:00
.nav-masthead {
float: right;
}
}
/*
* Cover
*/
.cover {
padding: 0 1.5rem;
}
2018-12-04 05:29:59 +08:00
.cover .btn-lg {
padding: .75rem 1.25rem;
font-weight: 700;
}
.feature {
2018-12-04 05:29:59 +08:00
margin-top: 30px;
margin-bottom: 10px;
}
.feature .col {
2018-12-04 05:29:59 +08:00
margin: auto;
}
.feature .col h3 {
2018-12-04 05:29:59 +08:00
text-align: left;
}
.feature .col {
2018-12-04 05:29:59 +08:00
text-align: justify;
}
.feature img {
2018-12-04 05:29:59 +08:00
width: 100%;
}
.section-header {
2018-12-04 05:29:59 +08:00
margin-top: 30px;
text-align: left;
}
2023-05-21 20:16:11 +08:00
ul {
text-align: left;
}
hr {
2018-12-04 05:29:59 +08:00
background: white;
margin-top: 0;
}
.github-button-wrapper {
2019-01-13 01:08:34 +08:00
margin-top: 10px;
float: right;
}
.banner-photo {
2018-12-04 05:29:59 +08:00
margin-bottom: 30px;
}
2023-09-22 05:17:50 +08:00
.row.feature:nth-child(odd) .feature-image{
order: 2;
}