Skip to content

Commit 5225671

Browse files
committed
add scss styles
1 parent 7a63509 commit 5225671

File tree

3 files changed

+142
-16
lines changed

3 files changed

+142
-16
lines changed

assets/styles/layout/page-layout.css

Lines changed: 0 additions & 16 deletions
This file was deleted.

assets/styles/styles.css

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/* Colors
2+
******************************/
3+
/* Primary
4+
******************************/
5+
/* Fonts
6+
******************************/
7+
/* Global Variables
8+
******************************/
9+
* {
10+
margin: 0;
11+
padding: 0;
12+
box-sizing: border-box;
13+
}
14+
15+
body {
16+
background-color: #d6e2f0;
17+
font-family: "Outfit", sans-serif;
18+
}
19+
20+
/* Body Elements
21+
******************************/
22+
main {
23+
height: 100vh;
24+
display: flex;
25+
justify-content: center;
26+
align-items: center;
27+
}
28+
29+
.card {
30+
margin: 152px 0 151px;
31+
padding: 16px 16px 40px;
32+
max-width: 320px;
33+
border-radius: 20px;
34+
background-color: #ffffff;
35+
box-shadow: 0px 25px 25px rgba(0, 0, 0, 0.0476518);
36+
}
37+
38+
.card__img {
39+
width: 100%;
40+
height: 100%;
41+
border-radius: 10px;
42+
display: block;
43+
}
44+
45+
.card__content {
46+
margin-top: 24px;
47+
padding: 0 16px;
48+
text-align: center;
49+
}
50+
51+
.card__title {
52+
font-size: 22px;
53+
color: #1f3251;
54+
}
55+
56+
.card__subtitle {
57+
margin-top: 16px;
58+
font-size: 15px;
59+
font-weight: 400;
60+
color: #7b879d;
61+
}

assets/styles/styles.scss

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
/* Colors
2+
******************************/
3+
/* Primary
4+
******************************/
5+
$white: #ffffff;
6+
$light-gray: #d6e2f0;
7+
$grayish-blue: #7b879d;
8+
$dark-blue: #1f3251;
9+
$blue: #2C7DFA;
10+
$blue-shade: #3685FF;
11+
12+
/* Fonts
13+
******************************/
14+
$outfit: "Outfit", sans-serif;
15+
16+
/* Global Variables
17+
******************************/
18+
19+
* {
20+
margin: 0;
21+
padding: 0;
22+
box-sizing: border-box;
23+
}
24+
25+
body {
26+
background-color: $light-gray;
27+
font-family: $outfit;
28+
}
29+
30+
/* Body Elements
31+
******************************/
32+
33+
main {
34+
height: 100vh;
35+
36+
display: flex;
37+
justify-content: center;
38+
align-items: center;
39+
}
40+
41+
.card {
42+
margin: 152px 0 151px;
43+
padding: 16px 16px 40px;
44+
max-width: 320px;
45+
border-radius: 20px;
46+
47+
background-color: $white;
48+
box-shadow: 0px 25px 25px rgba(0, 0, 0, 0.0476518);
49+
50+
51+
52+
&__img {
53+
54+
width: 100%;
55+
height: 100%;
56+
border-radius: 10px;
57+
display: block;
58+
}
59+
60+
&__content {
61+
margin-top: 24px;
62+
padding: 0 16px;
63+
text-align: center;
64+
}
65+
66+
67+
&__title {
68+
69+
font-size: 22px;
70+
71+
color: $dark-blue;
72+
}
73+
74+
&__subtitle {
75+
margin-top: 16px;
76+
font-size: 15px;
77+
font-weight: 400;
78+
79+
color: $grayish-blue;
80+
}
81+
}

0 commit comments

Comments
 (0)