-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
executable file
·114 lines (87 loc) · 1.44 KB
/
style.css
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
/* global CSS */
@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro&display=swap');
body {
background-color: rgb(7, 0, 14);
margin: 0;
color: white;
font-family: 'Source Code Pro', serif;
text-align: center;
}
h1 {
font-size: 6vw;
margin-bottom: 10px;
}
h2 {
font-size: 3vw;
margin: 0;
}
a:hover {
letter-spacing: 0.1vw;
}
.container {
scroll-snap-type: y mandatory;
overflow-y: auto;
height: 100vh;
}
section {
padding: 5vmin;
scroll-snap-align: start;
height: 100vh;
}
.description {
padding: 5vw;
}
.description p {
text-align: justify;
font-size: 2.5vmin;
}
/* Blinker */
#blink {
animation: blinker 1s step-start infinite;
}
@keyframes blinker {
50% {
opacity: 0;
}
}
/* Section transitions (side-entry) */
.animate {
filter: blur(5px);
opacity: 0;
transition: all 1s;
}
.show {
filter: blur(0);
opacity: 1;
}
/* Homepage */
.one img {
height: 30vmin;
margin: 10vh;
margin-left: auto;
margin-right: auto;
}
.socials {
margin: 10vmin;
padding: 5vmin;
}
.social {
display: inline-block;
margin: 2vmin;
}
.social:hover {
transform:translateY(-15%);
}
.social img {
height: 12vmin;
}
.projects-container {
padding: 1vw;
margin: 1vw;
text-align: center;
}
.projects-container a {
color: white;
text-decoration: none;
font-size: 2vw;
}