com web/php: Remove unused stylehseets: styles/phpnet.css styles/searchbar.css styles/theme-base.css styles/theme.css
| From: | Hannes Magnusson | Date: | Wed, 11 Dec 2013 01:23:00 +0000 |
| Subject: | com web/php: Remove unused stylehseets: styles/phpnet.css styles/searchbar.css styles/theme-base.css styles/theme.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17488@lists.php.net to get a copy of this message | ||
Commit: 109abcc997bd26a8056aab46c7577bf5ae06d0c8
Author: Hannes Magnusson <bjori@mongodb.com> Tue, 10 Dec 2013 16:39:55 -0800
Parents: ed9b61dd78f3bce7c44742bfb7bb3a7985b6f1ff
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=109abcc997bd26a8056aab46c7577bf5ae06d0c8
Log:
Remove unused stylehseets
Changed paths:
D styles/phpnet.css
D styles/searchbar.css
M styles/theme-base.css
D styles/theme.css
diff --git a/styles/phpnet.css b/styles/phpnet.css deleted file mode 100644 index 491ce77..0000000 --- a/styles/phpnet.css +++ /dev/null @@ -1,38 +0,0 @@ -/* TOC elements on manual pages ------------------------------------------- */ -ul.toc li { - background-image: url(//static.php.net/www.php.net/images/box-0.gif); -} -ul.toc li.up { - background-image: url(//static.php.net/www.php.net/images/caret-u.gif); -} -ul.toc li.home { - background-image: url(//static.php.net/www.php.net/images/caret-t.gif); -} -ul.toc li.active { - background-image: url(//static.php.net/www.php.net/images/box-1.gif); -} - -/* Sidebar backgrounds ---------------------------------------------------- */ -#layout_2, #layout_3 { - background-image: url(//static.php.net/www.php.net/images/leftbar.png); -} -#layout_3_helper { - background-image: url(//static.php.net/www.php.net/images/rightbar.png); -} - -/* Tips and warning icons, mainly used in the manual */ -div.tip { - background-image: url(//static.php.net/www.php.net/images/dialog-information.png); -} -div.warning { - background-image: url(//static.php.net/www.php.net/images/dialog-warning.png); -} - -/* Voting images ---------------------------------------------------------- */ -div#usernotes a.usernotes-voteu, -div#usernotes a.usernotes-voted, -div#usernotes a.usernotes-voteu:hover, -div#usernotes a.usernotes-voted:hover { - background-image: url(//static.php.net/www.php.net/images/notes-features.png); -} - diff --git a/styles/searchbar.css b/styles/searchbar.css deleted file mode 100644 index 2bbc86f..0000000 --- a/styles/searchbar.css +++ /dev/null @@ -1,47 +0,0 @@ -body { - margin: 0px; - padding: 0px; - background-color: white; - color: black; -} -select, input, body { - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 80%; -} -input, select { - width: 95%; - margin: 2px; -} -p.input { - margin: 5px; -} -p.copyright { - font-size: 70%; - padding: 5px; - background-color: #cccccc; - color: inherit; - border-top: 1px solid #333366; -} -h1 { - font-size: 25px; - color: black; - background-color: #9999cc; - font-weight: bold; - padding: 5px; - margin: 0px; - border-bottom: 1px solid #333366; -} -h1 a { - font-style: italic; - text-decoration: none; - color: black; - background-color: transparent; -} -a, a:visited { - color: #000099; - background-color: transparent; -} -a:active { - color: #0000ff; - background-color: transparent; -} diff --git a/styles/theme-base.css b/styles/theme-base.css index 588d844..1e3e964 100755 --- a/styles/theme-base.css +++ b/styles/theme-base.css @@ -3006,7 +3006,7 @@ div.tip p { margin: .75em 0; } -/* {{{ Examples (highlighting is in theme.css) */ +/* {{{ Examples */ .docs .example-contents { margin-bottom:.75em; diff --git a/styles/theme.css b/styles/theme.css deleted file mode 100755 index 1737acd..0000000 --- a/styles/theme.css +++ /dev/null @@ -1,943 +0,0 @@ -/** - * - * COLORS: | HEX | HSB - * ---------------+---------+--------------- - * light-purple | #c3add9 | 270, 20%, 85% - * ---------------+---------+--------------- - * medium-purple | #987db3 | 270, 30%, 70% - * ---------------+---------+--------------- - * dark-purple | #604080 | 270, 50%, 50% - * ---------------+---------+--------------- - * - */ - - -html { - background-color: #262626; -} - -body, input, textarea { - font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; -} -code, -pre.info { - font: 400 .875em / 1.5 "Source Code Pro", monospace; -} - -.docs .classsynopsis, -.docs .classsynopsis code { - font: 400 1em / 1.5 "Source Code Pro", monospace; -} - -#head-beta-warning { - padding:.25em 0; - height:1.5em; - border-bottom:.125em solid #696; - background-color: #9c9; - color:#fff; -} - -#beta-warning { - margin: 0 auto; - text-align: center; -} - -#beta-warning .blurb a, -#beta-warning .blurb strong { - color: #fff; - border-color:#fff; -} - -#beta-warning-close { - background-color: #696; - color: #fff; - font-weight: bold; - text-decoration: none; - margin: 0 0 0 .25em; - width: 1.2em; - height: 1.2em; - line-height:1.2em; - padding: 0 0.375em; - text-align: center; - -moz-border-radius: 2px; - border-radius: 2px; - border:0; -} - - -body { - font-size: 1em; - line-height: 1.5; - background:#fff; - padding-left:0; - padding-right:0; - padding-bottom:0; - margin:0; -} - -button, -input, -select, -textarea { - font-family: inherit; - font-size: 100%; - margin: 0; -} -button, -input { - line-height: normal; -} -input[type="search"] { - -webkit-appearance: textfield; - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; - box-sizing: content-box; -} - -h1 { - font-size: 1.5em; - line-height: 1; - margin:0 0 .5em; -} -h2 { - font-size: 1.25em; - line-height: 1.2; - margin:0 0 0.6em; -} -h3 { - font-size: 1.125em; - line-height: 1.333333333; - margin:0 0 0.66666666666667em; -} -p { - margin: .75em 0; -} -ul, ol { - margin:.75em 1.5em; - padding:0; -} -p:empty { - margin:0; - height:0; - display:none; -} -small { - font-size: 0.75em; - line-height: 2; -} -blockquote { - margin: .75em 0 .75em .75em; -} - -abbr { - border-bottom:1px dotted #999; - cursor: help; -} -a { - text-decoration:none; -} -h1, h1 a, h1 a:visited, h1 a:link { - color: #336; -} -h1 a:hover, -h1 a:focus { - color: #000; -} - -h2, h2 a, h2 a:visited, h2 a:link { - color: #262626; -} - -h2 a:hover, -h2 a:focus { - color: #000; -} - -h1, h2, h3, h4, h5, h6 { - font-weight:normal; - color:#336 -} - -h4, h5, h6 { - font-size:1.125em; - line-height: 1.333333333; - margin:0.666666667em 0; -} - -a:link, -a:visited { - color: #369; - border-bottom: 1px solid; -} - -a:hover, -a:focus { - color: #693; - border-bottom-color:#693; -} - -ul { - list-style-type: disc; -} - -ol { - list-style-type: decimal; -} - -hr { - margin:1.5em 0 1.25em; - border:0; - height:0; - border-top:.25em solid #99c; -} - -.navbar .brand { - margin-right:.75em; -} -.navbar .brand img { - padding:4px 0 0; - margin-bottom:-1px; - opacity:.75; -} -.navbar a { - border:0; -} - -.navbar { - border-bottom:.25em solid #669; -} - -.change-language { - float: right; - position:relative; - z-index:100; -} -.change-language p { - margin:0; -} -.change-language .select { - border-radius: 0; -} - -/** - * User notes - */ -#usernotes { - position: relative; - margin-top:1.5em; -} - -#usernotes h3.title { - border-bottom: 0.166666667em solid #669; - margin-bottom: -0.166666667em; - line-height:2.666666667; - color:#262626; -} - -#usernotes .count { - background-color: #669; - color: white; - -moz-border-radius: 4px; - border-radius: 4px; - padding: 0.333333333em .5em; - font-size: 0.666666667em; - line-height:2; - vertical-align: middle; -} - -/* Add a note buttons. */ -#usernotes .action { - display: block; - top: 1em; - right: 0; - position: absolute; - text-align: right; -} -#usernotes:target .action { - top:4.5em; -} - -#usernotes .foot { - text-align: right; - margin-bottom: 1em; -} - -/* Notes themselves. */ -#usernotes .note { - margin: .75em 0; - position: relative; -} - -#usernotes .note .votes { - float: left; -} - -#usernotes .note .name { - border-bottom: 0; - color: #444; - margin-left: 1em; - font-size: 1.125em; - line-height:1.333333333; -} - -#usernotes .note .name em { - font-style: normal; - font-weight: normal; -} - -#usernotes .note .name:hover + .genanchor { - color: black; -} - -#usernotes .note .date { - color: #666; - float: right; - text-align: right; -} - -#usernotes .note .date strong { - font-weight: normal; -} - -#usernotes .note .admin { - float: left; - padding-left: 1em; -} - -#usernotes .note .admin a { - border-bottom: 0; -} - -#usernotes .note .text { - background-color: #f2f2f2; - border-top: .125em solid #d9d9d9; - padding: .625em .75em .75em; - margin-top:.25em; - -moz-border-radius:0 0 2px 2px; - border-radius:0 0 2px 2px; - border-bottom:1px solid #d9d9d9; - box-shadow: - inset 2px 0 2px -2px #e0e0e0, - inset -2px 0 2px -2px #e0e0e0; -} - -/* Vote arrow styles. */ -#usernotes .note .votes > div:first-child { - float: left; -} - -#usernotes .note .votes > div { - float: right; -} - -#usernotes .note .votes a { - display: block; - height: 0; - width: 0; - overflow: hidden; - margin: 8px 0 0 0; - border-left: 8px solid transparent; - border-right: 8px solid transparent; - border-bottom: 0; - - -webkit-transition: border 0.4s; - -moz-transition: border 0.4s; - -o-transition: border 0.4s; - -ms-transition: border 0.4s; - transition: border 0.4s; -} - -#usernotes .note .votes .usernotes-voteu { - border-bottom: 10px solid #999; -} - -#usernotes .note .votes .usernotes-voted { - border-top: 10px solid #999; -} - -#usernotes .note .votes .usernotes-voteu:hover { - border-bottom: 10px solid #015; -} - -#usernotes .note .votes .usernotes-voted:hover { - border-top: 10px solid #015; -} - -#usernotes .note .votes .tally { - color: #262626; - padding: 0 0.3em; -} - -/* Definition lists used on eg. the unsub page */ -dl dd { - margin:0; - padding:0 1.5em; -} -dl dd p { - margin:0; -} -dl dd p + p { - margin-top: .75em; -} - - -.phpcode, div.classsynopsis { - text-align: left; -} -div.phpcode span.html { - color: black; - background-color: transparent; -} -div.phpcode span.comment { - color: #FF8000; - background-color: transparent; -} -div.classsynopsisinfo_comment { - font-weight: bold; - margin-top:.75em; -} -div.phpcode span.default { - color: #0000BB; - background-color: transparent; -} -div.phpcode span.keyword { - color: #007700; - background-color: transparent; -} -div.phpcode span.string { - color: #DD0000; - background-color: transparent; -} - -.warn { - padding: .75em 1em; - margin: 1.5em 0 1.5em 1.5em; - border-top: .1875em solid #669; - background-color: #f2f2f2; - border-radius: 0 0 2px 2px; -} -pre.info { - border: 1px solid #ddd; - margin: 1em 2em 1.3em; - margin-right: 0.8em; - background-color: #efefef; -} - -/* {{{ The anchor for section headers */ -a.genanchor:link, -a.genanchor:visited { - color: transparent; - border-bottom: none; -} -a.genanchor:hover, -a.genanchor:focus { - color: #000; - border-bottom: none; -} -/* }}} */ - -#langform { - float: right; -} - -aside.tips { - border-top: .25em solid #9999CC; -} - -aside.tips div.border { - display:none; -} - -aside.tips div.inner { - padding: .75em; - background:#eeeef6; - border-left:1px solid #e0e0e0; - border-right:1px solid #e0e0e0; - border-bottom:1px solid #d6d6dd; - border-radius: 0 0 2px 2px; -} - - -#layout { - margin: .75em auto 1.5em; - clear:both; -} - -.layout-menu { - float: left; - padding:.5em .75em 1.5em; - background-color:#f2f2f2; - border: 1px solid #e0e0e0; - border-bottom-color:#d9d9d9; - border-radius:2px; -} - - -/*#layout .refsect1[id]:before,*/ -#layout *[id]:target:before { - display:block; - content:" "; - margin-top:-56px; - height:56px; -} - -#search-results { - margin:10px 40px; -} - -#search-results li { - padding:1em 0; - list-style: none; -} - -#search-results li .result { - font-size: 1.25em; - line-height:1.2; -} - -#results_nav_list { - margin:0; - padding:1em 0; -} -#results_nav_list li { - list-style: none; - display:inline-block; -} -#results_nav_list li a { - padding:.5em .66em; -} -#results_nav_list li.current { - font-weight: bold; -} -/* Footer styling */ - -footer { - clear: both; - overflow: auto; - background-color: #262626; - border-top: .25em solid #9999CC; - padding: .75em 0; -} - -footer ul { - margin:0; - padding:0; -} - -footer .footmenu li { - display: inline; -} - -footer a { - color: #ccc; - margin: 0 .5em; -} - -footer a:link, -footer a:visited { - color: #ccc; - border-bottom: none; -} - -footer a:hover, -footer a:focus { - color: #888; - border-bottom: none; -} - - -/* Elephpant photo stream */ - -div.elephpants { - margin: auto; - overflow: hidden; -} - -div.elephpants div.images { - height: 75px; - background-color: #262626; - text-align: center; - white-space: nowrap; -} - -div.elephpants img { - width: 75px; - height: 75px; - opacity: 0.5; - -moz-opacity: 0.5; - -webkit-opacity: 0.5; - transition: all 0.25s ease-in-out; - -webkit-transition: all 0.25s ease-in-out; - -moz-transition: all 0.25s ease-in-out; -} - -div.elephpants:hover img { - opacity: 0.6; - -moz-opacity: 0.6; - -webkit-opacity: 0.6; - transition: all 0.25s ease-in-out; - -webkit-transition: all 0.25s ease-in-out; - -moz-transition: all 0.25s ease-in-out; -} - -div.elephpants img:hover, -div.elephpants img:focus { - opacity: 1; - -moz-opacity: 1; - -webkit-opacity: 1; -} - - -/* Standard Tables */ - -table { - border-collapse: collapse; - border-spacing: 0; -} -table td { - vertical-align:top; -} - -table.standard { - border-collapse: collapse; - border-style: hidden; -} - -table.standard td, table.standard th { - border: 1px solid #ddd; -} - -table.standard tr:nth-child(even) td { - background-color: #fcfcfc; -} - -table.standard th { - font-size: 1.125em; - line-height: 1.333333333; - padding: 20px 10px 5px 10px; - color: #777; - font-weight: normal; -} - -table.standard td { - padding: 5px 10px; - vertical-align: middle; -} - -table.standard tr:nth-child(even) td.subr, -table.standard tr:nth-child(even) th.subr, -table.standard tr td.subr, -table.standard tr th.subr, -table.standard tr:nth-child(even) td.sub, -table.standard tr:nth-child(even) th.sub, -table.standard tr td.sub, -table.standard tr th.sub { - background: #eeeef6; -} - -table.standard td.subr, -table.standard th.subr { - text-align: right; -} - -/* News styles. */ -.newsImage img { - margin-left: 1.5em; - margin-bottom: .75em; -} -.newsItem { - margin:0 0 .75em; - border-bottom: solid 0.25em #99c; -} -.newsItem:last-child { - border-bottom: 0; -} -.newsItem .published { - display:inline-block; - color:#666; - font-size:.75em; - line-height: 2; -} -.newsItem abbr.published { - margin-bottom:-1px; -} -.spanning-content { - width:960px; - margin: 0 auto; - clear:both; -} - -/* Search results. */ -#layout .cse table.gsc-search-box, -#layout table.gsc-search-box { - border: solid 1px #99c; -} - -#layout .cse input.gsc-input, -#layout input.gsc-input { - border: 0; -} - -#layout .cse table.gsc-search-box td, -#layout table.gsc-search-box td { - padding: 2px; -} - -#layout .cse input.gsc-search-button, -#layout input.gsc-search-button { - background: #669; - border: solid 1px #669; - border-radius: 0; - color: white; - font-size: 100%; -} - -#layout .cse .gsc-clear-button, -#layout .gsc-clear-button { - display: none; -} - -#layout .cse .gsc-tabHeader.gsc-tabhActive, -#layout .gsc-tabHeader.gsc-tabhActive, -#layout .cse .gsc-tabHeader.gsc-tabhInactive, -#layout .gsc-tabHeader.gsc-tabhInactive { - border: 0; - background-color: white; - font-size: 100%; - font-weight: bold; - margin-right: 0; - padding: 0 26px 0 13px; -} - -#layout .cse .gsc-tabHeader.gsc-tabhActive, -#layout .gsc-tabHeader.gsc-tabhActive { - background: white url(/images/sprites.png) no-repeat scroll 100% -25px; - border-bottom: solid 0.25em #669; - color: black; -} - -#layout .cse .gsc-tabHeader.gsc-tabhInactive, -#layout .gsc-tabHeader.gsc-tabhInactive { - background: white url(/images/sprites.png) no-repeat scroll 100% 5px; - border-bottom: solid 0.25em #99c; - color: #777; -} - -#layout .cse .gsc-tabHeader.gsc-tabhInactive:hover, -#layout .gsc-tabHeader.gsc-tabhInactive:hover { - border-bottom: solid 0.25em #669; - color: #444; -} - -#layout .cse .gsc-tabsArea .gs-spacer { - display: none; -} - -#layout .cse .gsc-tabsArea, -#layout .gsc-tabsArea { - border-bottom: 0; -} - -#layout .cse .gsc-above-wrapper-area, -#layout .gsc-above-wrapper-area { - border-bottom: solid 0.25em #cacaca; -} - -#layout .cse .gsc-webResult.gsc-result:hover, -#layout .gsc-webResult.gsc-result:hover { - background: #efefef; - border-left: solid 1px white; -} - -#layout .cse .gsc-result-info, -#layout .gsc-result-info, -#layout .cse .gs-webResult .gs-visibleUrl, -#layout .gs-webResult .gs-visibleUrl, -#layout .cse .gs-webResult .gs-visibleUrl-short, -#layout .gs-webResult .gs-visibleUrl-short { - color: #666; - font-weight: normal; -} - -#layout .cse .gs-result .gs-title, -#layout .gs-result .gs-title { - text-decoration: none; -} - -#layout .cse .gs-webResult.gs-result a, -#layout .gs-webResult.gs-result a, -#layout .cse .gs-webResult.gs-result a b, -#layout .gs-webResult.gs-result a b { - color: #3f438d; - text-decoration: none; -} - -#layout .cse .gs-webResult.gs-result a:focus, -#layout .gs-webResult.gs-result a:focus, -#layout .cse .gs-webResult.gs-result a:hover, -#layout .gs-webResult.gs-result a:hover, -#layout .cse .gs-webResult.gs-result a:focus b, -#layout .gs-webResult.gs-result a:focus b, -#layout .cse .gs-webResult.gs-result a:hover b, -#layout .gs-webResult.gs-result a:hover b { - color: #015; -} - -#layout .cse .gsc-cursor-box, -#layout .gsc-cursor-box { - border-top: solid 0.25em #cacaca; -} - -#layout .cse .gsc-cursor-box .gsc-cursor-page, -#layout .gsc-cursor-box .gsc-cursor-page { - color: #3f438d; - font-size: 100%; - text-decoration: none; -} - -#layout .cse .gsc-cursor-box .gsc-cursor-page.gsc-cursor-current-page, -#layout .gsc-cursor-box .gsc-cursor-page.gsc-cursor-current-page { - background: #3f438d; - color: white; -} - -#layout .cse .gs-no-results-result .gs-snippet, -#layout .gs-no-results-result .gs-snippet { - background: white; - border: 0; -} - -div.informalexample { - margin: .75em 0; -} - -.count strong { - color: white; -} - -em, strong { - font-weight: bold; - font-style: italic; - color: #262626; -} - - - -#toTop { - display:none; - text-decoration:none; - position:fixed; - bottom:.75em; - right:.75em; - overflow:hidden; - width:43px; - height:43px; - border:none; - z-index:100; -} - -#toTopHover { - display:block; - overflow:hidden; - float:left; -} - -#toTop:active,#toTop:focus { - outline:none; -} -fieldset { - margin:0; - padding:0; - border:0; -} -.navbar ul { - list-style:none; -} -.navbar a { - display:inline-block; -} - -body.downloads #layout .span6 { - word-wrap: break-word; - margin-bottom:.75em; -} - -@media (max-width:767px) { - .navbar-static-top .container, - .navbar-fixed-top .container, - .navbar-fixed-bottom .container { - width:auto; - } - .navbar-search { - float:none; - } -} -@media (min-width:768px) { - #intro .download-php h2 { - text-align:center; - } - #intro .background { - display:block; - background:rgba(255,255,255,.1); - position:absolute; - top:0; - right:0; - height:100%; - } - #topsearch { - float:right; - } - .navbar-search .search-query { - width:100%; - } - #intro .container > .row-fluid:before, - #intro .container > .row-fluid:after { - display:none; - content:none; - } - #intro .container { - position:relative; - } - #intro .container > .row-fluid { - display:table-row; - } - #intro .container > .row-fluid > div[class*=span] { - display:table-cell; - float:none; - } - #intro .container > .row-fluid > .span9 { - vertical-align:middle; - } -} -@media (max-width: 979px) and (min-width: 768px) { - #intro .download-php .row-fluid .span6 { - width:100%; - margin:0; - } - #intro .download-php a.btn-pop { - padding-right:.375em; - } -} -@media (min-width:980px) { - #intro .download-php .row-fluid { - margin-bottom:1em; - } -} -@media (min-width:1200px) { - #intro p { - line-height:1.2; - margin:0 0 1.2em; - } - body.docs .row-fluid .layout-menu.span3 { - width:18%; - } - body.docs .row-fluid #layout-content.span9 { - width:81%; - margin-left:1%; - } -} -@media (min-width:1548px) { - #layout { - padding-right:0; - } -}
diff --git a/styles/phpnet.css b/styles/phpnet.css deleted file mode 100644 index 491ce77..0000000 --- a/styles/phpnet.css +++ /dev/null @@ -1,38 +0,0 @@ -/* TOC elements on manual pages ------------------------------------------- */ -ul.toc li { - background-image: url(//static.php.net/www.php.net/images/box-0.gif); -} -ul.toc li.up { - background-image: url(//static.php.net/www.php.net/images/caret-u.gif); -} -ul.toc li.home { - background-image: url(//static.php.net/www.php.net/images/caret-t.gif); -} -ul.toc li.active { - background-image: url(//static.php.net/www.php.net/images/box-1.gif); -} - -/* Sidebar backgrounds ---------------------------------------------------- */ -#layout_2, #layout_3 { - background-image: url(//static.php.net/www.php.net/images/leftbar.png); -} -#layout_3_helper { - background-image: url(//static.php.net/www.php.net/images/rightbar.png); -} - -/* Tips and warning icons, mainly used in the manual */ -div.tip { - background-image: url(//static.php.net/www.php.net/images/dialog-information.png); -} -div.warning { - background-image: url(//static.php.net/www.php.net/images/dialog-warning.png); -} - -/* Voting images ---------------------------------------------------------- */ -div#usernotes a.usernotes-voteu, -div#usernotes a.usernotes-voted, -div#usernotes a.usernotes-voteu:hover, -div#usernotes a.usernotes-voted:hover { - background-image: url(//static.php.net/www.php.net/images/notes-features.png); -} - diff --git a/styles/searchbar.css b/styles/searchbar.css deleted file mode 100644 index 2bbc86f..0000000 --- a/styles/searchbar.css +++ /dev/null @@ -1,47 +0,0 @@ -body { - margin: 0px; - padding: 0px; - background-color: white; - color: black; -} -select, input, body { - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 80%; -} -input, select { - width: 95%; - margin: 2px; -} -p.input { - margin: 5px; -} -p.copyright { - font-size: 70%; - padding: 5px; - background-color: #cccccc; - color: inherit; - border-top: 1px solid #333366; -} -h1 { - font-size: 25px; - color: black; - background-color: #9999cc; - font-weight: bold; - padding: 5px; - margin: 0px; - border-bottom: 1px solid #333366; -} -h1 a { - font-style: italic; - text-decoration: none; - color: black; - background-color: transparent; -} -a, a:visited { - color: #000099; - background-color: transparent; -} -a:active { - color: #0000ff; - background-color: transparent; -} diff --git a/styles/theme-base.css b/styles/theme-base.css index 588d844..1e3e964 100755 --- a/styles/theme-base.css +++ b/styles/theme-base.css @@ -3006,7 +3006,7 @@ div.tip p { margin: .75em 0; } -/* {{{ Examples (highlighting is in theme.css) */ +/* {{{ Examples */ .docs .example-contents { margin-bottom:.75em; diff --git a/styles/theme.css b/styles/theme.css deleted file mode 100755 index 1737acd..0000000 --- a/styles/theme.css +++ /dev/null @@ -1,943 +0,0 @@ -/** - * - * COLORS: | HEX | HSB - * ---------------+---------+--------------- - * light-purple | #c3add9 | 270, 20%, 85% - * ---------------+---------+--------------- - * medium-purple | #987db3 | 270, 30%, 70% - * ---------------+---------+--------------- - * dark-purple | #604080 | 270, 50%, 50% - * ---------------+---------+--------------- - * - */ - - -html { - background-color: #262626; -} - -body, input, textarea { - font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; -} -code, -pre.info { - font: 400 .875em / 1.5 "Source Code Pro", monospace; -} - -.docs .classsynopsis, -.docs .classsynopsis code { - font: 400 1em / 1.5 "Source Code Pro", monospace; -} - -#head-beta-warning { - padding:.25em 0; - height:1.5em; - border-bottom:.125em solid #696; - background-color: #9c9; - color:#fff; -} - -#beta-warning { - margin: 0 auto; - text-align: center; -} - -#beta-warning .blurb a, -#beta-warning .blurb strong { - color: #fff; - border-color:#fff; -} - -#beta-warning-close { - background-color: #696; - color: #fff; - font-weight: bold; - text-decoration: none; - margin: 0 0 0 .25em; - width: 1.2em; - height: 1.2em; - line-height:1.2em; - padding: 0 0.375em; - text-align: center; - -moz-border-radius: 2px; - border-radius: 2px; - border:0; -} - - -body { - font-size: 1em; - line-height: 1.5; - background:#fff; - padding-left:0; - padding-right:0; - padding-bottom:0; - margin:0; -} - -button, -input, -select, -textarea { - font-family: inherit; - font-size: 100%; - margin: 0; -} -button, -input { - line-height: normal; -} -input[type="search"] { - -webkit-appearance: textfield; - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; - box-sizing: content-box; -} - -h1 { - font-size: 1.5em; - line-height: 1; - margin:0 0 .5em; -} -h2 { - font-size: 1.25em; - line-height: 1.2; - margin:0 0 0.6em; -} -h3 { - font-size: 1.125em; - line-height: 1.333333333; - margin:0 0 0.66666666666667em; -} -p { - margin: .75em 0; -} -ul, ol { - margin:.75em 1.5em; - padding:0; -} -p:empty { - margin:0; - height:0; - display:none; -} -small { - font-size: 0.75em; - line-height: 2; -} -blockquote { - margin: .75em 0 .75em .75em; -} - -abbr { - border-bottom:1px dotted #999; - cursor: help; -} -a { - text-decoration:none; -} -h1, h1 a, h1 a:visited, h1 a:link { - color: #336; -} -h1 a:hover, -h1 a:focus { - color: #000; -} - -h2, h2 a, h2 a:visited, h2 a:link { - color: #262626; -} - -h2 a:hover, -h2 a:focus { - color: #000; -} - -h1, h2, h3, h4, h5, h6 { - font-weight:normal; - color:#336 -} - -h4, h5, h6 { - font-size:1.125em; - line-height: 1.333333333; - margin:0.666666667em 0; -} - -a:link, -a:visited { - color: #369; - border-bottom: 1px solid; -} - -a:hover, -a:focus { - color: #693; - border-bottom-color:#693; -} - -ul { - list-style-type: disc; -} - -ol { - list-style-type: decimal; -} - -hr { - margin:1.5em 0 1.25em; - border:0; - height:0; - border-top:.25em solid #99c; -} - -.navbar .brand { - margin-right:.75em; -} -.navbar .brand img { - padding:4px 0 0; - margin-bottom:-1px; - opacity:.75; -} -.navbar a { - border:0; -} - -.navbar { - border-bottom:.25em solid #669; -} - -.change-language { - float: right; - position:relative; - z-index:100; -} -.change-language p { - margin:0; -} -.change-language .select { - border-radius: 0; -} - -/** - * User notes - */ -#usernotes { - position: relative; - margin-top:1.5em; -} - -#usernotes h3.title { - border-bottom: 0.166666667em solid #669; - margin-bottom: -0.166666667em; - line-height:2.666666667; - color:#262626; -} - -#usernotes .count { - background-color: #669; - color: white; - -moz-border-radius: 4px; - border-radius: 4px; - padding: 0.333333333em .5em; - font-size: 0.666666667em; - line-height:2; - vertical-align: middle; -} - -/* Add a note buttons. */ -#usernotes .action { - display: block; - top: 1em; - right: 0; - position: absolute; - text-align: right; -} -#usernotes:target .action { - top:4.5em; -} - -#usernotes .foot { - text-align: right; - margin-bottom: 1em; -} - -/* Notes themselves. */ -#usernotes .note { - margin: .75em 0; - position: relative; -} - -#usernotes .note .votes { - float: left; -} - -#usernotes .note .name { - border-bottom: 0; - color: #444; - margin-left: 1em; - font-size: 1.125em; - line-height:1.333333333; -} - -#usernotes .note .name em { - font-style: normal; - font-weight: normal; -} - -#usernotes .note .name:hover + .genanchor { - color: black; -} - -#usernotes .note .date { - color: #666; - float: right; - text-align: right; -} - -#usernotes .note .date strong { - font-weight: normal; -} - -#usernotes .note .admin { - float: left; - padding-left: 1em; -} - -#usernotes .note .admin a { - border-bottom: 0; -} - -#usernotes .note .text { - background-color: #f2f2f2; - border-top: .125em solid #d9d9d9; - padding: .625em .75em .75em; - margin-top:.25em; - -moz-border-radius:0 0 2px 2px; - border-radius:0 0 2px 2px; - border-bottom:1px solid #d9d9d9; - box-shadow: - inset 2px 0 2px -2px #e0e0e0, - inset -2px 0 2px -2px #e0e0e0; -} - -/* Vote arrow styles. */ -#usernotes .note .votes > div:first-child { - float: left; -} - -#usernotes .note .votes > div { - float: right; -} - -#usernotes .note .votes a { - display: block; - height: 0; - width: 0; - overflow: hidden; - margin: 8px 0 0 0; - border-left: 8px solid transparent; - border-right: 8px solid transparent; - border-bottom: 0; - - -webkit-transition: border 0.4s; - -moz-transition: border 0.4s; - -o-transition: border 0.4s; - -ms-transition: border 0.4s; - transition: border 0.4s; -} - -#usernotes .note .votes .usernotes-voteu { - border-bottom: 10px solid #999; -} - -#usernotes .note .votes .usernotes-voted { - border-top: 10px solid #999; -} - -#usernotes .note .votes .usernotes-voteu:hover { - border-bottom: 10px solid #015; -} - -#usernotes .note .votes .usernotes-voted:hover { - border-top: 10px solid #015; -} - -#usernotes .note .votes .tally { - color: #262626; - padding: 0 0.3em; -} - -/* Definition lists used on eg. the unsub page */ -dl dd { - margin:0; - padding:0 1.5em; -} -dl dd p { - margin:0; -} -dl dd p + p { - margin-top: .75em; -} - - -.phpcode, div.classsynopsis { - text-align: left; -} -div.phpcode span.html { - color: black; - background-color: transparent; -} -div.phpcode span.comment { - color: #FF8000; - background-color: transparent; -} -div.classsynopsisinfo_comment { - font-weight: bold; - margin-top:.75em; -} -div.phpcode span.default { - color: #0000BB; - background-color: transparent; -} -div.phpcode span.keyword { - color: #007700; - background-color: transparent; -} -div.phpcode span.string { - color: #DD0000; - background-color: transparent; -} - -.warn { - padding: .75em 1em; - margin: 1.5em 0 1.5em 1.5em; - border-top: .1875em solid #669; - background-color: #f2f2f2; - border-radius: 0 0 2px 2px; -} -pre.info { - border: 1px solid #ddd; - margin: 1em 2em 1.3em; - margin-right: 0.8em; - background-color: #efefef; -} - -/* {{{ The anchor for section headers */ -a.genanchor:link, -a.genanchor:visited { - color: transparent; - border-bottom: none; -} -a.genanchor:hover, -a.genanchor:focus { - color: #000; - border-bottom: none; -} -/* }}} */ - -#langform { - float: right; -} - -aside.tips { - border-top: .25em solid #9999CC; -} - -aside.tips div.border { - display:none; -} - -aside.tips div.inner { - padding: .75em; - background:#eeeef6; - border-left:1px solid #e0e0e0; - border-right:1px solid #e0e0e0; - border-bottom:1px solid #d6d6dd; - border-radius: 0 0 2px 2px; -} - - -#layout { - margin: .75em auto 1.5em; - clear:both; -} - -.layout-menu { - float: left; - padding:.5em .75em 1.5em; - background-color:#f2f2f2; - border: 1px solid #e0e0e0; - border-bottom-color:#d9d9d9; - border-radius:2px; -} - - -/*#layout .refsect1[id]:before,*/ -#layout *[id]:target:before { - display:block; - content:" "; - margin-top:-56px; - height:56px; -} - -#search-results { - margin:10px 40px; -} - -#search-results li { - padding:1em 0; - list-style: none; -} - -#search-results li .result { - font-size: 1.25em; - line-height:1.2; -} - -#results_nav_list { - margin:0; - padding:1em 0; -} -#results_nav_list li { - list-style: none; - display:inline-block; -} -#results_nav_list li a { - padding:.5em .66em; -} -#results_nav_list li.current { - font-weight: bold; -} -/* Footer styling */ - -footer { - clear: both; - overflow: auto; - background-color: #262626; - border-top: .25em solid #9999CC; - padding: .75em 0; -} - -footer ul { - margin:0; - padding:0; -} - -footer .footmenu li { - display: inline; -} - -footer a { - color: #ccc; - margin: 0 .5em; -} - -footer a:link, -footer a:visited { - color: #ccc; - border-bottom: none; -} - -footer a:hover, -footer a:focus { - color: #888; - border-bottom: none; -} - - -/* Elephpant photo stream */ - -div.elephpants { - margin: auto; - overflow: hidden; -} - -div.elephpants div.images { - height: 75px; - background-color: #262626; - text-align: center; - white-space: nowrap; -} - -div.elephpants img { - width: 75px; - height: 75px; - opacity: 0.5; - -moz-opacity: 0.5; - -webkit-opacity: 0.5; - transition: all 0.25s ease-in-out; - -webkit-transition: all 0.25s ease-in-out; - -moz-transition: all 0.25s ease-in-out; -} - -div.elephpants:hover img { - opacity: 0.6; - -moz-opacity: 0.6; - -webkit-opacity: 0.6; - transition: all 0.25s ease-in-out; - -webkit-transition: all 0.25s ease-in-out; - -moz-transition: all 0.25s ease-in-out; -} - -div.elephpants img:hover, -div.elephpants img:focus { - opacity: 1; - -moz-opacity: 1; - -webkit-opacity: 1; -} - - -/* Standard Tables */ - -table { - border-collapse: collapse; - border-spacing: 0; -} -table td { - vertical-align:top; -} - -table.standard { - border-collapse: collapse; - border-style: hidden; -} - -table.standard td, table.standard th { - border: 1px solid #ddd; -} - -table.standard tr:nth-child(even) td { - background-color: #fcfcfc; -} - -table.standard th { - font-size: 1.125em; - line-height: 1.333333333; - padding: 20px 10px 5px 10px; - color: #777; - font-weight: normal; -} - -table.standard td { - padding: 5px 10px; - vertical-align: middle; -} - -table.standard tr:nth-child(even) td.subr, -table.standard tr:nth-child(even) th.subr, -table.standard tr td.subr, -table.standard tr th.subr, -table.standard tr:nth-child(even) td.sub, -table.standard tr:nth-child(even) th.sub, -table.standard tr td.sub, -table.standard tr th.sub { - background: #eeeef6; -} - -table.standard td.subr, -table.standard th.subr { - text-align: right; -} - -/* News styles. */ -.newsImage img { - margin-left: 1.5em; - margin-bottom: .75em; -} -.newsItem { - margin:0 0 .75em; - border-bottom: solid 0.25em #99c; -} -.newsItem:last-child { - border-bottom: 0; -} -.newsItem .published { - display:inline-block; - color:#666; - font-size:.75em; - line-height: 2; -} -.newsItem abbr.published { - margin-bottom:-1px; -} -.spanning-content { - width:960px; - margin: 0 auto; - clear:both; -} - -/* Search results. */ -#layout .cse table.gsc-search-box, -#layout table.gsc-search-box { - border: solid 1px #99c; -} - -#layout .cse input.gsc-input, -#layout input.gsc-input { - border: 0; -} - -#layout .cse table.gsc-search-box td, -#layout table.gsc-search-box td { - padding: 2px; -} - -#layout .cse input.gsc-search-button, -#layout input.gsc-search-button { - background: #669; - border: solid 1px #669; - border-radius: 0; - color: white; - font-size: 100%; -} - -#layout .cse .gsc-clear-button, -#layout .gsc-clear-button { - display: none; -} - -#layout .cse .gsc-tabHeader.gsc-tabhActive, -#layout .gsc-tabHeader.gsc-tabhActive, -#layout .cse .gsc-tabHeader.gsc-tabhInactive, -#layout .gsc-tabHeader.gsc-tabhInactive { - border: 0; - background-color: white; - font-size: 100%; - font-weight: bold; - margin-right: 0; - padding: 0 26px 0 13px; -} - -#layout .cse .gsc-tabHeader.gsc-tabhActive, -#layout .gsc-tabHeader.gsc-tabhActive { - background: white url(/images/sprites.png) no-repeat scroll 100% -25px; - border-bottom: solid 0.25em #669; - color: black; -} - -#layout .cse .gsc-tabHeader.gsc-tabhInactive, -#layout .gsc-tabHeader.gsc-tabhInactive { - background: white url(/images/sprites.png) no-repeat scroll 100% 5px; - border-bottom: solid 0.25em #99c; - color: #777; -} - -#layout .cse .gsc-tabHeader.gsc-tabhInactive:hover, -#layout .gsc-tabHeader.gsc-tabhInactive:hover { - border-bottom: solid 0.25em #669; - color: #444; -} - -#layout .cse .gsc-tabsArea .gs-spacer { - display: none; -} - -#layout .cse .gsc-tabsArea, -#layout .gsc-tabsArea { - border-bottom: 0; -} - -#layout .cse .gsc-above-wrapper-area, -#layout .gsc-above-wrapper-area { - border-bottom: solid 0.25em #cacaca; -} - -#layout .cse .gsc-webResult.gsc-result:hover, -#layout .gsc-webResult.gsc-result:hover { - background: #efefef; - border-left: solid 1px white; -} - -#layout .cse .gsc-result-info, -#layout .gsc-result-info, -#layout .cse .gs-webResult .gs-visibleUrl, -#layout .gs-webResult .gs-visibleUrl, -#layout .cse .gs-webResult .gs-visibleUrl-short, -#layout .gs-webResult .gs-visibleUrl-short { - color: #666; - font-weight: normal; -} - -#layout .cse .gs-result .gs-title, -#layout .gs-result .gs-title { - text-decoration: none; -} - -#layout .cse .gs-webResult.gs-result a, -#layout .gs-webResult.gs-result a, -#layout .cse .gs-webResult.gs-result a b, -#layout .gs-webResult.gs-result a b { - color: #3f438d; - text-decoration: none; -} - -#layout .cse .gs-webResult.gs-result a:focus, -#layout .gs-webResult.gs-result a:focus, -#layout .cse .gs-webResult.gs-result a:hover, -#layout .gs-webResult.gs-result a:hover, -#layout .cse .gs-webResult.gs-result a:focus b, -#layout .gs-webResult.gs-result a:focus b, -#layout .cse .gs-webResult.gs-result a:hover b, -#layout .gs-webResult.gs-result a:hover b { - color: #015; -} - -#layout .cse .gsc-cursor-box, -#layout .gsc-cursor-box { - border-top: solid 0.25em #cacaca; -} - -#layout .cse .gsc-cursor-box .gsc-cursor-page, -#layout .gsc-cursor-box .gsc-cursor-page { - color: #3f438d; - font-size: 100%; - text-decoration: none; -} - -#layout .cse .gsc-cursor-box .gsc-cursor-page.gsc-cursor-current-page, -#layout .gsc-cursor-box .gsc-cursor-page.gsc-cursor-current-page { - background: #3f438d; - color: white; -} - -#layout .cse .gs-no-results-result .gs-snippet, -#layout .gs-no-results-result .gs-snippet { - background: white; - border: 0; -} - -div.informalexample { - margin: .75em 0; -} - -.count strong { - color: white; -} - -em, strong { - font-weight: bold; - font-style: italic; - color: #262626; -} - - - -#toTop { - display:none; - text-decoration:none; - position:fixed; - bottom:.75em; - right:.75em; - overflow:hidden; - width:43px; - height:43px; - border:none; - z-index:100; -} - -#toTopHover { - display:block; - overflow:hidden; - float:left; -} - -#toTop:active,#toTop:focus { - outline:none; -} -fieldset { - margin:0; - padding:0; - border:0; -} -.navbar ul { - list-style:none; -} -.navbar a { - display:inline-block; -} - -body.downloads #layout .span6 { - word-wrap: break-word; - margin-bottom:.75em; -} - -@media (max-width:767px) { - .navbar-static-top .container, - .navbar-fixed-top .container, - .navbar-fixed-bottom .container { - width:auto; - } - .navbar-search { - float:none; - } -} -@media (min-width:768px) { - #intro .download-php h2 { - text-align:center; - } - #intro .background { - display:block; - background:rgba(255,255,255,.1); - position:absolute; - top:0; - right:0; - height:100%; - } - #topsearch { - float:right; - } - .navbar-search .search-query { - width:100%; - } - #intro .container > .row-fluid:before, - #intro .container > .row-fluid:after { - display:none; - content:none; - } - #intro .container { - position:relative; - } - #intro .container > .row-fluid { - display:table-row; - } - #intro .container > .row-fluid > div[class*=span] { - display:table-cell; - float:none; - } - #intro .container > .row-fluid > .span9 { - vertical-align:middle; - } -} -@media (max-width: 979px) and (min-width: 768px) { - #intro .download-php .row-fluid .span6 { - width:100%; - margin:0; - } - #intro .download-php a.btn-pop { - padding-right:.375em; - } -} -@media (min-width:980px) { - #intro .download-php .row-fluid { - margin-bottom:1em; - } -} -@media (min-width:1200px) { - #intro p { - line-height:1.2; - margin:0 0 1.2em; - } - body.docs .row-fluid .layout-menu.span3 { - width:18%; - } - body.docs .row-fluid #layout-content.span9 { - width:81%; - margin-left:1%; - } -} -@media (min-width:1548px) { - #layout { - padding-right:0; - } -}