Ghost/ghost/admin/app/styles/layouts/about.css
2015-05-22 19:05:09 +01:00

220 lines
3.7 KiB
CSS

/* About /ghost/settings/about/
/* ---------------------------------------------------------- */
.settings-about h1 {
letter-spacing: 0;
}
@media (min-width: 901px) {
.settings-content .settings-about {
padding: 25px 40px 0;
}
}
.about-ghost-intro h1 {
margin-top: -6px;
margin-bottom: -21px;
}
.about-ghost-intro .ghost_logo {
content: "Ghost";
}
.about-ghost-intro .version {
font-weight: 300;
font-size: 1.8rem;
position: relative;
top: -3px;
left: -9px;
color: var(--blue);
}
.about-ghost-intro h1 + p {
margin-top: 1px;
color: var(--midgrey);
}
.about-environment-help {
margin-top: 35px;
}
.about-environment dl {
color: var(--midgrey);
margin: 2px 0 0 0;
line-height: 1.6;
}
.about-environment dt, .about-environment dd {
width: auto;
float: left;
display: inline-block;
margin: 0;
}
.about-environment dt {
margin-right: 5px;
}
.about-environment .about-environment-detail {
text-transform: capitalize;
}
.about-help {
padding-top: 8px;
}
@media (max-width: 500px) {
.about-help {
padding-top: 16px;
}
}
.about-help .btn {
width: 100%;
display: block;
font-size: 1rem;
padding-top: 9px;
padding-bottom: 9px;
min-height: 32px;
background: #A1ADB3;
color: #fff;
}
.about-help .btn:hover {
background: color(#A1ADB3 lightness(-10%));
}
.about-help .btn:nth-child(1) {
margin-bottom: 11px;
}
@media (min-width: 501px) {
.about-environment-help {
max-width: 430px;
}
.about-environment {
float: left;
width: calc(100% - 190px);
}
.about-help {
float: right;
width: 170px;
}
}
/* Contributors
/* ---------------------------------------------------------- */
.top-contributors {
padding-left: 0;
max-width: 660px;
}
.top-contributors li {
float: left;
list-style: none;
width: 10%;
}
.top-contributors li a {
display: block;
position: relative;
}
@media (min-width: 601px) {
.top-contributors li a {
margin-right: 9px;
margin-bottom: 9px;
}
}
@media (max-width: 600px) {
.top-contributors li a {
margin-right: 6px;
margin-bottom: 6px;
}
}
.top-contributors li a:before {
opacity: 0;
content: attr(title);
position: absolute;
top: -27px;
left: 50%;
transform: translateX(-50%);
background: var(--darkgrey);
color: #fff;
padding: 2px 6px 3px;
border-radius: var(--border-radius);
transition: opacity 0.15s ease-in-out;
font-size: 1rem;
pointer-events: none;
}
.top-contributors li a:after {
opacity: 0;
content: '';
position: absolute;
top: -6px;
left: 50%;
transform: translateX(-50%);
transition: opacity 0.15s ease-in-out;
}
.top-contributors li a:hover:before,
.top-contributors li a:hover:after {
opacity: 1;
}
.top-contributors li a img {
width: 100%;
display: block;
border-radius: 100%;
}
/* Footer
/* ---------------------------------------------------------- */
.about-credits {
margin-top: 45px;
}
.about-credits h1 {
font-size: 2.4rem;
margin-bottom: 24px;
}
.about-contributors-info {
margin-top: -12px;
margin-bottom: 22px;
font-size: 1.6rem;
max-width: 620px;
}
.about-get-involved {
font-size: 1.2rem;
width: 100%;
display: inline-block;
max-width: 290px;
text-transform: uppercase;
text-align: center;
}
.about-copyright {
margin-top: 62px;
}
.about-copyright a:link,
.about-copyright a:visited {
color: inherit;
}
.about-copyright a:hover,
.about-copyright a:focus,
.about-copyright a:active {
text-decoration: none;
color: var(--blue);
}