aboutsummaryrefslogtreecommitdiffstats
path: root/lightweight/static/css/main.css
blob: 7dad177635167d0e59c3435661d5bc81f2347a2d (plain) (blame)
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
@font-face {
  font-family: 'Goudy Bookletter 1911';
  font-style: normal;
  font-weight: normal;
  src: local('Goudy Bookletter 1911'), local('GoudyBookletter1911'), url('http://themes.googleusercontent.com/font?kit=l5lwlGTN3pEY5Bf-rQEuILmKcuvUA98TddnVPjOJl_w') format('truetype');
}

header, footer, section, nav {
    display: block;
}

body { 
  max-width: 1400px;
  min-width: 800px;
  margin: 0;
  padding: 0;
  /* Pensez à utiliser une collection de polices (2), par ex: 
  *///font-family: Arial, Helvetica, FreeSans, sans-serif;
  font-size: .8em; /* À adapter pour la police choisie. (3) */ 
  line-height: 1.3; /* À adapter au design. (4) */ 
  color: #111; 
  background: white; 
} 
 
/* Titres */ 
h1, h2, h3, h4, h5, h6 { 
  margin: 1em 0 .5em 0; /* Rapproche le titre du texte. (5) */ 
  line-height: 1.2; 
  font-weight: bold; /* Valeur par défaut. (6) */ 
  font-family: 'Goudy Bookletter 1911';
  color: #111;
  font-style: normal; 
} 
h1 { 
  font-size: 1.75em; 
} 
h2 { 
  font-size: 1.5em; 
} 
h2.page_title { 
  text-align: center;
  text-decoration: none;
  font-size: 2em; 
} 
    h2.page_title:before {
        content: '~ ';
    }
    h2.page_title:after {
        content: ' ~';
    }
h3 { 
  font-size: 1.25em; 
  margin-left: 15px;
} 
h4 { 
  font-size: 1em; 
  margin-left: 30px;
} 
 
/* Listes */ 
ul, ol { 
  margin: .75em 0 .75em 32px; 
  padding: 0; 
} 
 
/* Paragraphes */ 
p { 
  margin: .75em; /* Marges plus faibles que par défaut. (7) */ 
} 

pre, blockquote, table {
    border: 2px dotted silver;
    margin: 15px 10px;
    padding: 5px;
    scroll: auto;
}

hr {
    height: 0;
    width: 60%;
    margin: 15px auto;
    color: transparent;
    border-bottom: 2px dotted silver;
}

address { 
  margin: .75em 0; 
  font-style: normal; 
} 
 
/* Liens */ 
a { 
  text-decoration: underline; 
} 
a:link { 
  color: #11C; 
  color: #222;
} 
a:visited { 
  color: inherit; 
} 
a:hover, a:focus, a:active { 
  color: slategrey; 
} 
 
/* Pas de bordure autour des images dans les liens */ 
a img { 
  border: none; 
} 
 
/* Divers éléments de type en-ligne (8) */ 
em { 
  font-style: italic; 
} 
strong { 
  font-weight: bold; 
} 
 
/* Formulaires */ 
form, fieldset { 
  margin: 0; 
  padding: 0; 
  border: none; 
} 
input, button, select { 
  vertical-align: middle; /* Solution pb. d'alignement. (9) */ 
}


div#page {
    width: 75%;
    margin: 5% auto 5% auto;
	background: #EFEFEF;
	border: 1px solid silver;
    border-radius: 10px;
}


    header#header {
        width: 100%;
        height: 60px;
    	clear: both;
	    text-align: center;
        border-bottom: 1px solid silver;
    }

        #header#header>h1 {
            font-family: 'Goudy Bookletter 1911';
            font-style: italic;
            font-size: 200%;
        }

            #header#header>h1>a {
                text-decoration: inherit;
                color: inherit;
            }

    nav#menu {
        width: 100%;
        padding-top: 2px;
        padding-bottom: 2px;
        border-bottom: 1px solid silver;
        text-align: center;
    }

        nav#menu a {
            display: inline-block;
            text-decoration: none;
            margin: 2px;
            padding: 1px;
            border: 1px solid silver;
            font-weight: bold;
            color: #222;
        }

        nav#menu a:hover, nav#menu.active {
            border: 1px solid SlateGrey;
            color: #11C;
        }

    section#content {
	    float: left;
    	width: 75%;
        border-right: 1px solid silver;
    }

	    section#content article.post {
            margin: 10px;
	    }

        section.post_content, section.page_content {
            margin: 10px;
        }


    aside#sidebar {
	    float: right;
        width: 24%;
    }

footer#footer {
	clear:both;
	border-top: 1px solid silver;
	padding: 5px 20px;
}