5:46 am GMT
Examples
Examples » CSS
/**
* GeSHi stylesheet
* ----------------
* Author: Oracle
* Copyright: (c) 2004
*
* Main stylesheet for the GeSHi project
*/
/* General body styles */
body {
margin: 10px;
font-family: Verdana, Arial, sans-serif;
font-size: 90%;
background-color: #fcfcfc;
}
/* Default link styles */
a:link, a:visited {
color: #0000ff;
}
a:hover {
color: #6666ff;
}
/* Page header styles */
#header {
width: 100%;
border-spacing: 0;
}
#top-left {
padding: 0;
}
#top-left img {
border: 0;
}
#top-right {
text-align: right;
vertical-align: bottom;
padding: 0;
}
/* lhs styles, including left navigation */
#lhs-spacer {
border-top: 3px double #c6c6c6;
width: 5px;
}
#lhs {
width: 18%;
vertical-align: top;
font-size: 90%;
border-left: 2px dashed #c6c6c6;
border-right: 2px dashed #c6c6c6;
border-top: 3px double #c6c6c6;
background-color: #f3f3f3;
}
#lhs table {
width: 100%;
}
#lhs table th {
text-align: left;
font-size: 100%;
background-color: #ececec;
border-top: 1px solid #d6d6d6;
border-bottom: 1px solid #d6d6d6;
color: #303030;
padding-left: 2px;
}
#left-nav a {
display: block;
padding: 1px 0 1px 20px;
color: #808080;
border-bottom: 1px solid #f3f3f3;
background: transparent url('../images/nav-default.gif') 3px 50% no-repeat;
}
#left-nav a:hover {
background-color: #f0f0f6;
color: #8080c0;
border-bottom: 1px solid #e6e6f0;
background: #f3f3f9 url('../images/nav-hover.gif') 3px 50% no-repeat;
}
#project-status {
margin-top: 5px;
}
#project-status td {
padding: 4px;
}
#lhs-links img {
border: 0;
}
#hot-scripts {
width: 180px;
border: 1px solid #fa0933;
padding: 2px;
border-spacing: 0;
background-color: #ffdddd;
text-align: center;
color: #664444;
}
#main {
border-spacing: 0;
}
/* Navigation menu styles */
#top-nav {
text-align: right;
font: 75% bold Arial, sans-serif;
text-transform: uppercase;
border-top: 3px double #c6c6c6;
padding: 0;
height: 2em;
}
#top-nav a {
border-bottom: 1px solid #c6c6c6;
border-left: 1px solid #c6c6c6;
padding: 5px 3px 2px 3px;
}
#top-nav a:link, #top-nav a:visited {
color: #303030;
text-decoration: none;
}
#top-nav a:hover {
background-color: #f0f0f0;
}
#last-link {
border-right: 1px solid #c6c6c6;
}
#info-box {
float: right;
font-size: 90%;
font-weight: bold;
color: #808080;
padding-top: 8px;
}
/* Styles for page content */
#content {
padding: 0 1em 1em;
font-size: 85%;
line-height: 150%;
vertical-align: top;
width: 81%;
}
/* Some simple default styles for common tags */
h3, h4, h5, h6 {
font-family: Arial, sans-serif;
margin-bottom: .3em;
margin-top: .3em;
color: #363636;
}
h3 {
font-size: 175%;
}
h4 {
font-size: 150%;
}
h5 {
font-size: 125%;
}
h6 {
font-size: 100%;
}
hr {
height: 0;
border: 0;
border-top: 1px dotted #808080;
margin: 0 2em;
width: auto;
}
ul {
list-style-image: url('../images/nav-default.gif');
}
fieldset {
border: 1px dotted gray;
background-color: #f0f0f0;
margin-bottom: .5em;
}
legend {
font-weight: bold;
background-color: #f9f9f9;
border: 1px solid #a0a0a0;
border-width: 1px 2px 2px 1px;
}
textarea {
font-family: 'Courier New', Courier, monospace;
font-size: 90%;
}
.note {
vertical-align: super;
font-size: 80%;
font-weight: normal;
padding-left: 2px;
}
acronym {
border-bottom: 1px dotted gray;
font-style: normal;
}
em {
font-style: italic;
}
/* Demo Input styles - colour etc */
.black {
color: black;
}
.darkblue {
color: #000066;
}
.blue {
color: #0000bb;
}
.lightblue {
color: #0000ff;
}
.darkred {
color: #660000;
}
.red {
color: #bb0000;
}
.lightred {
color: #ff0000;
}
.darkgreen {
color: #006600;
}
.green {
color: #00bb00;
}
.lightgreen {
color: #00ff00;
}
.darkyellow {
color: #666600;
}
.yellow {
color: #bbbb00;
}
.lightyellow {
color: #ffff00;
}
.darkgrey {
color: #666666;
}
.grey {
color: gray;
}
.lightgrey {
color: #bbbbbb;
}
.purple {
color: purple;
}
.sublang {
font-size: 90%;
}
.help {
font-size: 80%;
}
.tehTable {
width: 98%;
margin: 0 auto;
}
.tehTable th {
background-color: #d6d6d6;
color: #363636;
}
.tehTable td {
background-color: #f6f6f6;
}
.tehTable td.inputTD {
text-align: center;
}
#notSoMuchWidth {
margin: 0;
}
#options td {
vertical-align: top;
width: 50%;
padding: 4px;
}
fieldset.submit {
text-align: center;
}
/* PAGE STYLES */
/* index */
#index-lhs {
vertical-align: top;
padding-right: 15px;
}
#index-rhs {
vertical-align: top;
width: 300px;
}
#index-rhs textarea {
width: 300px;
height: 185px;
}
#index-rhs img {
border: 1px solid #c6c6c6;
}
#demo-form {
font-size: 95%;
width: 300px;
text-align: center;
}
#runtime-example {
width: 300px;
}
/* news */
.news-item {
border: 1px solid #c6c6c6;
padding: 3px;
color: #606060;
background-color: #f4f4f4;
margin-bottom: .5em;
}
.news-item h6 {
border-bottom: 1px dotted #c6c6c6;
}
.news-item span.news-date {
font-size: 85%;
font-weight: bold;
}
.pagination {
text-align: right;
font-size: 90%;
font-weight: bold;
color: #808080;
}
/* liscence */
.liscence-header {
text-align: center;
}
/* faq */
.faq-item-links {
margin-left: 2em;
}
.faq-item-links, .faq-item-links a {
font-size: 90%;
color: #808080;
}
/* examples */
#example-sections {
margin: 0 auto;
background-color: #e0e0e0;
width: 80%;
}
#example-sections th {
background-color: #e6e6e6;
color: #505050;
text-align: center;
font-weight: bold;
}
#example-sections td {
background-color: #f0f0f0;
}
#example-sections td.center {
text-align: center;
font-weight: bold;
color: #505050;
}
/* Footer styles */
#footer {
font-size: 75%;
text-align: center;
padding: .5em;
background-color: #f3f3f3;
border-top: 3px double #c6c6c6;
border-bottom: 1px solid #c6c6c6;
color: #585858;
width: 99%;
}
#footer img {
border: 0;
}
This category contains 2
examples, and has been viewed 49914 times.
|