-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.css
executable file
·140 lines (116 loc) · 1.99 KB
/
layout.css
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
/*
STRUCTURE POUR UNE COLONNE, MENU EN BAS EN DEUX PARTIES, LARGEUR FIXE
--------------------------------------------------------------
AVANT TOUTE CHOSE
remise à zéro de toutes les marges des grands blocs pour que
tous les navigateurs calculent depuis le même point de départ
--------------------------------------------------------------- */
html,
body,
#page,
#top,
#prelude,
#wrapper,
#footer,
#main,
#content,
#sidebar,
#blognav,
#blogextra {
margin: 0;
padding: 0;
}
/* --------------------------------------------------------------------------
STRUCTURE FLUIDE - 1 COLONNE - MENU EN BAS EN PLUSIEURS PARTIES
Vous pouvez modifier 100%, 760px et 1280px par les valeur de votre choix.
----------------------------------------------------------------------------- */
#page {
width: 100%;
min-width: 760px;
max-width: 1280px;
position: relative;
}
#top {
height: 320px;
/* a modifier par la valeur de votre choix */
}
#top h1 {
text-align: right;
margin: 0;
padding: 0;
margin-left: 320px;
line-height: 320px;
/* idem que pout #top */
height: 320px;
/* idem que pour #top */
}
#top h1 a {
display: block;
}
#prelude {
display: block;
position: absolute;
right: 2em;
top: 0;
text-align: right;
}
#wrapper {
}
#main {
}
.outer_landscape,
.outer_portrait {
position: absolute;
left: 36px;
width: 250px;
margin: 0;
line-height: 100%;
text-align: center;
}
.outer_landscape {
top: 60px;
}
.outer_portrait {
top: 40px;
}
#content {
}
#footer {
padding-top: 60px;
clear: both;
margin-left: 320px;
}
#alternate {
clear: both;
}
#altmargin {
width: 285px;
}
#altcontent {
margin-left: 320px;
}
#sidebar {
clear: both;
position: relative;
}
#blogmargin {
position: absolute;
width: 220px;
top: 0;
left: 48px;
}
#blognav,
#blogextra {
margin-left: 320px;
clear: both;
}
#blognav div,
#blogextra div {
float: left;
width: 200px;
padding-right: 10px;
}
#blogextra div.tags {
width: 400px;
padding-right: 20px;
}