5
5
$base-color : #6b5d8c ;
6
6
$main-text : #fff ;
7
7
$portfolio-bg : #fff ;
8
+ $mobile-link : #000 ;
8
9
10
+ /* -----BASE ELEMENT STYLES-----*/
9
11
10
- /* Base Element Styles*/
11
12
* {
12
13
box-sizing : border-box ;
13
14
}
14
15
16
+ .flex {
17
+ display : flex ;
18
+ }
19
+
15
20
body {
16
21
font-family : ' Raleway' , sans-serif ;
17
22
background-color : $base-color ;
@@ -22,17 +27,16 @@ body {
22
27
23
28
p {
24
29
font-size : 1.4em ;
25
- font-weight : lighter ;
26
30
text-align : center ;
27
- margin : 20px 20px ;
28
31
padding : 10px ;
29
32
letter-spacing : .1em ;
30
33
}
31
34
32
35
li {
33
- display : block ;
34
36
list-style-type : none ;
35
37
font-size : 1.2em ;
38
+ letter-spacing : 1px ;
39
+ font-weight : bold ;
36
40
background-color : $main-text ;
37
41
margin : 5px 10px ;
38
42
padding : 20px ;
@@ -43,142 +47,147 @@ li {
43
47
h1 {
44
48
text-align : center ;
45
49
font-size : 2em ;
46
- margin : 0 ;
47
50
color : $main-text ;
48
- background-color : $base-color ;
49
-
50
51
}
51
52
52
53
h2 {
54
+ flex-basis : 100% ;
53
55
font-size : 2em ;
54
56
text-align : center ;
55
- color : $main-text ;
57
+ text-transform : uppercase ;
56
58
}
59
+
57
60
h3 {
58
61
font-size : 2em ;
59
62
text-align : center ;
63
+ letter-spacing : .1em ;
60
64
color : grey ;
61
65
}
62
66
63
67
ul {
64
68
margin : 0 ;
65
- width : 100% ;
66
69
padding-left : 0 ;
67
-
68
70
}
69
71
70
72
footer {
73
+ justify-content : space-between ;
74
+ align-items : center ;
71
75
border-top : solid $main-text 2px ;
72
- bottom : 0 ;
73
76
padding : 20px ;
74
- width : 100% ;
75
77
height : 100px ;
76
78
}
77
79
78
- /* Link Styles*/
79
- a {
80
+ /* -----LINK STYLES-----*/
81
+
82
+ a {
83
+ color : $mobile-link ;
80
84
text-decoration : none ;
81
85
padding : 10px ;
82
86
text-transform : uppercase ;
83
87
}
88
+
84
89
a :hover {
85
90
background-image : linear-gradient (to left , violet , indigo , blue , green , yellow , orange , red );
86
91
-webkit-background-clip : text ;
87
92
background-clip : text ;
88
93
-webkit-text-fill-color : transparent ;
89
-
90
94
}
91
95
92
96
a :visited {
93
- color : #000 ;
97
+ color : rgb ( 224 , 209 , 68 ) ;
94
98
}
95
99
96
100
.top a {
101
+ font-weight : 600 ;
97
102
font-size : 1rem ;
98
103
}
104
+
99
105
/* ===== Base Layout Styles=====*/
100
106
101
- /* Header and Main Navigation*/
107
+ /* -----HEADER/MAIN NAV------*/
108
+
109
+ .main-header {
110
+ flex-direction : column ;
111
+ margin : 10px ;
112
+ }
113
+
114
+ .main-nav ul {
115
+ flex-direction : column ;
116
+ }
117
+
118
+ /* -----INTRO------*/
119
+
102
120
.intro-img {
103
- display : block ;
104
- margin : 0 ;
105
- width : 100% ;
106
121
padding : 70px ;
107
122
border-radius : 50% ;
108
123
}
109
124
110
125
.intro {
111
- margin : 0 20 px 20 px 20 px ;
112
-
126
+ flex-direction : column ;
127
+ margin : 10 px ;
113
128
}
114
129
115
- .name {
116
- margin : 20px ;
117
-
118
- }
130
+ /* -----STYLED NAME-----*/
119
131
120
132
.name , .footer-name {
121
133
font-family : ' Caveat' , cursive;
122
134
color :#f7dbf0 ;
123
- font-size : 2em ;
135
+ font-size : 40px ;
136
+ margin : 20px ;
124
137
}
125
138
139
+ /* -----PORTFOLIO-----*/
140
+
126
141
.headergrey {
127
142
color : grey ;
128
143
text-transform : uppercase ;
129
-
130
144
}
131
145
132
146
.col p {
133
147
color : #000 ;
134
-
135
- }
136
- .portfolio-img {
137
- max-width : 100% ;
138
- display : block ;
139
- margin : auto ;
140
- padding : 10px ;
141
-
142
- }
143
-
144
- .portfolio-img :hover {
145
- opacity : 0.5 ;
146
-
147
148
}
148
149
149
150
.portfolio {
150
- width : 100 % ;
151
+ flex-direction : column ;
151
152
background-color : $portfolio-bg ;
152
- padding : 50px 0 ;
153
- }
153
+ padding : 50px 15px ;
154
154
155
- .nav li {
156
- display : block ;
157
- margin-top : 5px ;
158
- padding : 10px ;
159
- text-align : center ;
155
+ img {
156
+ display : block ;
157
+ max-width : 100% ;
158
+ padding : 10px ;
159
+
160
+ & :hover {
161
+ opacity : 0.5 ;
162
+ transition : ease-in .5s ;
163
+ }
164
+ }
160
165
}
161
166
162
-
167
+ /* -----SKILLS/CONTACT------ */
163
168
164
- .skills li {
165
- background-color : $base-color ;
169
+ .skills ,
170
+ .contact {
171
+ flex-direction : column ;
172
+ padding : 10px ;
166
173
174
+ ul {
175
+ flex-direction : column ;
176
+ }
167
177
178
+ li {
179
+ background : none ;
180
+ }
168
181
}
169
- .footer-name {
170
- background-color : $base-color ;
171
- margin : auto ;
172
- float : left ;
173
- }
174
182
175
- .top {
176
- background-color : $base-color ;
177
- margin : auto ;
178
- float : right ;
183
+ /* -----FOOTER------ */
184
+
185
+ .footer-nav a {
186
+ color : $main-text ;
179
187
}
180
188
181
- /* Footer Navigation*/
182
- .bottom {
189
+ /* -----HIDES FOOTER NAV ON MOBILE-----*/
190
+
191
+ .footer-nav {
183
192
display : none ;
184
193
}
0 commit comments