Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add colorful shininess
- Loading branch information
Showing
7 changed files
with
139 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,108 @@ | ||
| html, body { | ||
| margin: 0; | ||
| background: #EFEFEF; | ||
| } | ||
|
|
||
| html { | ||
| padding: 0; | ||
| width: 100%; | ||
| } | ||
|
|
||
| body { | ||
| padding: 0 2em; | ||
| width: auto; | ||
| } | ||
|
|
||
| h1:first-child { | ||
| margin-top: 0; | ||
| } | ||
|
|
||
| pre { | ||
| background-color: #f4f4f8; | ||
| border: 1px solid #ededf2; | ||
| background-color: #F4F4F8; | ||
| border: 1px solid #EDEDF2; | ||
| padding: 0.6ex; | ||
| } | ||
|
|
||
| img { | ||
| max-width: 100%; | ||
| } | ||
|
|
||
| .pretty-box { | ||
| border: 0.2em solid; | ||
| background-style: solid; | ||
| border-radius: 1em; | ||
| box-shadow: 0.5em 0.5em 1em #888888; | ||
| padding: 2em; | ||
| } | ||
|
|
||
| #header { | ||
| font-family: sans-serif; | ||
| font-weight: bold; | ||
| border-radius: 0 0 4em 4em; | ||
| margin: -2em auto 0; /*extra top padding and negative margin preserves bleed-off illusion for shadow*/ | ||
| padding: 3em 3em 1em; | ||
| line-height: 2em; | ||
| overflow: hidden; | ||
| background: #C0E472; | ||
| border-color: #8BC313; | ||
| border-top: none; | ||
| } | ||
|
|
||
| #header a { | ||
| float: left; | ||
| color: #000000; | ||
| text-decoration: none; | ||
| font-size: 2em; | ||
| } | ||
|
|
||
| #header #search { | ||
| float: right; | ||
| width: 42%; | ||
| min-width: 18em; | ||
| } | ||
|
|
||
| #header #search label { | ||
| float: left; | ||
| font-size: 1.25em; | ||
| } | ||
|
|
||
| #query { | ||
| z-index: 100; | ||
| position: relative; | ||
| } | ||
|
|
||
| #search div { | ||
| overflow: hidden; | ||
| border: 0.1em solid #8BC313; | ||
| border-radius: 0.5em; | ||
| padding: 0 0.5em; | ||
| background-color: #FFFFFF; | ||
| } | ||
|
|
||
| #header #query { | ||
| outline: none; | ||
| border: none; | ||
| margin: 0; | ||
| padding: 0; | ||
| width: 100%; | ||
| } | ||
|
|
||
| #content { | ||
| margin: 2em auto; | ||
| overflow: hidden; | ||
| max-width: 800px; | ||
| background: #FFFFFF; | ||
| border-color: #F2C100; | ||
| } | ||
|
|
||
| #footer { | ||
| margin: 0 auto; | ||
| padding: 0 1em 0; | ||
| overflow: hidden; | ||
| background: #E47286; | ||
| border-color: #E43B59; | ||
| border-bottom: none; | ||
| border-bottom-left-radius: 0; | ||
| border-bottom-right-radius: 0; | ||
| } | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| </div> | ||
| <div id="footer" class="pretty-box"> | ||
| CONTENT | ||
| </div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| <link rel="icon" href="/favicon.ico" type="favicon.ico" /> | ||
| <link rel="stylesheet" type="text/css" href="/style.css" media="screen" title="default" /> | ||
| <link type="text/css" href="/css/custom-theme/jquery-ui-1.8.21.custom.css" rel="stylesheet" /> | ||
| <script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script> | ||
| <script type="text/javascript" src="/js/jquery-ui-1.8.21.custom.min.js"></script> | ||
| <script type="text/javascript"> | ||
| function search_select (url) { | ||
| window.location.href = url; | ||
| } | ||
| search_position = { my: "right top", at: "right bottom", collision: "none" }; | ||
| </script> | ||
| <script type="text/javascript" src="/js/search.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| <div id="header" class="pretty-box"> | ||
| <a href="/">Perl 6 Documentation</a> | ||
| <div id="search" class="ui-widget"> | ||
| <label for="query">Search </label> | ||
| <div><input id="query" title="Enter Perl 6 document to search for"></div> | ||
| </div> | ||
| </div> | ||
| <div id="content" class="pretty-box"> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.