1
0
This commit is contained in:
Filip Rojek 2022-10-31 15:48:35 +01:00
parent 69c4fbb4b8
commit ed1d8ad403
2 changed files with 38 additions and 8 deletions

View File

@ -14,22 +14,28 @@ body {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
min-height: 100vh; height: 100vh;
max-height: -webkit-fill-available;
max-width: 100vw;
font-family: 'Source Code Pro', monospace; font-family: 'Source Code Pro', monospace;
} }
.content{ .content{
display: flex; display: flex;
justify-content: center; justify-content: space-between;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
gap: 5rem; gap: 3rem;
max-width: 30vw;
} }
.img_1 { .img_1 {
height: 2.5rem; max-width: 100%;
max-height: 6vh;
} }
.img_2 { .img_2 {
height: 25rem; max-width: 100%;
max-height: 45vh;
} }
/* .udalost:hover { /* .udalost:hover {
text-decoration: line-through; text-decoration: line-through;
} */ } */
@ -38,3 +44,24 @@ body {
font-weight: bold; font-weight: bold;
font-size: 1.5rem; font-size: 1.5rem;
} }
@media only screen and (max-width: 768px) {
.content {
max-width: 100vw;
height: 100vh;
}
.link {
display: flex;
justify-content: center;
height: 20vh;
}
.udalost {
font-size: 1.5rem;
}
.img_1 {
max-height: 5vh;
}
}

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta id="contentLanguage" http-equiv="Content-Language" content="cs_CZ" /> <meta id="contentLanguage" http-equiv="Content-Language" content="cs_CZ" />
<meta <meta
name="keywords" name="keywords"
@ -25,6 +25,7 @@
--> -->
<meta name="google-site-verification" content="95ajJo4LsoVNgG60HxS8CVzmIFHoj3w2NQ-H-YyijIw" /> <meta name="google-site-verification" content="95ajJo4LsoVNgG60HxS8CVzmIFHoj3w2NQ-H-YyijIw" />
<title>PKM PARTY PLES</title> <title>PKM PARTY PLES</title>
<link rel="canonical" href="https://www.pkmples.cz/" />
<link rel="icon" type="image/png" href="/img/favicon-16x16.png" /> <link rel="icon" type="image/png" href="/img/favicon-16x16.png" />
<link rel="stylesheet" href="/css/styles.css" /> <link rel="stylesheet" href="/css/styles.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.googleapis.com" />
@ -35,7 +36,9 @@
<div class="content"> <div class="content">
<img src="/img/pruh-web-1500.png" alt="sponzoři" class="img_1" /> <img src="/img/pruh-web-1500.png" alt="sponzoři" class="img_1" />
<img src="/img/polaroid-web-750.png" alt="foto pozvánka" class="img_2" /> <img src="/img/polaroid-web-750.png" alt="foto pozvánka" class="img_2" />
<div class="link">
<a href="https://www.facebook.com/events/616074790100388" target="_blank" class="udalost">odkaz na událost</a> <a href="https://www.facebook.com/events/616074790100388" target="_blank" class="udalost">odkaz na událost</a>
</div> </div>
</div>
</body> </body>
</html> </html>