1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00
Files
archived-web-php/styles/home.css

311 lines
6.1 KiB
CSS

/* Home Page
complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
*/
#mega-drop-down div.what-is-php {
color: #eee;
font-size: 1.125em;
line-height: 1.333em;
width: 500px;
float: left;
}
#mega-drop-down div.what-is-php p {
margin:1.333em 0;
}
#mega-drop-down .what-is-php .tutorial {
text-align: center;
font-size: 1.111em;
line-height: 1.2;
margin:1.2em 0;
}
#mega-drop-down .what-is-php .tutorial a {
background: #669;
-webkit-box-shadow: 0px 1px 0px 0px rgba(255,255,255,.334) inset, 0px -1px 5px 0px rgba(255,255,255,.1) inset;
-moz-box-shadow: 0px 1px 0px 0px rgba(255,255,255,.334) inset, 0px -1px 5px 0px rgba(255,255,255,.1) inset;
box-shadow: 0px 1px 0px 0px rgba(255,255,255,.334) inset;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
padding: .6em 1.2em;
margin-bottom:-3px;
display: block;
border: 1px solid rgba(0,0,0,.9);
border-bottom-width:3px;
text-align: center;
font:1em bold inherit;
color: #fff;
color: rgba(255,255,255,.8);
text-shadow: 0 -1px 0 rgba(0,0,0,.3);
display:inline-block;
}
#mega-drop-down .what-is-php .tutorial a:hover,
#mega-drop-down .what-is-php .tutorial a:focus {
background: #77a;
}
#mega-drop-down .what-is-php .tutorial a:active {
background: #669;
border-bottom-width:1px;
margin-top:2px;
}
#mega-drop-down div.download {
color: #eee;
width: 300px;
display: block;
float: right;
}
#mega-drop-down div.download h2 {
font-size:1em;
line-height: 3;
color: #ddd;
text-align: center;
letter-spacing: .2em;
word-spacing: .4em;
text-transform: uppercase;
text-shadow: #000 -1px -1px 1px;
}
#mega-drop-down div.children.downloads {
padding-bottom: 0;
}
/* We have to override these because theme.css has a generic style for 'ul'
and that doesn't apply here on the downloads area
*/
#mega-drop-down div.download ul {
float: none !important;
width: auto !important;
padding: 0 !important;
margin: 0;
}
#mega-drop-down div.download li:first-child {
padding: 1em 0 1em 120px;
background: url('/images/sprites.png') no-repeat 10px -195px;
margin-top: 0;
}
#mega-drop-down div.download li {
color: #eee;
display: block;
padding: 1em 0 0 120px;
background: url('/images/sprites.png') no-repeat 24px -273px;
cursor: pointer;
border-top: 1px solid #555;
margin: 0;
font-size:.75em;
line-height: 1;
}
#mega-drop-down div.download a {
padding-top: 0;
padding-left: 0;
display: block;
clear: right;
font-weight: normal;
}
#mega-drop-down div.download li:first-child a:first-child {
font-size: 1.5em;
line-height: 1;
}
#mega-drop-down div.download a:first-child {
font-size: 1.25em;
line-height: 1.2;
font-weight: bold;
color: #fff;
text-shadow:0 .1em .1em rgba(0,0,0,.666);
}
#head-beta-warning {
background: #339900;
display: none;
position: fixed;
top: 0px;
left: 0px;
width: 100%;
z-index: 100;
}
#beta-warning {
margin: 0 auto;
padding: 0.3em;
width: 960px;
display: none;
}
#beta-warning .blurb {
font-size: 1.3em;
line-height: 1.65em;
vertical-align: middle;
color: #EEE;
display: none;
}
#beta-warning .blurb a {
color: #333;
}
#beta-warning .blurb strong {
color: #333;
}
#beta-warning-close {
display: block;
float: right;
background: #333;
color: #EEE;
font-weight: bold;
text-decoration: none;
margin-top: 0.24em;
height: 1.2em;
line-height: 1.2em;
vertical-align: middle;
width: 1.2em;
padding: 0.2em;
text-align: center;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
/* Main content area */
body.home div#layout {
padding-right: 10px;
}
section.layout-content.home {
width: 960px;
margin: 0 auto;
}
div.home-content {
width: 650px;
}
/* Announcement Area */
.home .announcements {
display: table;
width: 100%;
background-color: #bfbfff;
padding: 1.5em;
text-align: center;
margin: 0 auto;
list-style: none;
}
.home .announcements li + li {
margin-top:1.5em;
}
.home .announcements ul, .home .announcements ul li {
list-style: none;
margin: 0;
padding: 0;
text-align: left;
}
/* 2x2 Featured Content Grid */
div.featured-content div.top-left,
div.featured-content div.top-right {
margin-top:-1.5em;
}
div.featured-content div.feature {
float: left;
width: 270px;
padding:0 20px;
text-align: center;
}
div.featured-content div.bottom-left,
div.featured-content div.bottom-right {
padding-top:1.5em;
}
div.featured-content span.graphic {
display: block;
width: 128px;
height: 128px;
margin:0 auto;
padding:8px 0;
background-image: url('../images/home-sprites.png');
}
div.featured-content div.top-left span.graphic {
background-position: 0 8px;
}
div.featured-content div.top-right span.graphic {
background-position: 0px -121px;
}
div.featured-content div.bottom-left span.graphic {
background-position: 0px -258px;
}
div.featured-content div.bottom-right span.graphic {
background-position: 0px -399px;
}
.featured-content .feature h3 {
text-align: center;
color:#000;
font-weight:bold;
}
.featured-content .feature p {
margin:1.5em 0 0;
color:#333;
}
/* Right-hand sidebar */
div.home-sidebar {
float: right;
width: 250px;
padding: 0 30px 20px 30px;
margin: 0 0 20px 20px;
}
div.home-sidebar h3 {
border-bottom: .25em solid #99c;
margin: 1.2em 0 .95em;
padding:0;
}
div.home-sidebar h3:first-child {
margin-top: 0;
}
div.home-sidebar ul {
margin: 0 0 0 0;
list-style-type: none;
padding: 0;
}
div.home-sidebar a:link,
div.home-sidebar a:visited {
border-bottom-color: transparent;
}
div.home-sidebar a:hover {
border-bottom-color: #3F438D;
}
.home-content .recentNewsEntries {
position: relative;
margin-top:3em;
}
.clear-left {
clear:left
}
.home-content .separator {
clear: left;
height:.25em;
margin-top:3em;
margin-bottom:-.25em;
background:#669;
}