-
Notifications
You must be signed in to change notification settings - Fork 735
Expand file tree
/
Copy pathstyles.css
More file actions
143 lines (120 loc) · 2.33 KB
/
styles.css
File metadata and controls
143 lines (120 loc) · 2.33 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
/**
* CSS file to hold styles that apply across the application
*/
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400&family=Montserrat:wght@200;400;600;800&display=swap");
html,
body {
font-family: "Montserrat", sans-serif;
height: 100%;
margin: 0;
overflow-x: hidden;
padding: 0;
width: 100%;
}
div#main {
display: flex;
flex-direction: column;
width: 100vw;
}
section {
position: relative;
width: 100vw;
}
section.min-height {
min-height: 100vh;
}
section.padding {
padding: 5rem 0;
}
section img.background {
height: 100%;
left: 50%;
object-fit: cover;
pointer-events: none;
position: absolute;
top: 0;
transform: translate(-50%, 0);
width: 100vmax;
z-index: -1;
}
h1 {
font-family: "Cormorant Garamond", serif;
font-size: 7rem;
font-weight: 400;
line-height: 0.8;
margin: 0;
}
h2 {
font-size: 2rem;
font-weight: 400;
margin: 0;
padding-top: 1rem;
}
h3 {
font-weight: 400;
font-size: 1.25rem;
margin: 0;
}
p {
font-size: 18px;
line-height: 1.5;
margin-bottom: 0;
font-weight: 300;
}
p.large {
font-size: 24px;
}
p.small {
font-size: 15px;
}
hr {
margin: 2.5rem;
}
li {
line-height: 1.7;
}
li::marker {
color: #4e567e;
}
a {
color: black;
text-decoration: none;
}
a:hover {
color: #4e567e;
}
.container {
display: grid;
grid-gap: 20px;
grid-template-columns: 330px 300px;
margin: 20px auto;
}
.container .box {
border-radius: 10px;
border: 1px solid rgb(204, 204, 204);
display: flex;
flex-direction: column;
justify-content: flex-start;
padding: 24px 16px;
text-align: center;
}
img.socialIcon {
height: 30px;
width: 30px;
transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.3s;
will-change: transform, box-shadow;
filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
}
img.socialIcon:hover {
transform: scale(1.3) rotate(-12deg);
box-shadow: 0 8px 24px 0 rgba(78,86,126,0.25), 0 1.5px 6px 0 rgba(0,0,0,0.10);
filter: drop-shadow(0 4px 12px rgba(78,86,126,0.18));
animation: social-bounce 0.5s;
}
@keyframes social-bounce {
0% { transform: scale(1) rotate(0deg); }
30% { transform: scale(1.25) rotate(-12deg); }
50% { transform: scale(0.95) rotate(6deg); }
70% { transform: scale(1.1) rotate(-6deg); }
100% { transform: scale(1.3) rotate(-12deg); }
}