-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
186 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@400;500;600;700;800&display=swap'); | ||
|
||
body { | ||
background-color: #e7e8f0; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
} | ||
|
||
|
||
main { | ||
/* border: 1px solid rebeccapurple; */ | ||
width: 730px; | ||
margin: auto; | ||
background-color: #e7e8f0; | ||
} | ||
|
||
h2 { | ||
font-size: 17px; | ||
font-weight: bolder; | ||
font-family: 'Merriweather', serif; | ||
margin-top: 30px; | ||
} | ||
|
||
button { | ||
background-color: white; | ||
border: none; | ||
/* border: 1px solid palevioletred; */ | ||
padding: 10px; | ||
margin-top: 40px; | ||
margin-left: 5px; | ||
} | ||
|
||
button:hover { | ||
background-color: #000000; | ||
color: white; | ||
padding: 10px; | ||
border-radius: 10px; | ||
} | ||
|
||
.container { | ||
background-color: white; | ||
border-radius: 18px; | ||
margin: 20px 0px; | ||
width:700px; | ||
height: 130px; | ||
display: flex; | ||
} | ||
|
||
.square { | ||
width:100px; | ||
height:100px; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
justify-content: center; | ||
padding-left: 25px; | ||
border-radius: 10px; | ||
background-color: #e5ccef; | ||
margin: 20px; | ||
font-size: 13px; | ||
font-weight: 500; | ||
font-family: 'Merriweather Sans', sans-serif; | ||
} | ||
|
||
/* Square Colours */ | ||
.spurple { | ||
background-color: #e9eaf2; | ||
} | ||
|
||
.spink { | ||
background-color: #efe3ef; | ||
} | ||
|
||
.sorange { | ||
background-color: #f5e7e3; | ||
} | ||
|
||
.sgreen { | ||
background-color: #eaf7ea; | ||
} | ||
|
||
.timeText { | ||
font-weight: bolder; | ||
font-size: 25px; | ||
font-family: 'Merriweather', serif; | ||
} | ||
|
||
.explanation-text { | ||
font-family: 'Merriweather Sans', sans-serif; | ||
font-size: 13px; | ||
font-weight: 400; | ||
/* border: 1px solid green; */ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="index.css"> | ||
<title>Event list</title> | ||
</head> | ||
<body> | ||
<div> | ||
<h1>Events</h1> | ||
<main> | ||
<div class="container"> | ||
<div class="square spurple"> | ||
TODAY | ||
<span class="timeText"> 17:00</span> | ||
</div> | ||
|
||
<div> | ||
<h2>Bergen International Film Festival</h2> | ||
<div class="explanation-text">Films from all over the world gather all film enthusiasts for<br> | ||
unique moments at the Bergen International Film Festival. | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<button>+ Add to calendar </button> | ||
</div> | ||
</div> | ||
|
||
<div class="container"> | ||
<div class="square spink"> | ||
22-31 OCT | ||
<span class="timeText">10:00</span> | ||
</div> | ||
|
||
<div> | ||
<h2>Wool week</h2> | ||
<div class="explanation-text">ULLVEKA 2021 will be held for the eighth time in the period 22-<br> | ||
31 October 2021, and will take place in the entire Bergen region. | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<button>+ Add to calendar </button> | ||
</div> | ||
</div> | ||
|
||
<div class="container"> | ||
<div class="square sorange"> | ||
22 - 31 OCT | ||
<span class="timeText">19:00 </span> | ||
</div> | ||
|
||
<div> | ||
<h2>Light park at Bergenhus Fortress</h2> | ||
<div class="explanation-text">LUMAGICA - a magical experience for young and old at <br> | ||
Bergenhus Fortress,12 November to 19 December 2021. | ||
</div> | ||
</div> | ||
<div> | ||
<button>+ Add to calendar </button> | ||
</div> | ||
</div> | ||
|
||
<div class="container"> | ||
<div class="square sgreen"> | ||
13 - 31 DEC | ||
<span class="timeText">10:00</span> | ||
</div> | ||
|
||
<div> | ||
<h2>Gingerbread City 2021</h2> | ||
<div class="explanation-text">The world's largest Gingerbread Town can be found in the <br> | ||
Xhibition shopping center, right in the center of Bergen. | ||
</div> | ||
</div> | ||
<div> | ||
<button>+ Add to calendar </button> | ||
</div> | ||
</div> | ||
|
||
|
||
</main> | ||
</div> | ||
</body> | ||
</html> |