Projet

Général

Profil

Paste
Télécharger (10,1 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / simplecorp / css / 480.css @ 5024cef7

1 b9383c72 Julien Enselme
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
2
@media only screen and (min-width: 480px) and (max-width: 767px) {
3
/*--------------------------------------*/
4
/*COLUMNS*/
5
/*--------------------------------------*/
6
.container { width: 400px; }
7
8
.one-half { width: 400px; }
9
10
.one-third { width: 400px; }
11
12
.two-third { width: 400px; }
13
14
.one-fourth { width: 400px; }
15
16
.three-fourth { width: 400px; }
17
18
/*--------------------------------------*/
19
/*BLOG*/
20
/*--------------------------------------*/
21
.entry-meta { color: #878787; float: left!important; margin: 10px 0px 0px 0!important; text-align: left!important; width: 400px!important; }
22
23
.entry-meta ul { margin:0; }
24
25
.entry-meta li { list-style: none!important; margin: 0 10px 0 0!important; float: left!important; }
26
27
.entry-body { float: left; margin: 10px 0 20px 0; width: 400px!important; }
28
29
.date {
30
    width: 400px!important;
31
    height: auto;
32
    float: left;
33
    text-align: center;
34
    margin-top: -20px;
35
    margin-bottom: 15px!important;
36
    display: block;
37
    background: #aad5e3;
38
    text-shadow: none;
39
    border-radius: 0!important;
40
    -moz-border-radius: 0!important;
41
    -webkit-border-radius: !important;
42
    padding: 5px 0px!important;
43
    -moz-box-shadow: none!important;
44
    -webkit-box-shadow: none!important;
45
    box-shadow: none!important;
46
    border: none!important;
47
}
48
49
img.intro-img { margin-left: -20px!important; max-width: 440px!important; max-height: 100%; margin-bottom: 30px; border-bottom: 1pt solid #d8d5cd; }
50
51
/*--------------------------------------*/
52
/*BODY CSS (footer, container, navigation, copyrights ...)*/
53
/*--------------------------------------*/
54
body.custom-background { background-attachment: scroll;}
55
56
#page { float: none; height: auto; width: 440px; background: #FFF; -webkit-box-shadow: 0 10px 80px 0 rgba(0, 0, 0, 0.20); -moz-box-shadow: 0 10px 80px 0 rgba(0, 0, 0, 0.20);
57
box-shadow: 0 10px 80px 0 rgba(0, 0, 0, 0.20); padding: 0 0px; text-align: left; margin: 0 auto; }
58
59
#pre-header { background: #aad5e3; float: left; width: 400px; padding: 0 20px; margin-left: -20px; border-bottom: 1pt solid #d8d5cd; min-height: 50px; margin-bottom: 30px; }
60
61
#pre-header ul.menu, #pre-header .block-menu h2 { text-align: center;}
62
63
#pre-header ul.menu li { margin-bottom: 7px;}
64
65
#pre-header ul.menu li.first a, #pre-header ul.menu li:first-child a { padding-left: 12px; }
66
67
#header { height: auto; }
68
69
.center-page { height: auto; width: 440px; margin: 0 auto; padding: 0px; }
70
71
ul#projects-carousel li { width: 172px; }
72
73
ul#projects-carousel li .item-content { width: 172px; }
74
75
.flex-caption h2 { color: #aad5e3; font-size: 23px; text-shadow: none; }
76
77
#call-to-action-panel h1 { font-size: 28px; line-height: 28px; }
78
79
#mm0{ display: block; width: 100%; float: none; height: auto; margin-top: 0px; }
80
81
#header-left { margin: 0 auto 20px auto; width: auto; height: auto; text-align:center; clear: both; float: none; }
82
83
#navigation-wrapper { float: none; }
84
85
#social-icons { float: none; padding: 10px 0 0px 0; text-align: center; font-size: 0;}
86
87
#social-icons ul#social-links {float: none;}
88
89
ul#social-links li { margin: 0px 3px 5px 3px; float: none; display: inline-block; }
90
91
ul#social-links li:last-child {margin: 0px 3px 5px 3px;}
92
93
#page ul#social-links > li:hover {display: inline-block; float: none;}
94
95
ul#projects-carousel li { width: 190px; }
96
97
ul#projects-carousel li .item-content { width: 190px; }
98
99
.flex-caption { display: none; }
100
101
#call-to-action-panel .button-align-right { width: 170px; margin-left: 30%; float: left; }
102
103
#footer-form input[type="text"],
104
#footer-form input[type="password"],
105
#footer-form input[type="email"],
106
#footer-form textarea,
107
#footer-form select {   width: 380px; }
108
#footer .one-half,
109
#footer  .one-third,
110
#footer  .two-third,
111
#footer .one-fourth,
112
#footer  .three-fourth { border-bottom: 1pt solid #181818; border-top: 1pt solid #333; margin-bottom: 0px; padding-bottom: 15px; padding-top: 15px; }
113
114
#footer .one-fourth.last { border-bottom: none!important; }
115
116
#footer .one-fourth.first { border-top: none!important; padding-top: 0px; }
117
118
#footer { width: 440px; padding: 30px 0px 0; margin-left: 0px; height: auto; float: left; background: #222222; }
119
120
#footer-bottom { width: 440px; padding: 10px 0px 10px 0px; margin-left: 0px; float: left; background: #111; }
121
122
#footer-bottom p, #footer-bottom span { font-size: 12px; text-align: center; }
123
124
#footer-bottom .right { float: none; }
125
126
#footer-bottom ul.menu, #footer-bottom .block-menu h2 { text-align: center;}
127
128
#footer-bottom ul.menu li { margin-bottom: 7px;}
129
130
#footer-bottom ul.menu li.first a, #pre-header ul.menu li:first-child a { padding-left: 12px; }
131
132
/*--------------------------------------*/
133
/*PORTFOLIO*/
134
/*--------------------------------------*/
135
#filterable { display: inline; float: left; margin-bottom: 20px; margin-right: 0px; }
136
137
#filterable li { float: left; margin-left: 15px; }
138
139
.portfolio-container { width: 420px; margin-right: -20px; float: left; }
140
141
ul#portfolio-items-one-fourth { overflow: hidden; position: relative; list-style: none; margin: 0; padding: 0px 0 0 0; }
142
143
ul#portfolio-items-one-fourth li { width: 190px; min-height: 245px; }
144
145
ul#portfolio-items-one-fourth li .portfolio-item { float: left; background: #f8f9f9; width: 190px; height: auto; padding: 0; }
146
147
ul#portfolio-items-one-fourth li  .item-content { background: #615951; float: left; width: 190px;  text-align: center; padding: 0px 0 15px 0; height: auto; }
148
149
#portfolio-items-one-fourth .description { padding-top: 15px; }
150
ul#portfolio-items-one-fourth li .item-content:hover { background: #aad5e3; }
151
152
ul#portfolio-items-one-fourth li .item-content p { margin: 0; padding: 0;  font-weight: 800; color: #FFF; }
153
154
ul#portfolio-items-one-fourth li .item-content p a { margin: 0; padding: 0;  font-weight: 800; color: #FFF; }
155
156
ul#portfolio-items-one-fourth li  .item-content span { font-style: italic;  color: #FFF; } 
157
158
ul#portfolio-items-one-fourth li   img { width: 100%; height: auto; padding: 0;  margin: 0; }
159
160
ul#portfolio-items-one-third { overflow: hidden; position: relative;  list-style: none; margin: 0 !important; padding: 0px 0 0 0; }
161
162
ul#portfolio-items-one-third li { width: 190px; min-height: 210px!important;  margin: 0 20px 20px 0!important; } 
163
164
ul#portfolio-items-one-third li .portfolio-item { float: left; background: #f8f9f9;  width: 190px; height: auto; padding: 0!important; }
165
166
ul#portfolio-items-one-third li .item-content { background: #615951; float: left;  width: 190px; text-align: center;  padding: 0px 0 15px 0; height: auto; }
167
168
#portfolio-items-one-third  .description { padding-top: 15px; }
169
ul#portfolio-items-one-third li .item-content:hover { background: #aad5e3; }
170
171
ul#portfolio-items-one-third li .item-content p { margin: 0; padding: 0; font-weight: 800;  color: #FFF; }
172
173
ul#portfolio-items-one-third li .item-content p a { margin: 0; padding: 0; font-weight: 800;  color: #FFF; }
174
175
ul#portfolio-items-one-third li .item-content span { font-style: italic; color: #FFF;  } 
176
177
ul#portfolio-items-one-third li  img { width: 100%; height: auto;  padding: 0; margin: 0; }
178
179
.portfolio-items { width: 420px; margin: 0; }
180
181
.portfolio-items:after { content: ""; display: block;  height: 0; overflow: hidden; clear: both; }
182
183
.portfolio-items-not-filterable li {width: 190px;  margin: 0 20px 20px 0!important; float: left; min-height: 210px!important; overflow: hidden; }
184
185
.portfolio-items-not-filterable { width: 420px; margin: 0;  }
186
187
.portfolio-items-not-filterable:after { content: ""; display: block;  height: 0; overflow: hidden; clear: both; }
188
189
.portfolio-items-not-filterable li { width: 190px!important; margin: 0 20px 0px 0!important;  float: left; height: 220px!important; overflow: hidden; }
190
191
#filterable { display: inline; float: left; margin-bottom: 20px;  margin-right: 0px; }
192
193
#filterable li { float: left; margin-left: 15px; }
194
195
/*--------------------------------------*/
196
/*OTHER FEATURES (google maps, intro inner page, contact forms...)*/
197
/*--------------------------------------*/
198
.button-holder-2 { float: none!important;  margin: 0 auto 20px auto!important; width: 150px; } 
199
200
.inner-page-intro h2 { text-align: center; }
201
202
#contact-map { margin: 0px 0 30px -20px; position: relative;  width: 440px; }
203
204
#contact-form .error { margin: 15px 0 0 0; }
205
206
#contact-form form { margin-bottom: 0px; }
207
208
#contact-form  fieldset { margin-bottom: 0px; }
209
210
#contact-form  label,
211
#contact-form  legend,
212
#contact-form  strong,
213
#contact-form  span { font-weight: bold; font-size: 13px; color: #898989; }
214
215
#contact-form input[type="checkbox"] { display: inline; }
216
217
#contact-form label span,
218
#contact-form legend span { font-weight: normal; font-size: 13px;  color: #444;  line-height: 34px; }
219
220
#contact-form input[type="text"],
221
#contact-form input[type="password"],
222
#contact-form  input[type="email"],
223
#contact-form textarea,
224
#contact-form select {
225
    border: 1px solid #dddddd;
226
    padding: 5px 10px;
227
    outline: none;
228
    overflow: hidden;
229
    font: 12px "Helvetica", Arial, sans-serif;
230
    color: #777;
231
    box-shadow: inset 0px 2px 4px #f3f3f3;
232
    -moz-box-shadow: inset 0px 2px 4px #f3f3f3;
233
    -webkit-box-shadow: inset 0px 2px 4px #f3f3f3;
234
    width: 380px;
235
    max-width: 100%;
236
    display: block;
237
    margin-bottom: 0px;
238
    background: #FFF;
239
    border-radius: 2px;
240
    -moz-border-radius: 2px;
241
    -webkit-border-radius: 2px;
242
}
243
#contact-form select { padding: 0; }
244
245
#contact-form  textarea { width: 380px; height: 200px;  resize: vertical; margin-bottom: 10px; }
246
247
#contact-form input[type="text"]:focus,
248
#contact-form input[type="password"]:focus,
249
#contact-form  input[type="email"]:focus,
250
#contact-form  textarea:focus { border: 1px solid #bbbbbb; color: #555; box-shadow: 0px 0px 5px #CCC,inset 0px 2px 4px #f3f3f3; -moz-box-shadow: 0px 0px 5px #CCC,inset 0px 2px 4px #f3f3f3;  
251
-webkit-box-shadow: 0px 0px 5px #CCC,inset 0px 2px 4px #f3f3f3; }
252
253
.inner-page-intro h2 { font-size: 21px;  line-height: 24px; } 
254
255
.inner-page-intro h1 { font-size: 24px; line-height: 20px;  text-align: center; }
256
257
.not-found-text { text-align: center;  font-size: 64px; }
258
259
ul.center-list li a { text-align: center; padding: 5px 2px; }
260
261
.flexslider.loading { min-height: 200px; }
262
263
input#edit-keys, .page-user input.form-text, .no-sidebars #comment-form input.form-text { width: 96%; }
264
265
.search-advanced .criterion { float: none; margin-right: 0; }
266
267
}