Skip to content

Commit eed522b

Browse files
committed
enough has been done for today
1 parent 7313acd commit eed522b

File tree

6 files changed

+63
-167
lines changed

6 files changed

+63
-167
lines changed

assets/bio.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

assets/images/bg.png

-3.95 KB
Binary file not shown.

assets/images/lips.svg

Lines changed: 5 additions & 0 deletions
Loading

css/main.css

Lines changed: 51 additions & 147 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/*
2+
Main.css
3+
Color Profile:
4+
dark: #222, #131314
5+
grey: #a6a9ac, #dcdcde
6+
light: #f8f8f6, #efeff2
7+
8+
*/
9+
110
*,
211
*::after,
312
*::before {
@@ -6,22 +15,22 @@
615

716
body {
817
font-family: 'Rubik', sans-serif;
9-
color: #131314;
10-
background: #efeff2 url(../img/bg.png) repeat-y 50% 500px;
18+
color: #f8f8f6;
19+
background: #222;
1120
background-size: 70%;
1221
-webkit-font-smoothing: antialiased;
1322
-moz-osx-font-smoothing: grayscale;
1423
}
1524

1625
a {
1726
text-decoration: none;
18-
color: #a6a9ac;
27+
color: #dcdcde;
1928
outline: none;
2029
}
2130

2231
a:hover,
2332
a:focus {
24-
color: #131314;
33+
color: #f8f8f6;
2534
}
2635

2736
.hidden {
@@ -40,62 +49,61 @@ a:focus {
4049
left: 0;
4150
width: 100%;
4251
height: 100%;
43-
background: #efeff2;
52+
background: #222;
4453
}
4554

4655
.js .loading::after {
47-
content: '';
56+
content: 'Pluto a planet?';
57+
font-size: 1.625em;
58+
font-weight: 500;
59+
line-height: 1.5;
60+
margin: 0;
61+
padding: 0.5em 0;
62+
letter-spacing: 1.62em;
63+
text-transform: uppercase;
64+
4865
position: fixed;
4966
z-index: 1001;
5067
top: 50%;
5168
left: 50%;
52-
width: 50px;
53-
height: 50px;
54-
margin: -25px 0 0 -25px;
69+
display: flex;
70+
flex-direction: column;
71+
text-align: center;
72+
align-content: space-around;
73+
width: 62vw;
74+
height: 62vw;
75+
margin: -31vw 0 0 -31vw;
76+
border-radius: 50%;
5577
pointer-events: none;
56-
border-radius: 50%;
57-
background: #dcdcde;
58-
animation: loaderAnim 0.8s ease-out infinite alternate forwards;
78+
background: #3F51B5;
79+
/*animation: loaderAnim 4s ease-out infinite alternate forwards;*/
80+
animation-name: loaderAnim;
81+
animation-duration: 3s;
82+
animation-iteration-count: infinite;
83+
animation-direction: alternate;
84+
animation-timing-function: ease-in-out;
85+
animation-fill-mode: both;
5986
}
6087

6188
@keyframes loaderAnim {
6289
to {
6390
transform: scale3d(0.5,0.5,1);
91+
background-color:#7670bd;
92+
letter-spacing: 1em;
6493
}
65-
}
66-
67-
/* Icons */
68-
.icon {
69-
display: block;
70-
width: 1.5em;
71-
height: 1.5em;
72-
margin: 0 auto;
73-
fill: currentColor;
94+
/*
95+
0% {background-color:#366bbd; left:25%; top:25%;}
96+
25% {background-color:#3d8fbd; left:75%; top:25%;}
97+
50% {background-color:#6a7dbd; left:75%; top:75%;}
98+
75% {background-color:#585abc; left:25%; top:75%;}
99+
100% {background-color:#7670bd; left:25%; top:25%;}
100+
*/
74101
}
75102

76103
main {
77104
overflow: hidden;
78105
}
79106

80-
.github {
81-
position: absolute;
82-
top: 0;
83-
right: 0;
84-
width: 6em;
85-
height: 6em;
86-
}
87-
88-
.github__deco {
89-
position: absolute;
90-
z-index: -1;
91-
fill: #e6e6e6;
92-
}
93-
94-
.icon--github {
95-
font-size: 1.15em;
96-
margin: 1em 0 0 2.5em;
97-
}
98-
99107
/* Content */
100108
.content {
101109
padding: 3em 0;
@@ -110,26 +118,6 @@ main {
110118
grid-template-columns: 50% 50%;
111119
}
112120

113-
.content--related {
114-
font-size: 0.85em;
115-
display: grid;
116-
justify-content: center;
117-
align-content: center;
118-
max-width: 800px;
119-
margin: 0 auto;
120-
padding: 0 2em;
121-
padding: 10em 0;
122-
text-align: center;
123-
letter-spacing: 0.05em;
124-
125-
grid-template-columns: repeat(auto-fill, 260px);
126-
grid-gap: 4em;
127-
}
128-
129-
.content--related > p {
130-
grid-column: 1 / -1;
131-
}
132-
133121
/* Header */
134122
.codrops-header {
135123
position: relative;
@@ -150,46 +138,6 @@ main {
150138
text-transform: uppercase;
151139
}
152140

153-
/* Top Navigation Style */
154-
.codrops-links {
155-
position: relative;
156-
display: flex;
157-
margin: 0 1em 0 0;
158-
text-align: center;
159-
white-space: nowrap;
160-
}
161-
162-
.codrops-icon {
163-
display: inline-block;
164-
margin: 0.5em;
165-
}
166-
167-
.codrops-icon:first-child {
168-
margin-left: 0;
169-
}
170-
/* Related post item */
171-
.media-item {
172-
display: block;
173-
transition: color 0.3s;
174-
}
175-
176-
.media-item__img {
177-
max-width: 100%;
178-
opacity: 0.8;
179-
border-radius: 60px/100px;
180-
transition: opacity 0.3s;
181-
}
182-
183-
.media-item:hover .media-item__img,
184-
.media-item:focus .media-item__img {
185-
opacity: 1;
186-
}
187-
188-
.media-item__title {
189-
font-weight: normal;
190-
margin: 0;
191-
padding: 0.5em;
192-
}
193141

194142
/* items */
195143
.item {
@@ -283,60 +231,16 @@ main {
283231
opacity: 0;
284232
}
285233

286-
/* Individual styles */
234+
/* Blob Theme */
287235
.item__deco {
288-
fill: #dcdcde;
236+
fill: #3F51B5;
289237
}
290238

291239
.item__title {
292-
color: #131314;
240+
color: #f8f8f6;
293241
}
294242

295-
/* Individual styles
296-
.item--style-1 .item__deco {
297-
fill: #dcdcde;
298-
}
299-
300-
.item--style-2 .item__deco {
301-
fill: #dcdcde;
302-
}
303243

304-
.item--style-3 .item__deco {
305-
fill: #fff;
306-
}
307-
308-
.item--style-3 .item__title {
309-
color: #131314;
310-
}
311-
312-
.item--style-4 .item__deco {
313-
fill: #dcdcde;
314-
}
315-
316-
.item--style-5 .item__deco {
317-
fill: #dcdcde;
318-
}
319-
320-
.item--style-6 .item__deco {
321-
fill: #dcdcde;
322-
}
323-
324-
.item--style-7 .item__deco {
325-
fill: #fff;
326-
}
327-
328-
.item--style-7 .item__title {
329-
color: #131314;
330-
}
331-
332-
.item--style-8 .item__deco {
333-
fill: #dcdcde;
334-
}
335-
336-
.item--style-9 .item__deco {
337-
fill: #dcdcde;
338-
}
339-
*/
340244
@media screen and (max-width: 60em) {
341245
.item:first-of-type {
342246
grid-column: span 2;

index.html

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<!-- Webpage Icon -->
1919
<link rel="shortcut icon" href="./assets/images/icon.png" type="image/png">
2020
<!-- Fonts -->
21-
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab" rel="stylesheet">
2221
<link href="https://fonts.googleapis.com/css?family=Rubik:400,500,600" rel="stylesheet">
2322
<!-- JS Scripts -->
2423
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
@@ -40,19 +39,6 @@
4039

4140
<body class="loading">
4241
<svg class="hidden">
43-
<symbol id="icon-arrow" viewBox="0 0 24 24">
44-
<title>arrow</title>
45-
<polygon points="6.3,12.8 20.9,12.8 20.9,11.2 6.3,11.2 10.2,7.2 9,6 3.1,12 9,18 10.2,16.8 "/>
46-
</symbol>
47-
<symbol id="icon-drop" viewBox="0 0 24 24">
48-
<title>drop</title>
49-
<path d="M12,21c-3.6,0-6.6-3-6.6-6.6C5.4,11,10.8,4,11.4,3.2C11.6,3.1,11.8,3,12,3s0.4,0.1,0.6,0.3c0.6,0.8,6.1,7.8,6.1,11.2C18.6,18.1,15.6,21,12,21zM12,4.8c-1.8,2.4-5.2,7.4-5.2,9.6c0,2.9,2.3,5.2,5.2,5.2s5.2-2.3,5.2-5.2C17.2,12.2,13.8,7.3,12,4.8z"/>
50-
<path d="M12,18.2c-0.4,0-0.7-0.3-0.7-0.7s0.3-0.7,0.7-0.7c1.3,0,2.4-1.1,2.4-2.4c0-0.4,0.3-0.7,0.7-0.7c0.4,0,0.7,0.3,0.7,0.7C15.8,16.5,14.1,18.2,12,18.2z"/>
51-
</symbol>
52-
<symbol id="icon-github" viewBox="0 0 32.6 31.8">
53-
<title>github</title>
54-
<path d="M16.3,0C7.3,0,0,7.3,0,16.3c0,7.2,4.7,13.3,11.1,15.5c0.8,0.1,1.1-0.4,1.1-0.8c0-0.4,0-1.4,0-2.8c-4.5,1-5.5-2.2-5.5-2.2c-0.7-1.9-1.8-2.4-1.8-2.4c-1.5-1,0.1-1,0.1-1c1.6,0.1,2.5,1.7,2.5,1.7c1.5,2.5,3.8,1.8,4.7,1.4c0.1-1.1,0.6-1.8,1-2.2c-3.6-0.4-7.4-1.8-7.4-8.1c0-1.8,0.6-3.2,1.7-4.4C7.4,10.7,6.8,9,7.7,6.8c0,0,1.4-0.4,4.5,1.7c1.3-0.4,2.7-0.5,4.1-0.5c1.4,0,2.8,0.2,4.1,0.5c3.1-2.1,4.5-1.7,4.5-1.7c0.9,2.2,0.3,3.9,0.2,4.3c1,1.1,1.7,2.6,1.7,4.4c0,6.3-3.8,7.6-7.4,8c0.6,0.5,1.1,1.5,1.1,3c0,2.2,0,3.9,0,4.5c0,0.4,0.3,0.9,1.1,0.8c6.5-2.2,11.1-8.3,11.1-15.5C32.6,7.3,25.3,0,16.3,0z"/>
55-
</symbol>
5642
<!-- All deco shapes -->
5743
<defs>
5844
<path id="deco1" d="M 161,54.69 C 230.4,4.986 303.7,8.661 414.4,92.19 465.7,130.9 432.3,211.4 460,279.5 481,331.2 449.7,430.4 381.1,427 287.1,422.3 172.4,503.8 99.27,444.6 21.03,381.1 10.32,258.3 55.25,145.6 73.73,99.3 129.3,77.36 161,54.69 Z" />
@@ -64,8 +50,14 @@
6450
<path id="deco7" d="M 451.9,392.4 C 365.4,455.1 212.9,465.1 131.6,395.9 55.74,331.3 2.509,152.7 87.24,100.3 135.8,70.3 177.8,170.2 227.3,198.6 307.2,244.4 442.2,228.9 478.7,313.5 489.7,339 474.4,376.1 451.9,392.4 Z" />
6551
</defs>
6652
</svg>
53+
6754
<main>
6855
<div class="content content--grid">
56+
<header class="codrops-header">
57+
<h1 class="codrops-header__title">meredith hoo</h1>
58+
<p class="codrops-header__subtitle">i'm really cool</p>
59+
</header>
60+
6961
<div class="item item--style-1" data-animation-path-duration="800" data-animation-path-easing="easeInOutCubic" data-path-elasticity="300" data-morph-path="M 189,80.37 C 232.6,46.67 352.5,67.06 350.9,124.1 349.5,173.4 311.7,168 312.4,248.1 312.9,301.1 382.5,319.2 368.5,379.1 349.4,460.6 137.7,467.5 117.6,386.3 98.68,309.7 171.5,292.2 183.6,240.1 195.7,188.2 123.8,130.7 189,80.37 Z" data-path-scaleX="0.8" data-path-scaleY="1.1" data-path-translateX="0" data-path-translateY="30" data-path-rotate="5" data-animation-image-duration="800" data-animation-image-easing="easeInOutQuart" data-image-elasticity="300" data-image-scaleX="1.2" data-image-scaleY="1.2" data-image-translateX="-20" data-image-translateY="-45" data-image-rotate="-5" data-animation-deco-duration="1300" data-animation-deco-easing="easeOutQuad" data-deco-elasticity="300" data-deco-scaleX="0.8" data-deco-scaleY="0.9" data-deco-translateX="-5" data-deco-translateY="-5" data-deco-rotate="2">
7062
<svg class="item__svg" width="500px" height="500px" viewBox="0 0 500 500">
7163
<clipPath id="clipShape1">

js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,5 @@
128128

129129
const items = Array.from(document.querySelectorAll('.item'));
130130
const init = (() => items.forEach(item => new ImgItem(item)))();
131-
setTimeout(() => document.body.classList.remove('loading'), 2000);
131+
setTimeout(() => document.body.classList.remove('loading'), 500000);
132132
};

0 commit comments

Comments
 (0)