style.css
changeset 1 0a98cbe5e2eb
child 2 ec68a0f75c58
equal deleted inserted replaced
0:3a3a85828299 1:0a98cbe5e2eb
       
     1 
       
     2 /*
       
     3  * Three main areas:
       
     4  *  header
       
     5  *  nav
       
     6  *  content
       
     7  *
       
     8  * Border layout:
       
     9  *      Header (bottom)
       
    10  *      Content (left)
       
    11  */
       
    12 
       
    13 /*
       
    14  * Global styles
       
    15  */
       
    16 body {
       
    17     padding: 0px;
       
    18     margin: 0px;
       
    19 
       
    20     background-color: #ffffff;
       
    21     color: #000000;
       
    22 }
       
    23 
       
    24 a {
       
    25     color: black;
       
    26     text-decoration: none;
       
    27     font-weight: bold;
       
    28 }
       
    29 
       
    30 a:hover {
       
    31     text-decoration: underline;
       
    32 }
       
    33 
       
    34 /*
       
    35  * Top header
       
    36  */
       
    37 div#header {
       
    38     padding: 30px;
       
    39     
       
    40     font-size: 48pt;
       
    41     font-weight: bold;
       
    42 
       
    43     border-bottom: 1px dashed #a5a5a5;
       
    44 }
       
    45 
       
    46 /*
       
    47  * Main navigation menu
       
    48  */
       
    49 ul#nav {
       
    50     float: left;
       
    51     margin: 0px;
       
    52     padding: 0px;
       
    53 
       
    54     list-style: none;
       
    55 
       
    56     width: 180px;
       
    57 
       
    58     padding-top: 25px;
       
    59 }
       
    60 
       
    61 ul#nav li a {
       
    62     display: block;
       
    63     
       
    64     padding: 10px;
       
    65     padding-left: 20px;
       
    66 }
       
    67 
       
    68 ul#nav li a:hover {
       
    69     background-color: #d0d0d0;
       
    70     text-decoration: none;
       
    71 }
       
    72 
       
    73 /*
       
    74  * Content
       
    75  */
       
    76 div#content {
       
    77     margin-left: 180px;
       
    78 
       
    79     padding: 25px;
       
    80 
       
    81     border-left: 1px dashed #a5a5a5;
       
    82 }
       
    83 
       
    84 div#content p {
       
    85     text-indent: 2em;
       
    86 
       
    87 }