Archived
1
0
Fork 0
This repository has been archived on 2026-05-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
fiktivkod/public/css/default.css
2010-10-02 12:53:29 +02:00

250 lines
4.5 KiB
CSS

body,input,textarea { font: normal 12px "Verdana"; }
body {
background: url('../img/bg.png') repeat-x;
background-color: #fcfcfc;
color: #443;
}
h1,h2,h3,h4,h5,h6 { margin: 0 0 5px; }
h1,h2 { margin: 10px 0 0; font: normal 2.2em Arial; color: #464e64; }
h2 { border-bottom: solid 1px #c4cde3; }
h3 { font: normal 1.6em "Verdana, Helvetica"; }
p { line-height: 1.6em; padding: 0 0 8px; }
code {
font-size: 1.2em;
padding: 8px;
margin: 15px;
border-left: 5px solid #f1f1f1;
}
a { text-decoration: none; }
a:link, a:visited { color: blue; }
a:hover, a:active { color: #516593; }
div { margin: 0; }
img { border: 0; margin: 0; padding: 0; }
form { margin: 0; }
label {
text-align: right;
width: 80px;
padding: 5px .6em;
margin: 2px 0;
float: left;
}
label.required { font-weight: bold; }
label.optional { color: gray }
input[type="text"],
input[type="password"],
textarea {
color: #555;
width: 200px;
background-image: url('../img/elements/textbox.png');
background-repeat: repeat-x;
background-position: top;
border: 1px solid #ccc;
margin: .2em;
padding: 5px 3px;
}
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
color: black;
background: white;
border: 1px solid #999;
}
textarea {
height: 80px;
overflow: auto;
}
.float-left { float: left }
.float-right { float: right }
.float-clear { clear: both }
div#wrapper {
padding: 0 25px;
margin: 0 auto 75px;
}
div#wrapper.small {
width: 780px;
}
div#header { height: 80px; }
div#header span#logo {
display: block;
background: url('../img/header.png') no-repeat;
width: 200px;
height: 45px;
position: relative;
top: 25px;
left: 10px;
}
/* Navigation */
#nav {
background: url('../img/menu.png') repeat-x;
color: white;
height: 22px;
padding: 8px 12px 0;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
-khtml-border-radius: 8px;
border-radius: 8px;
}
#nav.wsub {
-webkit-border-bottom-right-radius: 0;
-webkit-border-bottom-left-radius: 0;
-moz-border-radius-bottomright: 0;
-moz-border-radius-bottomleft: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
ul.subnav {
background: url('../img/submenu.png') repeat-x;
height: 20px;
padding: 5px 12px 0;
border-style: solid;
border-color: #ccc;
border-width: 0 1px 1px 1px;
-webkit-border-bottom-right-radius: 8px;
-webkit-border-bottom-left-radius: 8px;
-moz-border-radius-bottomright: 8px;
-moz-border-radius-bottomleft: 8px;
border-bottom-right-radius: 8px;
border-bottom-left-radius: 8px;
}
#nav a {
color: white;
font-weight: bold;
}
ul.subnav, ul.subnav a {
color: #444;
}
#nav ul { float: left }
#nav ul li,
ul.subnav li {
display: inline;
margin: 0 1.2em 0 0;
text-transform : capitalize;
}
#nav li.active a,
#nav li a:hover,
ul.subnav li.active a,
ul.subnav li a:hover {
text-decoration: underline;
}
/* Message */
p.message, p.notify, p.bail {
width: 480px;
padding: 8px;
margin: 0px auto 18px;
text-align: center;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
p.message {
background: #d6e4ff;
border: 1px solid #5F78A9;
}
p.notify {
background: #ffffcc;
border: 1px solid #ffd700;
}
p.bail {
background: #fdc4c4;
border: 1px solid #fc9595;
}
/* Font Colors */
.white { color: white }
.black { color: black }
.gray { color: gray }
.red { color: red }
.green { color: green }
.blue { color: blue }
.yellow { color: yellow }
.purple { color: purple }
/* Alignment */
.float-left { float: left; }
.float-right { float: right; }
.clear { clear: both; }
.center { text-align: center; }
/* Index */
div#foreword {
width: 435px;
text-align: justify;
float: left;
}
div#foreword a {
display: block;
margin: 8px 5px;
padding: 4px 10px;
border: 1px solid #d6dbe3;
}
/* Grid */
table.grid { padding: 8px; }
table.grid,
table.grid td,
table.grid th {
border: 1px solid #bcbcbc;
border-collapse: collapse;
}
table.grid th { background: #f1f1f1 }
table.grid th, table.grid td { padding: .5em .6em; }
div#agrement {
background: #f9f9f9;
text-align: left;
width: 600px;
padding: 8px;
margin: 0 auto 15px;
border: 1px solid #f1f1f1;
}
/* Footer */
#footer {
border-top: 1px solid #bcbcbc;
height: 20px;
text-align: center;
padding: 8px 15px 0;
margin: 25px auto auto;
}
#footer, #footer a { color: #999 }
#footer a:hover { color: #333 }