forked from p2pu/course-in-a-box
-
Notifications
You must be signed in to change notification settings - Fork 6
/
p2pustrap-custom.scss
40 lines (35 loc) · 1017 Bytes
/
p2pustrap-custom.scss
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
---
---
@import "//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css";
@import "p2pu-theme/fonts";
@import "p2pu-theme/variables";
@import "bootstrap/scss/bootstrap";
@import "p2pu-theme/mixins";
@import "p2pu-theme/utilities";
@import "p2pu-theme/layout";
@import "p2pu-theme/typography";
@import "p2pu-theme/buttons";
@import "p2pu-theme/footer";
@import "p2pu-theme/custom";
{% if site.jumbotron_color %}
$jumbotron-color: {{ site.jumbotron_color }};
{% else %}
$jumbotron-color: $p2pu-blue;
{% endif %}
{% if site.jumbotron_image %}
$jumbotron-image: '{{ site.jumbotron_image}}';
{% else %}
$jumbotron-image: 'img/jumbotron-image.svg';
{% endif %}
{% assign image_ext = site.jumbotron_image|split:"."|last %}
{% if image_ext == "svg" %}
$jumbotron-image-size: contain;
{% else %}
$jumbotron-image-size: cover;
{% endif %}
{% if site.jumbotron_mask %}
$jumbotron-mask: '{{ site.jumbotron_mask}}';
{% else %}
$jumbotron-mask: 'img/jumbotron_mask.svg';
{% endif %}
@import "custom";