Skip to content

Commit 7c52d16

Browse files
authored
Merge pull request #19 from natanielf/dev
Small style updates
2 parents 3cc1bac + 1961769 commit 7c52d16

3 files changed

Lines changed: 20 additions & 11 deletions

File tree

assets/css/style.css

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
--red: #EC1F28;
88
--red-transparent: rgba(236, 31, 40, 0.75);
99
--br: 8px;
10+
--shadow-transition: all 0.25s ease-out;
1011
--dt-main: #000000;
1112
--dt-accent: #FFFFFF;
1213
--dt-content-bkgd: rgba(0, 0, 0, 0.75);
@@ -63,10 +64,13 @@ body {
6364
height: auto;
6465
display: grid;
6566
place-items: center;
67+
background-color: var(--lt-main);
6668
border-style: solid;
6769
border-width: thin;
6870
border-color: var(--red);
6971
border-radius: var(--br);
72+
-webkit-transition: var(--shadow-transition);
73+
transition: var(--shadow-transition);
7074
}
7175

7276
hr {
@@ -110,12 +114,14 @@ nav {
110114
overflow: hidden;
111115
z-index: 1;
112116
border-radius: var(--br);
113-
-webkit-transition: all 0.25s ease-out;
114-
transition: all 0.25s ease-out;
117+
-webkit-transition: var(--shadow-transition);
118+
transition: var(--shadow-transition);
115119
}
116120

117121
nav:hover,
118-
nav:focus-within {
122+
nav:focus-within,
123+
.footer:hover,
124+
.footer:focus-within {
119125
-webkit-box-shadow: var(--lt-box-shadow);
120126
box-shadow: var(--lt-box-shadow);
121127
}
@@ -252,7 +258,7 @@ iframe {
252258
right: 0;
253259
width: 100%;
254260
height: 100%;
255-
border-radius: var(--br);
261+
border: none;
256262
}
257263

258264
.logo-container {
@@ -330,12 +336,15 @@ canvas {
330336
box-shadow: var(--dt-box-shadow);
331337
}
332338

333-
nav {
339+
nav,
340+
.footer {
334341
background-color: var(--dt-main);
335342
}
336343

337344
nav:hover,
338-
nav:focus-within {
345+
nav:focus-within,
346+
.footer:hover,
347+
.footer:focus-within {
339348
-webkit-box-shadow: var(--dt-box-shadow);
340349
box-shadow: var(--dt-box-shadow);
341350
}

assets/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ particlesJS('particles-js',
33
{
44
"particles": {
55
"number": {
6-
"value": 100,
6+
"value": 90,
77
"density": {
88
"enable": true,
99
"value_area": 800

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,24 +171,24 @@ <h2>Nature Shots</h2>
171171
<h2>Check out my latest YouTube video:</h2>
172172

173173
<div class="iframe-container">
174-
<iframe title="My Latest YouTube Video" src="https://www.youtube.com/embed/2zy5Bbt_RDY" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
174+
<iframe title="My Latest YouTube Video" src="https://www.youtube.com/embed/2zy5Bbt_RDY" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
175175
</div>
176176

177177
<h2>Client Work</h2>
178178

179179
<h3>"Snowfall On My Home" Music Video</h3>
180180
<div class="iframe-container">
181-
<iframe title="Snowfall On My Home" src="https://www.youtube.com/embed/QDmmBW2WU0M" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
181+
<iframe title="Snowfall On My Home" src="https://www.youtube.com/embed/QDmmBW2WU0M" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
182182
</div>
183183

184184
<h3>"Prophet King of Lions" Music Video</h3>
185185
<div class="iframe-container">
186-
<iframe title="Prophet King of Lions" src="https://www.youtube.com/embed/YzAtiBxJgDo" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
186+
<iframe title="Prophet King of Lions" src="https://www.youtube.com/embed/YzAtiBxJgDo" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
187187
</div>
188188

189189
<h3>"A Flower Child" Music Video</h3>
190190
<div class="iframe-container">
191-
<iframe title="A Flower Child" src="https://www.youtube.com/embed/xxs7sWJ2BvQ" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
191+
<iframe title="A Flower Child" src="https://www.youtube.com/embed/xxs7sWJ2BvQ" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
192192
</div>
193193

194194
<hr>

0 commit comments

Comments
 (0)