1
+
2
+
3
+ $orange1 : #EE5B32 ;
4
+ $orange2 : #e25803 ;
5
+ $orange3 : #FB7928 ;
6
+ $blue : #00b5da ;
7
+ $light_grey : rgba (255 , 255 , 255 , 0.6 );
8
+ $white : #fff ;
9
+ $grey : #333333 ;
10
+
11
+
12
+
1
13
body {
2
14
font-family : ' Source Sans Pro' , sans-serif ;
3
- color : #333333 ;
15
+ color : $grey ;
4
16
}
5
17
6
18
h2 {
28
40
29
41
.footer {
30
42
bottom : 0 ;
31
- height : 7rem ;
32
- /* Footer height */
43
+ height : 7rem ; /* Footer height */
33
44
}
34
45
35
46
.card-columns {
36
47
column-count : 2 ;
37
48
}
38
49
39
50
.main-header {
40
- background-color : #EE5B32 ;
51
+ background-color : $orange1 ;
41
52
}
42
53
43
54
.navbar {
44
- background-image : linear-gradient (90deg , #EE5B32 , #FB7928 , #EE5B32 );
45
- background-size : 100% 130px ;
46
- background-position-y : bottom ;
55
+ background : {
56
+ image : linear-gradient (90deg , $orange1 , $orange3 , $orange1 );
57
+ size : 100% 130px ;
58
+ position-y : bottom ;
59
+ }
47
60
}
48
61
49
62
.page-title {
50
- background-color : #fff ;
51
- border-bottom-style : solid ;
52
- border-color : #EE5B32 ;
53
- border-width : 10px ;
63
+ background-color : $white ;
64
+ border : {
65
+ bottom-style : solid ;
66
+ color : $orange1 ;
67
+ width : 10px ;
68
+ }
54
69
padding-left : 0px ;
55
70
font-weight : 600 ;
56
- color : #333333 ;
71
+ color : $grey ;
57
72
}
58
73
59
- .featured-project-card {
60
- background-color : #fff ;
61
- border-left-color : #00b5da !important ;
62
- border-left-width : 10px ;
74
+ @mixin style {
75
+ background-orange 3: $white ;
76
+ border : {
77
+ left-orange 3: $blue !important ;
78
+ left-width : 10px ;
79
+ }
63
80
padding-left : 0px ;
64
- min-width : 20rem ;
65
- max-width : 20rem ;
66
81
}
67
82
68
- .badge-featured- project {
69
- background-color : #00b5da ;
70
- color : white ;
71
- font-size : 0.8 rem ;
83
+ .featuorange1- project-card {
84
+ @include style () ;
85
+ min-width : 20 rem ;
86
+ max-width : 20 rem ;
72
87
}
73
88
74
89
.project-idea-header {
75
- background-color : #fff ;
76
- border-color : #00b5da ;
77
- border-width : 10px ;
78
- padding-left : 0px ;
90
+ @include style ();
79
91
font-size : 1.5em ;
80
92
}
81
93
94
+ .badge-featured-project {
95
+ background-color : $blue ;
96
+ color : $white ;
97
+ font-size : 0.8rem ;
98
+ }
99
+
82
100
#back-to-top {
83
101
cursor : pointer ;
84
102
position : fixed ;
85
103
bottom : 20px ;
86
104
right : 20px ;
87
105
display : none ;
88
- background-color : #00b5da ;
106
+ background-color : $blue ;
89
107
border : none ;
90
108
}
91
109
@@ -103,20 +121,20 @@ h2 {
103
121
}
104
122
105
123
.nav-item :hover {
106
- background : #e15803 !important ;
124
+ background : $orange2 !important ;
107
125
}
108
126
109
127
.navbar-dark {
110
128
.navbar-nav .nav-item .nav-link {
111
129
color : white ;
112
130
line-height : 1rem ;
113
- border-left : 1px solid rgba ( 255 , 255 , 255 , 0.6 ) ;
131
+ border-left : 1px solid $light_grey ;
114
132
}
115
133
.navbar-toggler {
116
- border-color : rgba ( 255 , 255 , 255 , 0.6 ) ;
134
+ border-color : $white ;
117
135
}
118
136
.navbar-nav .nav-item.active .nav-link {
119
- background : #e15803 !important ;
137
+ background : $orange2 !important ;
120
138
}
121
139
}
122
140
0 commit comments