Skip to content

Commit 3b785ba

Browse files
author
DNZ\darius
committed
Merge branch 'release/Release_for_2.1.0'
2 parents ef56556 + c490a83 commit 3b785ba

File tree

3 files changed

+59
-27
lines changed

3 files changed

+59
-27
lines changed

sass/base/heading.scss

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/* HEADERS
2+
* Always try to use a .head class for SEO reasons
3+
* Only style on h1-h6 when the client uses an editor like TinyMCE and you can't influence the classes
4+
*/
5+
6+
h1,
7+
h2,
8+
h3,
9+
h4,
10+
h5,
11+
h6,
12+
.head,
13+
.head1,
14+
.head2,
15+
.head3,
16+
.head4,
17+
.head5,
18+
.head6 {
19+
font-family: $font-sec;
20+
margin: 0 0 .8rem;
21+
line-height: 1.3;
22+
font-size: 2.4rem;
23+
}
24+
25+
h1, .head1 { font-size: 3.0rem; margin-bottom: .2rem; }
26+
h2, .head2 { font-size: 2.6rem; margin-bottom: .3rem; }
27+
h3, .head3 { font-size: 2.4rem; margin-bottom: .2rem; }
28+
h4, .head4 { font-size: 2.2rem; margin-bottom: .2rem; }
29+
h5, .head5 { font-size: 2.0rem; margin-bottom: .4rem; }
30+
h6, .head6 { font-size: 1.6rem; margin-bottom: .6rem; }

sass/main.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
@import 'layout/static_content';
77

88
/* Base
9-
These base files here so they overwrite the grid
9+
These base files here so they overwrite the grid
1010
*/
11-
@import 'base/defaults';
11+
@import 'base/defaults';
12+
@import 'base/heading';

sass/variables.scss

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
/*
1+
/*
22
---------- VARIABLES ----------
33
Castlecss-core variables
44
Do not edit this file!
55
Create a copy and edit or add your own variables there
6-
or download the full project for a ready-to-go setup here: https://github.com/CastleCSS/castlecss
6+
or download the boilerplate for a ready-to-go setup here: https://github.com/CastleCSS/castlecss-boilerplate
77
-------------------------------
88
*/
99

10-
/*
11-
Base colors
12-
Color 01 and 02 reservered for white and black
10+
/*
11+
Base colors
12+
Color 01 and 02 reservered for white and black
1313
*/
1414
$color01: #fff;
1515
$color02: #000;
1616

17-
/*
17+
/*
1818
Theme colors
1919
*/
2020
$theme01: #1B94BF; // Knight blue
@@ -23,15 +23,16 @@ $theme03: #12637F; // Falcon blue
2323
$theme04: #FFC200; // Royal yellow
2424
$theme05: #FFFFFF; // Destroyer white
2525

26-
/*
26+
/*
2727
Notification colors
2828
*/
29-
$alert: #FFD700;
30-
$negative: #FF7878;
31-
$positive: #29C85D;
29+
$alert: #c0dbff;
30+
$warning: #ffe283;
31+
$negative: #feb3b3;
32+
$positive: #c3e5cd;
3233
$disabled: #CDCDC1;
3334

34-
/*
35+
/*
3536
Breakpoints
3637
You can edit or add breakpoints
3738
*/
@@ -42,7 +43,7 @@ $b4: 1024px;
4243
$b5: 1280px;
4344
$b6: 1600px;
4445

45-
/*
46+
/*
4647
Mapping for breakpoint loops
4748
Must be the same amount as breakpoints above
4849
*/
@@ -56,9 +57,9 @@ $breakpoint-map: (
5657
);
5758
$amount-breakpoints: length($breakpoint-map);
5859

59-
/*
60+
/*
6061
Container sizes
61-
Must be the same amount of breakpoints and $breakpoint-map as above
62+
Must be the same amount of breakpoints and $breakpoint-map as above
6263
*/
6364
$container: 100%;
6465
$container-b1: 100%;
@@ -68,27 +69,27 @@ $container-b4: 996px;
6869
$container-b5: 1224px;
6970
$container-b6: 1400px;
7071

71-
/*
72+
/*
7273
Container map
73-
Must be the same amount of breakpoints and $breakpoint-map as above
74+
Must be the same amount of breakpoints and $breakpoint-map as above
7475
*/
7576
$container-map: (
7677
1: $container-b1,
7778
2: $container-b2,
7879
3: $container-b3,
7980
4: $container-b4,
8081
5: $container-b5,
81-
6: $container-b6,
82+
6: $container-b6,
8283
);
8384

84-
/*
85-
Flexbox grid, set to true or false for flexbox
85+
/*
86+
Flexbox grid, set to true or false for flexbox
8687
*/
8788
$flexbox-grid: true;
8889

89-
/*
90+
/*
9091
Grid gutters
91-
Must be the same amount of breakpoints $breakpoint-map as above
92+
Must be the same amount of breakpoints $breakpoint-map as above
9293
*/
9394
$grid-gutter: 12px;
9495
$grid-gutter-b1: 12px;
@@ -98,22 +99,22 @@ $grid-gutter-b4: 12px;
9899
$grid-gutter-b5: 12px;
99100
$grid-gutter-b6: 12px;
100101

101-
/*
102+
/*
102103
Default margin and padding
103104
*/
104105

105106
$padding-default: 12px;
106107
$margin-default: 12px;
107108

108-
/*
109+
/*
109110
Standard border-radius
110111
*/
111112
$radius: 5px;
112113

113-
/*
114+
/*
114115
Fonts
115116
*/
116117
$font-pri: Arial, Helvetica, sans-serif;
117118
$font-sec: Arial, Helvetica, sans-serif;
118119
$font-size-default: 1.6rem;
119-
$line-height-default: 1.5;
120+
$line-height-default: 1.5;

0 commit comments

Comments
 (0)