feat: ✨ Strona glowna
Dodanie strony glownej
This commit is contained in:
parent
1e6eee4f5b
commit
b620a1a2d2
41
frontend/strona_glowna/index.html
Normal file
41
frontend/strona_glowna/index.html
Normal file
@ -0,0 +1,41 @@
|
||||
<!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">
|
||||
<title>Strona główna</title>
|
||||
<link href="style.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<p> Padel</p>
|
||||
<a href="#">Wiadomości</a>
|
||||
<a href="#">Kalendarz turniejów</a>
|
||||
<a href="#">Ranking</a>
|
||||
<a href="#">Wyniki</a>
|
||||
<a href="#">Kontakt</a>
|
||||
<button class="loginn">LOGOWANIE</button>
|
||||
</div>
|
||||
</header>
|
||||
<div class="container">
|
||||
<div class="event">
|
||||
<div class="eventHeader">Nadchodzące turnieje</div>
|
||||
<div class="eventInside">Turniej majowy 2022
|
||||
<p> Propadel|Warszawa</p>
|
||||
<p>13/05/2022 do 15/05/2022</p>
|
||||
<button class="myButton">Open</button>
|
||||
</div>
|
||||
<div class="eventInside">Trójmiasto Cup 2022
|
||||
<p> Padbox | Gdańsk</p>
|
||||
<p> 03/06/2022 do 05/06/2022</p>
|
||||
<button class="myButton">Open</button>
|
||||
</div>
|
||||
<div class="lastevent"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
106
frontend/strona_glowna/style.css
Normal file
106
frontend/strona_glowna/style.css
Normal file
@ -0,0 +1,106 @@
|
||||
* {
|
||||
/* border: solid; */
|
||||
}
|
||||
|
||||
a {
|
||||
text-align: center;
|
||||
line-height: 2;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.loginn {
|
||||
background-color: skyblue;
|
||||
border-radius: 31px;
|
||||
border: 1px solid skyblue;
|
||||
cursor: pointer;
|
||||
color: #ffffff;
|
||||
font-family: Arial;
|
||||
text-decoration: none;
|
||||
height: 30px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
justify-content: space-between;
|
||||
background-color: #0f64f2;
|
||||
margin: auto;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
|
||||
}
|
||||
|
||||
header>p {
|
||||
text-align: center;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.container {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
|
||||
}
|
||||
|
||||
.eventHeader {
|
||||
text-align: center;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.event {
|
||||
background-color: #0f64f2;
|
||||
color: white;
|
||||
border-style: solid;
|
||||
border-width: 2px;
|
||||
margin-top: 25px;
|
||||
margin-right: 25px;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
height: auto;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.eventInside {
|
||||
background-color: white;
|
||||
color: #4C8BF5;
|
||||
height: auto;
|
||||
border: solid;
|
||||
border-color: lightgray;
|
||||
padding: 10px;
|
||||
|
||||
}
|
||||
|
||||
.eventInside>p {
|
||||
color: lightgray;
|
||||
}
|
||||
|
||||
.myButton {
|
||||
background-color: #4C8BF5;
|
||||
border-radius: 28px;
|
||||
border: 1px solid #4C8BF5;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
color: #ffffff;
|
||||
font-family: Arial;
|
||||
font-size: 9px;
|
||||
padding: 8px 13px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@media all and (max-width: 800px) {
|
||||
header {
|
||||
justify-content: space-around;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 800px) {
|
||||
header {
|
||||
flex-direction: colum;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user