Skip to content

Commit 75e90bd

Browse files
committed
Added banners, change buttons
1 parent b29d0ab commit 75e90bd

File tree

7 files changed

+118
-28
lines changed

7 files changed

+118
-28
lines changed

assets/css/main.css

Lines changed: 71 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,76 @@
2727
margin: 0 0 1em 0;
2828
}
2929

30+
.background-image {
31+
background-image: url("../../images/pic01.jpg");
32+
background-size: cover;
33+
background-position: center center;
34+
top: 2em;
35+
height: 100vh;
36+
width: 100%;
37+
position: fixed;
38+
z-index: -1;
39+
opacity: 0.1;
40+
}
41+
42+
.banner-still {
43+
margin: 0em 0em 2em 0em;
44+
height: 20vmax;
45+
width: 100%;
46+
position: relative;
47+
overflow: hidden;
48+
background-image: url("../../images/placeholder2.png");
49+
background-size: cover;
50+
background-position: center;
51+
}
52+
53+
/*.banner:after {
54+
content: '';
55+
position: absolute;
56+
top: 0;
57+
left: 0;
58+
display: block;
59+
width: 100%;
60+
height: 100%;
61+
background: #232029;
62+
opacity: 0.7;
63+
z-index: -1;
64+
}*/
65+
66+
.banner-animated {
67+
margin: 0em 0em 2em 0em;
68+
padding: 0em 0em 0em 0em;
69+
box-sizing: border-box;
70+
width: 300%;
71+
height: 20vmax;
72+
overflow: hidden;
73+
position: relative;
74+
justify-content: center;
75+
align-items: center;
76+
display: flex;
77+
animation: slideshow-animation 45s infinite alternate;
78+
/*background-image: url("../../images/pic01.jpg");
79+
background-color: #848bf2;
80+
background-position: center;
81+
background-size: contain;
82+
background-repeat: no-repeat;
83+
opacity: 0.5;*/
84+
}
85+
86+
.banner-animated-slide {
87+
width: calc(100% / 3);
88+
display: flex;
89+
}
90+
91+
@keyframes slideshow-animation {
92+
0% { transform: translateX(0); }
93+
10% { transform: translateX(0); }
94+
30% { transform: translateX(-33.33%); }
95+
70% { transform: translateX(-33.33%); }
96+
90% { transform: translateX(-66.66%); }
97+
100% { transform: translateX(-66.66%); }
98+
}
99+
30100
html, body, div, span, applet, object,
31101
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
32102
pre, a, abbr, acronym, address, big, cite,
@@ -2592,7 +2662,7 @@ input, select, textarea {
25922662
-webkit-flex-wrap: wrap;
25932663
-ms-flex-wrap: wrap;
25942664
flex-wrap: wrap;
2595-
postiion: relative;
2665+
position: relative;
25962666
margin: -2.5em 0 0 -2.5em;
25972667
}
25982668

images/logo.svg

Lines changed: 38 additions & 13 deletions
Loading

images/logo2.svg

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

images/placeholder1.png

1.79 MB
Loading

images/placeholder2.png

1.93 MB
Loading

images/placeholder3.png

1.69 MB
Loading

index.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@
3737
</nav>-->
3838

3939
</div>
40+
<div class="banner-animated">
41+
<img class="banner-animated-slide" src="images/placeholder1.png" alt="">
42+
<img class="banner-animated-slide" src="images/placeholder2.png" alt="">
43+
<img class="banner-animated-slide" src="images/pic03.jpg" alt="">
44+
</div>
45+
<!--<div class="banner-still"></div>-->
4046
</header>
4147

4248
<!-- Menu -->
@@ -57,7 +63,7 @@ <h1 class="first-text">Level Design Blockout Artist Portfolio</h1>
5763
<p>To be honest I'm literally learning HTML & CSS to modify this template.<br>I'm this passionate about been an Blockout Artist :)</p>
5864
</header>
5965
<section class="tiles">
60-
66+
6167
<article>
6268
<span class="image">
6369
<img src="images/pic01.jpg" alt="" />
@@ -123,9 +129,9 @@ <h2>Aliquam</h2>
123129
<img src="images/pic06.jpg" alt="" />
124130
</span>
125131
<a href="generic.html">
126-
<h2>Veroeros</h2>
132+
<h2>The Vault</h2>
127133
<div class="content">
128-
<p>Sed nisl arcu euismod sit amet nisi lorem etiam dolor veroeros et feugiat.</p>
134+
<p>Old projects</p>
129135
</div>
130136
</a>
131137
</article>

0 commit comments

Comments
 (0)