CSS

James Kanjo » Source Code

Source Code

This is my CSS coding I have used on this site.

The coolest part about this page is that instead of viewing the source code, you can view the history of CSS changes! View History

/*    © James Kanjo 2011    */
/*     All Rights Reserved    */
 
body {
    background: #780000 url(http://jkarchive.wdfiles.com/local--files/files/jameskanjo-redbg.jpg) repeat-x left top;
}
 
#container-wrap {
    margin: 0 auto;
}
 
#header {
    width: 200px;
}
 
#header h1,
#header h2 {
    padding: 25px 20px 25px 0;
    width: 180px;
    text-align: right;
}
 
#header h2 {
    font-size: 120%;
    padding: 0;
    margin-top: -20px;
    margin-bottom: 40px;
}
 
#container-wrap-wrap a {
    color: #FFF;
}
 
#container-wrap-wrap a:hover {
    background-color: transparent;
}
 
#search-top-box {
    display: none;
}
 
#login-status {
    position: static;
    margin-top: -26px;
    width: 200px;
    text-align: center;
}
 
#login-status a {
    background-color: transparent;
}
 
#login-status .printuser a {
    display: none;
}
 
#login-status .printuser + a {
    display: none;
}
 
#account-options {
    position: static;
    width: 100px;
    margin-left: 98px;
}
 
#top-bar {
    width: 820px;
    margin-left: 200px;
    right: auto;
    bottom: auto;
    top: 0;
    text-align: center;
    z-index: 0;
}
 
#top-bar ul {
    display: inline-block;
}
 
#top-bar li {
    font-weight: bold;
    background-color: #E5E5E5;
    border: 2px solid transparent;
    border-style: none solid solid;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    -webkit-border-bottom-left-radius: 15px;
    -webkit-border-bottom-right-radius: 15px;
    -moz-border-radius-bottomleft: 15px;
    -moz-border-radius-bottomright: 15px;
}
 
#top-bar li a:hover {
    background-color: transparent;
}
 
#side-bar {
    float: none;
    position: absolute;
    margin-top: 80px;
    padding: 0 13px;
    width: 174px;
}
 
#top-bar a,
#side-bar a,
#account-options a,
#account-topbutton {
    color: #000;
    text-decoration: none;
}
 
#side-bar ul {
    padding: 0;
    list-style-type: none;
    border: 2px solid #000;
    border-style: solid none none;
}
 
#side-bar ul li {
    border: 2px solid #000;
    border-style: none none solid;
    padding: 3px 0 3px 20px;
}
 
#main-content {
    width: 794px;
    padding: 7px 13px 0;
    margin-left: 200px;
    margin-top: -65px;
    background: #E5E5E5;
    border-top-left-radius: 15px;
    -webkit-border-top-left-radius: 15px;
    -moz-border-radius-topleft: 15px;
}
 
#main-content a {
    color: #780000;
}
 
#main-content a:hover {
    text-decoration: none;
}
 
#footer {
    width: 820px;
    padding: 0;
    margin-left: 200px;
}
 
/*    CUSTOMISATION    */
 
.print-body .side-hover {    display: none;}
 
#page-content tt {    font-size: 110%;}
div.code {    font-size: 105%;}
#page-content blockquote {    overflow: auto;}
 
/* Inline hover tips */
.hover {
    color: #3B4;
     text-decoration: underline;
    border-bottom: 1px solid;
}
.hover:hover {
     text-decoration: none;
    border-bottom: none;
}
 
.hover span {    display: none;}
.hover:hover span {
    position: absolute;
    display: inline;
    margin: 15px -20px;
    height: auto;
    width: 250px;
    background: #FFF;
    border: 2px solid #000;
    color: #000;
    padding: 1em;
}
.hover:hover span span {
    position: relative;
    margin: auto;
    height: auto;
    width: auto;
    border: none;
    padding: 0;
}
 
/* Forum Editor */
#np-editor-panel,
#new-post-form .change-textarea-size,
#new-post-form .edit-help-34,
#new-post-form #np-preview {    display: none;}
All content on this page is subject to the guidelines outlined here