-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
134 lines (105 loc) · 2.06 KB
/
styles.css
File metadata and controls
134 lines (105 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/* CSS VARIABLES */
:root {
--yellow: #fecd32;
--black: #000000;
--white: #f2f2f2;
--gray: #2f2f2f;
--blue: #2c3e50;
}
/* GENERAL start */
html {
font-family: 'Roboto', sans-serif;
/* Add smooth scrolling when navigating */
scroll-behavior: smooth;
}
body {
/* Body has default margin of 8px */
margin: 0;
}
a {
text-decoration: none;
}
li {
list-style-type: none;
}
section {
/* Prevent anchor links from scrolling over the section header */
scroll-margin-top: 35px;
padding: 20px;
}
/* GENERAL stop */
/* NAV start */
nav {
position: sticky;
top: 0;
background-color: var(--yellow);
z-index: 1;
}
nav ul {
margin: 0;
padding: 15px 0;
display: flex;
justify-content: space-evenly;
align-items: center;
}
nav ul li a {
color: var(--black);
transition: font-size 0.3s;
}
nav ul li a:hover, nav ul li a:active {
font-size: 1.2rem;
}
/* NAV stop */
/* HEADER start */
.main-header {
background: #ffffff url("digit_hero.jpg") no-repeat center center;
backdrop-filter: blur(50%);
background-size: cover;
height: 40vh;
}
.main-header hgroup {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
backdrop-filter: blur(1px);
text-align: center;
height: 100%;
color: var(--white);
text-shadow: -0.5px 0 black, 0 .5px black, .5px 0 black, 0 -.5px black;
}
.main-header hgroup h2 {
font-size: 1em;
}
/* HEADER stop */
/* SECTIONS start */
#about, #contact {
background-color: var(--gray);
color: var(--white);
}
#education, #projects {
background-color: var(--white);
color: var(--gray);
}
#experience {
background-color: var(--blue);
color: var(--white);
}
#contact a {
color: white;
}
.social {
padding: 0;
margin-top: 40px;
display: flex;
justify-content: space-evenly;
}
/* SECTIONS stop */
/* FOOTER start */
footer {
background-color: var(--black);
padding: 10px;
color: var(--white);
text-align: center;
}
/* FOOTER stop */