summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/wwwroot/Content/css/main.css
blob: a0a407d859350e88480ee90a1d1cc881e1bc4283 (plain)
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
/* tags */
html {
    height: 100%;
}

body {
    height: 100%;
    font-family: sans-serif;
}

h1, h2, h3 {
    font-weight: bold;
    margin: 0.2em 0 0.1em 0;
    padding-top: .5em;
}

h1 {
    font-size: 1.5em;
    color: #888;
    margin-bottom: 0;
}

h2 {
    font-size: 1.5em;
    border-bottom: 1px solid #AAA;
}

h3 {
    font-size: 1.2em;
    border-bottom: 1px solid #AAA;
    width: 55em;
    max-width: 100%;
}

a {
    color: #006;
}

/* content */
#content-column {
    position: absolute;
    top: 1em;
    left: 10em;
}

#content {
    min-height: 140px;
    width: calc(100% - 2em);
    max-width: 60em;
    padding: 0 1em 1em 1em;
    border-left: 1px solid #CCC;
    background: #FFF;
    font-size: 0.9em;
}

#content p {
    max-width: 100%;
}

.section {
    border: 1px solid #CCC;
    padding: 0.5em;
    margin-bottom: 1em;
}

/* sidebar */
#sidebar {
    margin-top: 3em;
    min-height: 75%;
    width: 12em;
    background: url("../images/sidebar-bg.gif") no-repeat top right;
    color: #666;
}

#sidebar h4 {
    margin: 1.5em 0 0.2em 0;
    width: 10em;
    border-bottom: 1px solid #CCC;
    font-size: 0.8em;
    font-weight: normal;
}

#sidebar a {
    color: #77B;
    border: 0;
}

#sidebar ul, #sidebar li {
    margin: 0;
    padding: 0;
    list-style: none none;
    font-size: 0.9em;
    color: #888;
}

#sidebar li {
    margin-left: 1em;
}

/* quick navigation */

#quickNav {
    position: fixed;
    bottom: 3em;
    width: 12em;
}

@media (max-height: 400px) {
    #quickNav {
        position: unset;
        width: auto;
    }
}


/* footer */
#footer {
    margin: 1em;
    padding: 1em;
    font-size: 0.6em;
    color: gray;
}

#footer a {
    color: #669;
}

/* mobile fixes */
@media (min-width: 1020px) and (max-width: 1199px) {
    #quickNav,
    #sidebar {
        width: 7em;
        background: none;
    }

    #quickNav h4 {
        width: unset;
    }

    #content-column {
        left: 7em;
    }
}

@media (max-width: 1019px) {
    h1 {
        margin-top: 0;
    }

    #sidebar {
        margin-top: 0;
        width: auto;
        min-height: 0;
        background: none;
    }

    #content-column {
        position: inherit;
        top: inherit;
        left: inherit;
    }

    #quickNav {
        position: unset;
        width: auto;
    }
}