style 'tour cards' for projects

main
victor 5 months ago
parent 8503900980
commit 060cd6057f

@ -15,7 +15,7 @@
<h4>Sutainability</h4> <h4>Sutainability</h4>
</div> </div>
<div class="landingimage"> <div class="landingimage">
<div class="imagedescription">Beautiful Breda | photo Victor Utne Stiebrg</div> <div class="imagedescription">Beautiful Breda | photo Person With a Smartphone</div>
</div> </div>
<div class="index"> <div class="index">
<h1>Counter Tourist Information</h1> <h1>Counter Tourist Information</h1>
@ -29,19 +29,50 @@ Opening Thursday 27th at 19.00h<br>
27th30th June<br> 27th30th June<br>
@ Worm Slash Gallery,<br> @ Worm Slash Gallery,<br>
Boomgaardsstraat 69, 3012 XA Rotterdam Boomgaardsstraat 69, 3012 XA Rotterdam
<br><br>
</p></div> </p></div>
<div class="tours"> <div class="tours">
<div class="tour1"> <div class="tourcard">
<h2>Experience somethign</h2> <img src="images/breda.JPG" alt="">
<img src="images/breda.JPG" alt="" width="300px"> <div class="tour-text">
<b>Experience somethign</b>
<p>Visit beautiful Breda, a place like nowhere else, do things, eat food, se stuff. everyhting you expect and more or less…</p>
</div>
</div>
<div class="tourcard">
<img src="images/breda.JPG" alt="">
<div class="tour-text">
<b>Project title</b>
<p>A lovely project description, that describes the project in question in a proper manner…</p>
</div>
</div>
<div class="tourcard">
<img src="images/breda.JPG" alt="">
<div class="tour-text">
<b>Experience somethign</b>
<p>Visit beautiful Breda, a place like nowhere else, do things, eat food, se stuff. everyhting you expect and more or less.</p>
</div>
</div>
<div class="tourcard">
<img src="images/breda.JPG" alt="">
<div class="tour-text">
<b>Experience somethign</b>
<p>Visit beautiful Breda, a place like nowhere else, do things, eat food, se stuff. everyhting you expect and more or less.</p>
</div>
</div> </div>
<div class="tour2"> <div class="tourcard">
<h2>Experience somethign else</h2> <img src="images/breda.JPG" alt="">
<img src="images/breda.JPG" alt=""width="300px"> <div class="tour-text">
<b>Experience somethign</b>
<p>Visit beautiful Breda, a place like nowhere else, do things, eat food, se stuff. everyhting you expect and more or less.</p>
</div>
</div> </div>
<div class="tour3"> <div class="tourcard">
<h2>Experience somethign more</h2> <img src="images/breda.JPG" alt="">
<img src="images/breda.JPG" alt=""width="300px"> <div class="tour-text">
<b>Experience somethign</b>
<p>Visit beautiful Breda, a place like nowhere else, do things, eat food, se stuff. everyhting you expect and more or less.</p>
</div>
</div> </div>
</div> </div>
</body> </body>

@ -23,6 +23,7 @@ body{
.nav{ .nav{
width: 80vw; width: 80vw;
z-index: 9001;
display: flex; display: flex;
background-color: #212529; background-color: #212529;
justify-content: space-around; justify-content: space-around;
@ -45,7 +46,8 @@ body{
.landingimage{ .landingimage{
background: url("images/breda.JPG"); background: url("images/breda.JPG");
background-size: contain; background-size: 100vw 600px;
background-repeat: no-repeat;
width: 100vw; width: 100vw;
height: 600px; height: 600px;
} }
@ -61,21 +63,53 @@ body{
} }
h1{ h1{
font-family: VG5000; font-family: VG5000;
font-size: 4em;
} }
p{
font-size: larger;
}
.index{ .index{
background: #81d742; background: #81d742;
} }
.index>*{ .index>*{
padding: 10px;
padding: 10px;
max-width: 50ch; max-width: 50ch;
text-align: center; text-align: center;
margin: auto; margin: auto;
} }
.tours{ .tours{
display: flex; display: flex;
flex-wrap: wrap;
justify-content: space-around; justify-content: space-around;
margin-top: 50px;
} }
.tourcard{
position: relative;
width: 33%;
min-width: 350px;
max-width: 500px;
margin-bottom: 50px;
}
.tourcard >img{
width: 90%;
}
.tour-text{
position: absolute;
bottom:5%;
left: 5%;
padding: 5%;
font-family:Montserrat;
font-size: .7em;
background: white;
width: 70%;
}

Loading…
Cancel
Save