Projet

Général

Profil

Paste
Télécharger (9,89 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / simplecorp / css / 320.css @ b9383c72

1
/*-------------------------------------------*/
2
/* #MOBILE 320px (Portrait)*/
3
/*-------------------------------------------*/
4
@media only screen and (max-width: 480px) , screen and (max-device-width: 480px) {
5

    
6
/*--------------------------------------*/
7
/*COLUMNS*/
8
/*--------------------------------------*/
9
.container { width: 280px; }
10

    
11
.one-half { width: 280px; }
12

    
13
.one-third { width: 280px; }
14

    
15
.two-third { width: 280px; }
16

    
17
.one-fourth { width: 280px;}
18

    
19
.three-fourth { width: 280px; }
20

    
21
/*--------------------------------------*/
22
/*BLOG*/
23
/*--------------------------------------*/
24
.entry-meta { color:#878787; float:left!important; margin:10px 0px 0px 0!important; text-align:left!important; width:280px!important; }
25

    
26
.entry-meta ul { margin:0; }
27

    
28
.entry-meta li { list-style: none!important; margin: 0 10px 0 0!important; float: left!important; }
29

    
30
.entry-body { float: left; margin: 10px 0 0 0; width: 280px!important; }
31

    
32
.date { width: 280px!important; height: auto; float: left; text-align: center; margin-top: -20px; margin-bottom: 15px!important; display: block; background: #aad5e3; text-shadow: none; 
33
border-radius: 0!important; -moz-border-radius: 0!important; -webkit-border-radius: !important; padding: 5px 0px!important; -moz-box-shadow: none!important; -webkit-box-shadow: none!important;
34
box-shadow: none!important; border: none!important; }
35

    
36
/*--------------------------------------*/
37
/*BODY CSS (footer, container, navigation, copyrights ...)*/
38
/*--------------------------------------*/
39
body.custom-background { background-attachment: scroll;}
40

    
41
#page { float: none; height: auto; width: 320px; 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);
42
box-shadow: 0 10px 80px 0 rgba(0, 0, 0, 0.20); padding: 0 0px; text-align: left; margin:0 auto; }
43

    
44
.center-page { height: auto; width: 320px; margin: 0 auto; padding: 0px; }
45

    
46
#pre-header { background: #aad5e3; float: left; width: 280px; padding: 0 20px; margin-left: -20px; border-bottom: 1pt solid #d8d5cd; min-height: 95px; margin-bottom: 30px; }
47

    
48
#pre-header ul.menu, #pre-header .block-menu h2 { text-align: center;}
49

    
50
#pre-header ul.menu li { margin-bottom: 7px;}
51

    
52
#pre-header ul.menu li.first a, #pre-header ul.menu li:first-child a { padding-left: 12px; }
53

    
54
#mm0 { display: block; width: 100%; float: none; height: auto; margin-top: 0px; }
55

    
56
#navigation-wrapper { float:none; }
57

    
58
#header-left{ margin: 0 auto 20px auto; width: auto; height: auto; float:none; text-align:center; }
59

    
60
#social-icons { float: none; padding: 10px 0 0px 0; text-align: center; font-size: 0;}
61

    
62
#social-icons ul#social-links {float: none;}
63

    
64
ul#social-links li { margin: 0px 3px 5px 3px; float: none; display: inline-block;}
65

    
66
ul#social-links li:last-child {margin: 0px 3px 5px 3px;}
67

    
68
#page ul#social-links > li:hover {display: inline-block; float: none;}
69

    
70
h3 { font-size: 21px; line-height: 22px; }
71

    
72
.flex-caption { display: none; }
73

    
74
img.intro-img { margin-left: -20px!important; max-width: 320px!important; max-height: 100%; margin-bottom: 30px; border-bottom: 1pt solid #d8d5cd; }
75

    
76
.button-holder-2 { float: none!important; margin: 0 auto 20px auto!important; width: 150px; }
77

    
78
.inner-page-intro h2 {   text-align: center; }
79

    
80
.button.huge { padding: 10px 20px; font-size: 14px; color: #FFF!important; font-weight: bold; }
81

    
82
ul#projects-carousel li {   width: 280px; }
83

    
84
ul#projects-carousel li .item-content {   width: 280px; }
85

    
86
.flex-caption h2 { color: #aad5e3; font-size: 23px; text-shadow: none; }
87

    
88
#footer-form input[type="text"],
89
#footer-form input[type="password"],
90
#footer-form input[type="email"],
91
#footer-form textarea,
92
#footer-form select {   width: 260px; }
93
#footer .one-half,
94
#footer  .one-third,
95
#footer  .two-third,
96
#footer .one-fourth,
97
#footer  .three-fourth { border-bottom: 1pt solid #181818; border-top: 1pt solid #333; margin-bottom: 0px; padding-bottom: 15px; padding-top: 15px; }
98

    
99
#footer { width: 320px; padding: 30px 0px 0; margin-left: 0px; height: auto; float: left; background: #222222; }
100

    
101
#footer .one-fourth.last {   border-bottom: none!important; }
102

    
103
#footer .one-fourth.first { border-top: none!important; padding-top: 0px; }
104

    
105
#footer-bottom { width: 320px; padding: 10px 0px 10px 0px; margin-left: 0px; float: left; background: #111; }
106

    
107
#footer-bottom p, #footer-bottom span { font-size: 12px; text-align: center; }
108

    
109
#footer-bottom .right { float: none; }
110

    
111
#header { height: auto; }
112

    
113
#footer-bottom ul.menu, #footer-bottom .block-menu h2 { text-align: center;}
114

    
115
#footer-bottom ul.menu li { margin-bottom: 7px;}
116

    
117
#footer-bottom ul.menu li.first a, #pre-header ul.menu li:first-child a { padding-left: 12px; }
118

    
119
/*--------------------------------------*/
120
/*PORTFOLIO*/
121
/*--------------------------------------*/
122
ul#portfolio-items-one-fourth { overflow: hidden; position: relative; list-style: none; margin: 0; padding: 0px 0 0 0; }
123

    
124
ul#portfolio-items-one-fourth li { width: 280px; min-height: auto; height: auto; }
125

    
126
ul#portfolio-items-one-fourth li .portfolio-item { float: left; background: #f8f9f9; width: 280px; height: auto; padding: 0; }
127

    
128
ul#portfolio-items-one-fourth li  .item-content { background: #615951; float: left; width: 280px; text-align: center; padding: 0px 0 15px 0; height: auto; }
129

    
130
#portfolio-items-one-fourth .description { padding-top: 15px; }
131

    
132
ul#portfolio-items-one-fourth li .item-content:hover { background: #aad5e3; }
133

    
134
ul#portfolio-items-one-fourth li .item-content p { margin: 0; padding: 0; font-weight: 800; color: #FFF; }
135

    
136
ul#portfolio-items-one-fourth li .item-content p a { margin: 0; padding: 0; font-weight: 800; color: #FFF; }
137

    
138
ul#portfolio-items-one-fourth li  .item-content span { font-style: italic; color: #FFF; }
139

    
140
ul#portfolio-items-one-fourth li   img { width: 100%; height: auto; padding: 0; margin: 0; }
141

    
142
ul#portfolio-items-one-third { overflow: hidden; position: relative; list-style: none; margin: 0 !important; padding: 0px 0 0 0; }
143

    
144
ul#portfolio-items-one-third li { width: 280px; min-height: 295px!important; margin: 0 20px 20px 0!important; }
145

    
146
ul#portfolio-items-one-third li .portfolio-item { float: left; background: #f8f9f9; width: 280px; height: auto; padding: 0!important; }
147

    
148
ul#portfolio-items-one-third li .item-content { background: #615951; float: left; width: 280px; text-align: center; padding: 0px 0 15px 0; height: auto; }
149

    
150
#portfolio-items-one-third  .description { padding-top: 15px; }
151

    
152
ul#portfolio-items-one-third li .item-content:hover { background: #aad5e3; }
153

    
154
ul#portfolio-items-one-third li .item-content p { margin: 0; padding: 0; font-weight: 800; color: #FFF; }
155

    
156
ul#portfolio-items-one-third li .item-content p a { margin: 0; padding: 0; font-weight: 800; color: #FFF; }
157

    
158
ul#portfolio-items-one-third li .item-content span { font-style: italic; color: #FFF; }
159

    
160
ul#portfolio-items-one-third li  img { width: 100%; height: auto; padding: 0; margin: 0; }
161

    
162
.portfolio-items { width: 280px; margin: 0; }
163

    
164
.portfolio-items:after { content: ""; display: block; height: 0; overflow: hidden; clear: both; }
165

    
166
.portfolio-items-not-filterable li { width: 190px; margin: 0 20px 0px 0!important; float: left; min-height: 350px!important; overflow: hidden; }
167

    
168
.portfolio-items-not-filterable { width: 280px; margin: 0; }
169

    
170
.portfolio-items-not-filterable:after { content: ""; display: block; height: 0; overflow: hidden; clear: both; }
171

    
172
.portfolio-items-not-filterable li { width: 280px!important; margin: 0 20px 0px 0!important; float: left; height: 295px!important; overflow: hidden; }
173

    
174
#filterable { display: inline; float: left; margin-bottom: 20px; margin-right: 0px; }
175

    
176
#filterable li { float: left; margin-left: 15px; } 
177

    
178
#filterable { display: inline; float: left; margin-bottom: 20px; margin-right: 0px; }
179

    
180
#filterable li { float: left; margin-left: 15px; }
181

    
182
/*--------------------------------------*/
183
/*OTHER FEATURES (google maps, intro inner page, contact forms...)*/
184
/*--------------------------------------*/
185
#contact-map { margin: 0px 0 30px -20px; position: relative; width: 320px; }
186

    
187
#contact-form .error { margin: 15px 0 0 0; }
188

    
189
#contact-form form { margin-bottom: 0px; }
190

    
191
#contact-form  fieldset { margin-bottom: 0px; }
192

    
193
#contact-form  label,
194
#contact-form  legend,
195
#contact-form  strong,
196
#contact-form  span { font-weight: bold; font-size: 13px; color: #898989; }
197

    
198
#contact-form input[type="checkbox"] {   display: inline; }
199

    
200
#contact-form label span,
201
#contact-form legend span { font-weight: normal; font-size: 13px; color: #444; line-height: 34px; }
202

    
203
#contact-form input[type="text"],
204
#contact-form input[type="password"],
205
#contact-form  input[type="email"],
206
#contact-form textarea,
207
#contact-form select { border: 1px solid #dddddd; padding: 5px 10px; outline: none; overflow: hidden; font: 12px "Helvetica", Arial, sans-serif; color: #777; box-shadow: inset 0px 2px 4px #f3f3f3;
208
-moz-box-shadow: inset 0px 2px 4px #f3f3f3; -webkit-box-shadow: inset 0px 2px 4px #f3f3f3; width: 260px; max-width: 100%; display: block; margin-bottom: 0px; background: #FFF; border-radius: 2px;
209
-moz-border-radius: 2px; -webkit-border-radius: 2px; }
210

    
211
#contact-form select {   padding: 0; }
212

    
213
#contact-form  textarea { width: 260px; height: 200px; resize: vertical; margin-bottom: 10px; }
214

    
215
#contact-form input[type="text"]:focus,
216
#contact-form input[type="password"]:focus,
217
#contact-form  input[type="email"]:focus,
218
#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;
219
-webkit-box-shadow: 0px 0px 5px #CCC,inset 0px 2px 4px #f3f3f3; }
220

    
221
.portfolio-container { width: 280px; margin-right: 0px; float: left; }
222

    
223
.inner-page-intro h2 { font-size: 21px; line-height: 24px; }
224

    
225
.inner-page-intro h1 { font-size: 24px; line-height: 25px; text-align: center; }
226

    
227
.not-found-text { text-align: center; font-size: 64px; }
228

    
229
ul.center-list li a { text-align: center; padding: 5px 2px; }
230

    
231
.flexslider.loading { min-height: 155px; }
232

    
233
input#edit-keys, .page-user input.form-text, .no-sidebars #comment-form input.form-text { width: 96%; }
234

    
235
.search-advanced .criterion { float: none; margin-right: 0; }
236

    
237
}