~peterm-ubuntu/resource-centre/rest-fix

« back to all changes in this revision

Viewing changes to static/css/large.scss

  • Committer: Graham Bancroft
  • Date: 2017-06-08 07:56:39 UTC
  • mfrom: (98.1.2 resource-centre)
  • Revision ID: graham.bancroft@canonical.com-20170608075639-l42snm3rjaozy7v3
Remove business card backgrounds

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* 
 
1
/*
2
2
Theme Name: Ubuntu Resources
3
3
Theme URI: http://canonical.com
4
4
Description: Ubuntu resource hub theme
5
5
Version: 1
6
 
Author: Canonical Ltd 
 
6
Author: Canonical Ltd
7
7
Author URI: http://canonical.com
8
8
 
9
 
Copyright (C) 2012 Canonical Ltd 
 
9
Copyright (C) 2012 Canonical Ltd
10
10
 
11
11
Contents:
12
12
 
17
17
        share
18
18
        product-business-card
19
19
 
20
 
*/      
 
20
*/
21
21
 
22
22
@import 'core-constants';
23
23
@import 'core-mixins';
46
46
$grid_unit_med:   20;
47
47
 
48
48
body {
49
 
        background-attachment: fixed; 
 
49
        background-attachment: fixed;
50
50
        font-size: 16px;
51
51
}
52
52
 
60
60
header.banner { margin-bottom: 0; }
61
61
 
62
62
header.banner .nav-primary .topics {
63
 
    border-top: 0;   
 
63
    border-top: 0;
64
64
}
65
65
 
66
66
header.banner .nav-primary ul li.active a,
121
121
        position: relative;
122
122
}
123
123
 
124
 
footer.global .legal { 
125
 
        padding-left: 0; 
 
124
footer.global .legal {
 
125
        padding-left: 0;
126
126
        padding-top: 13px;
127
127
}
128
128
 
136
136
 
137
137
// glossary-box
138
138
// -----------------------------------------------------------------
139
 
.glossary-box { 
140
 
    //padding-bottom: 30px; 
 
139
.glossary-box {
 
140
    //padding-bottom: 30px;
141
141
    //margin-top: -10px;
142
142
    padding: 0;
143
 
    
 
143
 
144
144
    .inner-wrapper {
145
145
        background-size: 210px 210px;
146
146
        background-position: 100% -20px, 80% 148px;
151
151
    min-height: 330px;
152
152
}
153
153
 
154
 
body.category, 
 
154
body.category,
155
155
body.tag,
156
156
body.page-template-page-category-php {
157
157
    .glossary-box,
160
160
            min-height: 0;
161
161
            padding-bottom: 10px;
162
162
        }
163
 
    }    
 
163
    }
164
164
}
165
165
 
166
166
body.archive .glossary-box .inner-wrapper {
167
 
    padding-bottom: 0;    
 
167
    padding-bottom: 0;
168
168
}
169
169
 
170
170
body.tag .glossary-box .inner-wrapper {
203
203
   }
204
204
}
205
205
 
206
 
// cta boxes on single posts
207
 
.box-desktop,
208
 
.box-phone,
209
 
.box-tablet,
210
 
.box-server,
211
 
.box-cloud,
212
 
.box-digest {
213
 
    background-size: 167px 167px;  
214
 
    background-repeat: no-repeat;
215
 
    background-position: 154% 50%;
216
 
    border: 0;
217
 
    padding-right: 90px;
218
 
}
219
 
 
220
 
.box-digest {
221
 
  background-position: 87% 36%;
222
 
  background-size: 90px 90px;  
223
 
  padding-right: 20px;
224
 
}
225
 
 
226
 
.box-phone {
227
 
    background-image: url("static/img/pictograms/picto-phone-orange.svg");  
228
 
}
229
 
 
230
 
.box-tablet {
231
 
    background-image: url("static/img/pictograms/picto-tablet-orange.svg");  
232
 
}
233
 
 
234
 
.box-desktop {
235
 
    background-image: url("#{$asset_path}pictograms/picto-pack/picto-desktop-orange.svg");  
236
 
}
237
 
 
238
 
.box-server {
239
 
    background-image: url("#{$asset_path}pictograms/picto-pack/picto-server-midaubergine.svg");  
240
 
}
241
 
 
242
 
.box-cloud {
243
 
    background-image: url("#{$asset_path}pictograms/picto-pack/picto-cloudcomputing-orange.svg");  
244
 
}
245
 
 
246
 
.box-digest {
247
 
    background-image: url("#{$asset_path}pictograms/picto-pack/picto-email-orange.svg");  
248
 
}
249
 
 
250
 
.search .row { 
251
 
  padding-bottom: 40px; 
 
206
.search .row {
 
207
  padding-bottom: 40px;
252
208
}
253
209
 
254
210
.search .no-results {
255
211
        display: inline-block;
256
212
        float: left;
257
 
        margin-bottom: 40px;    
 
213
        margin-bottom: 40px;
258
214
        width: 100%;
259
215
}
260
216
 
280
236
// single
281
237
// -----------------------------------------------------------------
282
238
.single #sidebar .list-social li {
283
 
    margin: 0 6px 0 0;   
 
239
    margin: 0 6px 0 0;
284
240
}
285
241
 
286
242
.video-wrapper {
300
256
// -----------------------------------------------------------------
301
257
footer.global .top-link { display: none; }
302
258
 
303
 
.yes-js #main-nav.active li li a { 
304
 
        font-size: 18px; 
 
259
.yes-js #main-nav.active li li a {
 
260
        font-size: 18px;
305
261
}
306
262
 
307
263
// press centre
308
 
// ----------------------------------------------------------------- 
 
264
// -----------------------------------------------------------------
309
265
body.page-template-page-press-php .row-resource-list .six-col {
310
266
        min-height: 13em;
311
267
}