1- /* || Fonts Imports ('Outfit')
1+ /* || main scss styles
22 *************************/
3- @import url (' https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap' );
43
5- /* || Global Variables
4+ /* || import base styles
65 *************************/
7- /* || Colors
8- *************************/
9- $white : #ffffff ;
10- $light-gray : #d6e2f0 ;
11- $grayish-blue : #7b879d ;
12- $dark-blue : #1f3251 ;
13-
14- /* || Fonts
15- *************************/
16- $outfit : " Outfit" , sans-serif ;
17-
18- /* || Spacing
19- *************************/
20- $space-xs : 0.5rem ;
21- $space-sm : 1rem ;
22- $space-md : 1.5rem ;
23- $space-lg : 2.5rem ;
6+ @import ' base/variables' ;
7+ @import ' base/reset' ;
248
25- /* || Font sizes
9+ /* || import layout styles
2610 *************************/
27- $fs-sm : 0.9375rem ;
28- $fs-md : 1.375rem ;
11+ @import ' layout/body' ;
2912
30- /* || Reset
13+ /* || import components styles
3114 *************************/
32- * {
33- margin : 0 ;
34- padding : 0 ;
35- box-sizing : border-box ;
36- }
37-
38- /* || Body Elements
39- *************************/
40- body {
41- background-color : $light-gray ;
42- font-family : $outfit ;
43- }
44-
45- main {
46- height : 100vh ;
47-
48- display : flex ;
49- justify-content : center ;
50- align-items : center ;
51- }
52-
53- /* || Card Component
54- *************************/
55- .card {
56- padding : $space-sm $space-sm $space-lg ;
57- max-width : 320px ;
58- border-radius : 20px ;
59-
60- background-color : $white ;
61- box-shadow : 0px 25px 25px rgba (0 , 0 , 0 , 0.0476518 );
62-
63- & __img {
64- width : 100% ;
65- height : auto ;
66- border-radius : 10px ;
67- display : block ;
68- }
69-
70- & __content {
71- margin-top : $space-md ;
72- padding : 0 $space-sm ;
73- text-align : center ;
74- }
75-
76-
77- & __title {
78- font-size : $fs-md ;
79- color : $dark-blue ;
80- }
81-
82- & __description {
83- margin-top : $space-sm ;
84-
85- font-size : $fs-sm ;
86- font-weight : 400 ;
87- letter-spacing : 0.1875px ;
88- line-height : 1.1875rem ;
89-
90- color : $grayish-blue ;
91- }
92- }
15+ @import ' components/card' ;
0 commit comments