File: layout.css

package info (click to toggle)
ruby-ramaze 2012.12.08-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,060 kB
  • ctags: 1,200
  • sloc: ruby: 10,446; makefile: 8
file content (81 lines) | stat: -rw-r--r-- 1,538 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/**
 * Stylesheet used for the layout of most elements.
 *
 * @author Yorick Peterse
 * @link   http://yorickpeterse.com/
 */
#container
{
    margin:  20px auto;
    width:   940px;
}

#content
{
    background:    #fff;
    border:        1px solid #ddd;
    padding:       20px;
    width:         898px;
}

/* Top part of the website, contains the title and the navigation menu */
#top
{
    background:    #E33F1E;
    height:        70px;
    margin-bottom: 20px;
    padding:       0px 10px;
}

    #top header h1
    {
        color:       #fff;
        font-size:   38px;
        margin:      10px 0px 0px 0px;
        padding:     0px;
    }

    #top nav ul
    {
        float:        right;
        margin-right: 15px;
    }

        #top nav ul li
        {
            float:           left;
            font-size:       16px;
            list-style-type: none;
            margin-right:    10px;
        }

        #top nav ul li:last-child
        {
            margin-right: 0px;
        }

            #top nav ul li a
            {
                color:           #fff;
                display:         block;
                height:          45px;
                padding:         25px 10px 0px 10px;
                text-decoration: none;
            }

            #top nav ul li a:hover
            {
                background: #D43919;
            }

/* Footer at the bottom of the page */
#footer
{
    text-align: center;
}

    #footer p
    {
        font-size:     13px;
        margin-bottom: 10px;
    }