-
Notifications
You must be signed in to change notification settings - Fork 290
Expand file tree
/
Copy pathutilities.css
More file actions
145 lines (121 loc) · 2.28 KB
/
Copy pathutilities.css
File metadata and controls
145 lines (121 loc) · 2.28 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
135
136
137
138
139
140
141
142
143
144
145
/* ?This is where reusable styling of this template will be.
!Will contain things like:
* Button styling
* Background color styling
* padding and margin
*/
.container {
max-width: var(--width-medium);
margin: 0 auto;
padding: 1rem 2rem;
}
h1::selection,
h2::selection {
color: #111;
background: var(--primary-color);
}
/* Buttons */
.btn {
display: inline-block;
padding: 0.75rem 1.9rem;
border-radius: 30px;
text-transform: uppercase;
font-size: 0.82rem;
transition: 0.3s;
}
.btn-primary {
background: var(--primary-color);
color: #000000;
}
.btn-secondary {
margin: 5px 0;
background-color: var(--bg-secondary);
color: var(--bg-primary);
}
/* add hover to resume button */
.btn-primary:hover {
background: var(--secondary-color);
}
/* Dark mode toggle */
#switch {
display: none;
}
.toggle-icons {
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
}
.toggle-icons > img {
transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
width: 30px;
}
.moon {
transform: rotate(10deg);
}
#switch:checked + .toggle-icons .moon {
transform: rotate(250deg);
}
#switch:checked + .toggle-icons .sun {
transform: rotate(100deg);
}
/* Header Container */
.header-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 8rem;
padding: 1rem;
}
.header-container > div {
margin-top: 1rem;
}
.content-text {
text-align: center;
margin: 1.5rem 0;
}
.content-text h2 {
font-size: 3rem;
line-height: 1.2;
transition: 0.2s ease-in-out;
}
.content-text p {
padding: 0.5rem;
margin: 0 auto;
max-width: 700px;
}
/* Project cards */
.card {
padding: 1rem;
background: var(--card-background) center center/cover;
color: #ffffff;
border-radius: 5px;
transition: 0.4s ease-in-out;
cursor: pointer;
}
.card a {
color: #ffffff;
transition: 0.25s ease-in-out;
font-size: 1.1rem;
margin-right: 0.3rem;
}
.card a:hover {
color: var(--primary-color);
}
.card:hover {
box-shadow: inset 0 100px 1000px 10px rgba(0, 0, 0, 0.8);
}
.card:hover .project-info {
opacity: 1;
}
/* Media Queries */
@media (max-width: 768px) {
.header-container {
margin-top: 7rem;
text-align: center;
}
.content-text h2 {
font-size: 2.5rem;
}
}