angular.js/docs/src/templates/docs.css

272 lines
3.9 KiB
CSS
Raw Normal View History

2011-05-11 00:01:01 +00:00
@charset "UTF-8";
2010-11-29 19:13:08 +00:00
body {
2011-06-02 15:40:26 +00:00
background: #000 url("img/texture_1.png");
}
2011-05-11 00:01:01 +00:00
/*----- Layout Generic Styles -----*/
body,td,th {
2011-06-06 15:52:02 +00:00
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000;
margin: 0px;
2010-11-29 19:13:08 +00:00
}
2011-06-02 15:40:26 +00:00
a:link, a:visited, a:hover {
2011-06-06 15:52:02 +00:00
color: #5d6db6;
text-decoration: none;
2011-05-11 00:01:01 +00:00
}
2011-06-02 15:40:26 +00:00
2011-05-11 00:01:01 +00:00
a:active {
2011-06-06 15:52:02 +00:00
text-decoration: none;
2011-05-11 00:01:01 +00:00
}
2010-11-29 19:13:08 +00:00
2011-05-11 00:01:01 +00:00
p {
2011-06-06 15:52:02 +00:00
font-size: 14px;
padding: 0.1em 1em;
line-height: 1.4em;
}
h2 {
margin: 1.5em 0 1em 0;
2011-05-11 00:01:01 +00:00
}
2010-11-29 19:13:08 +00:00
2011-06-06 15:52:02 +00:00
h3 {
margin: 1.8em 0 1em 0;
}
2011-06-06 15:52:02 +00:00
h4 {
margin: 2em 0 1em 0;
}
2011-05-11 00:01:01 +00:00
2011-06-02 15:40:26 +00:00
/*----- Upgrade IE Prompt -----*/
2011-05-11 00:01:01 +00:00
#oldIePrompt {
margin: 0 auto;
background-color: red;
color: black;
text-align: center;
padding: 5px 0;
}
2011-06-06 15:52:02 +00:00
2011-05-11 00:01:01 +00:00
#oldIePrompt a,
#oldIePrompt a:visited {
color: yellow;
}
2011-05-11 00:01:01 +00:00
2011-06-02 15:40:26 +00:00
/*----- Global Layout -----*/
2011-05-11 00:01:01 +00:00
2011-06-02 15:40:26 +00:00
#container {
width: 1150px;
margin: 0 auto;
background: #F8AC09 url(img/yellow_bkgnd.jpg) no-repeat top left;
2010-11-29 19:13:08 +00:00
}
2011-06-02 15:40:26 +00:00
#footer {
2011-05-11 00:01:01 +00:00
clear: both;
2011-06-02 15:40:26 +00:00
padding: 2em 4em 1em;
text-align: right;
font-size: 12px;
}
2011-06-02 15:40:26 +00:00
/*----- navigation styles -----*/
2011-05-11 00:01:01 +00:00
2011-06-02 15:40:26 +00:00
#navbar {
margin: 0;
padding: 0;
list-style-type: none;
background: #7989D6;
height: 3.5em;
border-bottom: 4px solid #808080;
2011-05-11 00:01:01 +00:00
}
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
#navbar li {
display: inline;
2011-05-11 00:01:01 +00:00
}
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
#navbar a:link, #navbar a:visited {
font-size: 1.2em;
color: #FFF;
text-decoration: none;
text-align: center;
display: inline-block;
width: 11em;
margin-top: 0.4em;
padding: 0.5em 0;
}
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
#navbar a:hover {
color: #000;
2011-05-11 00:01:01 +00:00
}
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
#navbar a.current {
font-weight: bold;
background-color: #333;
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
border-radius: 10px;
-webkit-border-radius:10px;
-moz-border-radius: 10px;
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
box-shadow: 4px 4px 6px #48577D;
-webkit-box-shadow: 4px 4px 6px #48577D;
-moz-box-shadow: 4px 4px 6px #48577D;
2011-05-11 00:01:01 +00:00
}
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
#navbar a.current:hover {
color: #fff;
2011-05-11 00:01:01 +00:00
}
2011-06-02 15:40:26 +00:00
/*------ sidebar styles ------*/
2011-05-11 00:01:01 +00:00
2011-06-02 15:40:26 +00:00
#sidebar {
margin-top: 4em;
width: 15.5em;
2011-06-06 18:29:47 +00:00
padding: 0.8em 0.7em 0.7em 0.7em;
2011-06-02 15:40:26 +00:00
background: #7989D6;
overflow: hidden;
float: left;
2011-06-02 15:40:26 +00:00
-moz-box-shadow: 4px 4px 6px #48577D;
-webkit-box-shadow: 4px 4px 6px #48577D;
box-shadow: 4px 4px 6px #48577D;
2011-06-02 15:40:26 +00:00
-moz-border-radius-topright: 15px;
-webkit-border-top-right-radius: 15px;
border-top-right-radius: 15px;
2011-06-02 15:40:26 +00:00
-moz-border-radius-bottomright: 15px;
-webkit-border-bottom-right-radius: 15px;
border-bottom-right-radius: 15px;
}
2011-06-02 15:40:26 +00:00
#sidebar input {
2011-06-06 18:29:47 +00:00
width: 207px;
}
2011-05-11 00:01:01 +00:00
2011-06-02 15:40:26 +00:00
#content-list {
background: #fff;
2011-06-06 15:52:02 +00:00
padding: 1em 0.4em 1em 2em;
2011-06-02 15:40:26 +00:00
margin: 0.95em -1em -1em -0.6em;
line-height: 1.5em;
}
2011-06-02 15:40:26 +00:00
#content-list .level-0 {
2011-06-06 15:52:02 +00:00
font-size: 1.3em;
2011-06-02 15:40:26 +00:00
list-style: none;
2011-06-06 15:52:02 +00:00
margin-left: -1.2em;
padding-bottom: 0.2em;
2011-05-11 00:01:01 +00:00
}
2010-11-29 19:13:08 +00:00
2011-06-02 15:40:26 +00:00
#content-list .level-1 {
font-size: 1.1em;
font-weight: bold;
2011-05-11 00:01:01 +00:00
}
2010-11-29 19:13:08 +00:00
2011-06-02 15:40:26 +00:00
#content-list .level-2, #content-list.level-3 {
margin-left: 1em;
}
2011-06-02 15:40:26 +00:00
#content-list a.current {
font-weight: bold;
color: #000;
text-decoration: none;
}
2010-11-19 00:53:11 +00:00
2011-06-02 15:40:26 +00:00
/*----- content styles -----*/
2011-06-06 15:52:02 +00:00
2011-06-02 15:40:26 +00:00
#content-panel {
float: left;
margin-top: 4em;
margin-left: 3em;
width: 57em;
padding: 0.5em 1em 1em 1em;
background: #7989D6;
overflow: hidden;
2010-11-29 19:13:08 +00:00
2011-06-02 15:40:26 +00:00
-moz-box-shadow: 4px 4px 6px #48577D;
-webkit-box-shadow: 4px 4px 6px #48577D;
box-shadow: 4px 4px 6px #48577D;
2010-11-29 19:13:08 +00:00
2011-06-02 15:40:26 +00:00
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
2010-11-23 23:44:14 +00:00
}
2011-06-02 15:40:26 +00:00
#content-panel > h2 {
font-size: 2em;
font-weight: normal;
color: #fff;
2011-06-06 15:52:02 +00:00
margin: 0 4em 0 0;
2011-06-02 15:40:26 +00:00
height: 1em;
2010-11-23 23:44:14 +00:00
}
2011-06-02 15:40:26 +00:00
#content {
background-color: #fff;
display: block;
margin: 0.7em -1em -1em;
padding: 0.5em 1.5em;
}
2010-12-11 01:04:56 +00:00
2011-06-06 15:52:02 +00:00
#feedback {
float: right;
margin-top: -2.3em;
margin-right: 0.5em;
width: 8em;
font-size: 0.8em;
color: #fff;
}
2011-06-02 15:40:26 +00:00
#content > h1 {
display: none;
}
2010-12-11 01:04:56 +00:00
2011-06-02 15:40:26 +00:00
#content img {
display: block;
margin: 2em auto;
padding: 1em;
border: 1px solid black;
2011-05-11 00:01:01 +00:00
2011-06-02 15:40:26 +00:00
-moz-box-shadow: 4px 4px 6px #48577D;
-webkit-box-shadow: 4px 4px 6px #48577D;
box-shadow: 4px 4px 6px #48577D;
2011-05-11 00:01:01 +00:00
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
2011-06-02 15:40:26 +00:00
border-radius: 15px;
}
2011-06-06 15:52:02 +00:00
#content > div > pre {
padding-left: 1.5em;
}
#content .syntaxhighlighter {
margin: 1.5em 0 1.5em 0 !important;;
}