Skip to content

Commit 2b4487c

Browse files
committed
fix(scss): fix styles, some hardcodes with 'important'
1 parent 6448cd1 commit 2b4487c

File tree

2 files changed

+24
-26
lines changed

2 files changed

+24
-26
lines changed

scss/_variables.scss

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
$dark: #212529;
2+
$white: #ffffff;
23
$light: #f8f9fa;
34
$gray: #ebebeb;
45
$primary: #007bff;

scss/styles.scss

+23-26
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,41 @@ body {
55
padding: 20px;
66
margin: 0;
77
background: $gray;
8+
color: $dark;
89
}
910

10-
body,
11-
p,
12-
div {
13-
font-family: -apple-system,BlinkMacSystemFont,Roboto,Helvetica,Arial,NotoSans,sans-serif;
11+
body, p, div {
12+
font-family: -apple-system,BlinkMacSystemFont,Roboto,Helvetica,Arial,NotoSans,sans-serif !important;
1413
font-size: 14px;
1514
}
1615

17-
body {
18-
color: $dark;
16+
h1, h2, h3, h4, h5, h6, span, p {
17+
margin: 0;
18+
padding: 0;
19+
color: $dark !important;
1920
}
2021

2122
body a {
22-
color: $primary;
23-
text-decoration: none;
23+
color: $primary !important;
24+
text-decoration: none !important;
2425
}
2526

26-
.btn {
27-
background: $theme-color;
28-
color: color-yiq($theme-color);
29-
border: none;
30-
border-radius: 3px;
31-
display: inline-block;
32-
font-size: 16px;
33-
line-height: 16px;
34-
padding: 12px 70px 12px 70px;
35-
text-align: center;
36-
text-decoration: none;
27+
.main {
28+
background: $white !important;
29+
padding-top: 20px !important;
3730
}
3831

39-
p {
40-
margin: 0;
41-
padding: 0;
32+
.btn {
33+
background: $theme-color !important;
34+
color: color-yiq($theme-color) !important;
35+
border: none !important;
36+
border-radius: 3px !important;
37+
display: inline-block !important;
38+
font-size: 16px !important;
39+
line-height: 16px !important;
40+
padding: 12px 70px 12px 70px !important;
41+
text-align: center !important;
42+
text-decoration: none !important;
4243
}
4344

4445
table.wrapper {
@@ -115,8 +116,4 @@ img.max-width {
115116
margin-left: 0 !important;
116117
margin-right: 0 !important;
117118
}
118-
119-
.total_spacer {
120-
padding:0px 0px 0px 0px;
121-
}
122119
}

0 commit comments

Comments
 (0)