mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com> Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de> Closes GH-459.
196 lines
2.8 KiB
CSS
196 lines
2.8 KiB
CSS
/* Home Page */
|
|
|
|
|
|
/* Hero */
|
|
|
|
#intro .container {
|
|
padding: 0 24px;
|
|
}
|
|
|
|
.hero {
|
|
width: 100%;
|
|
flex: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin: 32px 0;
|
|
}
|
|
|
|
.hero-logo {
|
|
width: 100%;
|
|
max-width: 240px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.hero-text {
|
|
margin-top: 0;
|
|
margin-bottom: 28px;
|
|
line-height: 1.5;
|
|
text-align: center;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
.hero-text strong {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.hero-actions {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.hero-btn {
|
|
box-sizing: border-box;
|
|
padding: 16px 32px;
|
|
margin-bottom: 12px;
|
|
border-radius: 30px;
|
|
text-align: center;
|
|
display: inline-block;
|
|
border: none;
|
|
font-size: 20px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.hero-btn-primary {
|
|
background-color: #4f5b93;
|
|
color: #fff !important;
|
|
}
|
|
|
|
.hero-btn-primary:hover, .hero-btn-primary:focus {
|
|
background-color: #465081;
|
|
}
|
|
|
|
.hero-btn-secondary {
|
|
background-color: transparent;
|
|
color: #b8c0e9 !important;
|
|
border: 1px solid #6773ad;
|
|
}
|
|
|
|
.hero-btn-secondary:hover, .hero-btn-secondary:focus {
|
|
background-color: #6773ad20;
|
|
border: 1px solid #6773ad;
|
|
}
|
|
|
|
.hero-versions {
|
|
margin: 0;
|
|
list-style:none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.hero-version {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.hero-versions a.notes {
|
|
font-size:.875rem;
|
|
white-space:nowrap;
|
|
}
|
|
|
|
.hero-versions a {
|
|
color:#ccc;
|
|
border:0;
|
|
}
|
|
|
|
.hero-versions a:hover,
|
|
.hero-versions a:focus {
|
|
border-bottom:1px dotted;
|
|
}
|
|
|
|
.hero-version-link {
|
|
color:#fff !important;
|
|
display: inline-block;
|
|
}
|
|
|
|
@media (min-width: 540px) {
|
|
.hero-actions {
|
|
flex-direction: row;
|
|
width: auto;
|
|
}
|
|
|
|
.hero-btn {
|
|
min-width: 188px;
|
|
}
|
|
|
|
.hero-btn-secondary {
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.hero {
|
|
margin: 60px 0;
|
|
}
|
|
|
|
.hero-versions {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.hero-version {
|
|
font-size: 1.125rem;
|
|
padding: 0 1.5rem;
|
|
}
|
|
|
|
.hero-version:not(:first-child) {
|
|
border-left: 1px dotted #666;
|
|
}
|
|
|
|
.hero-text {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
|
|
/* Layout */
|
|
|
|
#layout-content {
|
|
border-right:.25rem solid #666;
|
|
}
|
|
.home .newsentry .newstitle a:after {
|
|
content:"\20 \00bb";
|
|
color:#666;
|
|
}
|
|
|
|
p.archive {
|
|
text-align: right;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.navbar-search,
|
|
#intro .background,
|
|
aside.tips,
|
|
.layout-menu {
|
|
width: 25%;
|
|
}
|
|
|
|
#layout-content {
|
|
width: 75%;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) and (max-width: 784px) {
|
|
aside.tips, .navbar-search {
|
|
width: 30%;
|
|
}
|
|
|
|
#layout-content {
|
|
width:70%;
|
|
}
|
|
}
|
|
|
|
/* Homepage mirror sponsor */
|
|
aside.tips .mirror-sponsor {
|
|
padding-top: 1.5rem;
|
|
}
|
|
|
|
/* Social media buttons. */
|
|
aside.tips .social-media .icon-twitter {
|
|
font-size: 1.5em;
|
|
vertical-align: middle;
|
|
}
|