mirror of
https://github.com/appen-isen/projet-cal.git
synced 2026-01-18 16:47:38 +01:00
Add background blur and change Title Font
This commit is contained in:
@@ -4,10 +4,15 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Calendrier de l'Avent</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Jim+Nightshade&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="static/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="background-blur"></div>
|
||||
<div class="background">
|
||||
<h1>Calendrier de l'avant 2024</h1>
|
||||
<div class="grid">
|
||||
<div class="box box-5" id="day-5">5</div>
|
||||
<div class="box box-17" id="day-17">17</div>
|
||||
@@ -34,6 +39,7 @@
|
||||
<div class="box box-16" id="day-16">16</div>
|
||||
<div class="box box-21" id="day-21">21</div>
|
||||
</div>
|
||||
<h2>Site réalisé par Appen pour le BDE de l’ISEN Nantes</h2>
|
||||
</div>
|
||||
<script src="static/script.js"></script>
|
||||
</body>
|
||||
|
||||
@@ -7,13 +7,38 @@ body {
|
||||
}
|
||||
|
||||
.background {
|
||||
background: url('assets/bg-winter.png') no-repeat center center;
|
||||
background-size: cover;
|
||||
position: relative;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
h1,h2 {
|
||||
font-family: "Jim Nightshade", cursive;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
color: black;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 5em;
|
||||
}
|
||||
|
||||
.background-blur {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url('assets/bg-winter.png') no-repeat center center;
|
||||
background-size: cover;
|
||||
filter: blur(5px);
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.grid {
|
||||
|
||||
Reference in New Issue
Block a user