diff --git a/frontend/_global/header.css b/frontend/_global/header.css index 0a002b1..357d29f 100644 --- a/frontend/_global/header.css +++ b/frontend/_global/header.css @@ -3,6 +3,7 @@ header { /*Box alignment*/ display: flex; margin: auto auto 1%; + /*height: 8vh;*/ /*Content alignment*/ flex-flow: row wrap; @@ -66,4 +67,11 @@ header { color: #ffffff; font-family: Montserrat, serif; font-size: 18px; + text-decoration: none; } + +/*Link underline fix*/ +a:link { text-decoration: none; } +a:visited { text-decoration: none; } +a:hover { text-decoration: none; } +a:active { text-decoration: none; } \ No newline at end of file diff --git a/frontend/cup.svg b/frontend/_main page/cup.svg similarity index 100% rename from frontend/cup.svg rename to frontend/_main page/cup.svg diff --git a/frontend/_main page/search.svg b/frontend/_main page/search.svg new file mode 100644 index 0000000..6bfcbd2 --- /dev/null +++ b/frontend/_main page/search.svg @@ -0,0 +1,4 @@ + diff --git a/frontend/_main page/settings.css b/frontend/_main page/settings.css new file mode 100644 index 0000000..0cea65a --- /dev/null +++ b/frontend/_main page/settings.css @@ -0,0 +1,35 @@ +.settingsWszystkie { + height: 100%; + width: 10%; + float: left; + + text-align: center; + border: 1px #AFAFAF solid; +} + +.settingsMoje { + height: 100%; + width: 10%; + float: left; + + text-align: center; + border: 1px #AFAFAF solid; +} + +.settingsKafle { + height: 100%; + width: 10%; + float: right; + + text-align: center; + border: 1px #AFAFAF solid; +} + +.settingsLista { + height: 100%; + width: 10%; + float: right; + + text-align: center; + border: 1px #AFAFAF solid; +} \ No newline at end of file diff --git a/frontend/_main page/single_tournament.css b/frontend/_main page/single_tournament.css new file mode 100644 index 0000000..6ba692a --- /dev/null +++ b/frontend/_main page/single_tournament.css @@ -0,0 +1,71 @@ +.tournamentBox { + /*Box align*/ + flex-direction: column; + flex-wrap: nowrap; + + /*Visual*/ + background-color: #ffffff; + color: white; + border: 1px #AFAFAF solid; + + height: 15vh; + width: 100%; +} + +/**/ +.tournamentIconBox { + width: 10%; + height: 100%; + float: left; + /*padding: 25px;*/ + top: 50%; + left: 50%; +} + +.tournamentIcon { + margin: 0; + position: relative; + top: 50%; + left: 50%; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); +} + +/**/ +.tournamentDataBox { + width: 90%; + height: 100%; + float: right; +} + +.tournamentData { + margin-top: 1%; + text-align: left; + /*padding-left: 10%;*/ + color: #282828E5; +} + +.tournamentOpen { + + /* Auto layout */ + + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + padding: 6px 15px; + gap: 10px; + + /*position: absolute;*/ + width: 73px; + height: 29px; + + /* PFP GREEN */ + + background: #007C36; + border-radius: 15px; + border: 1px solid; + + font-family: Montserrat, serif; + color: white; +} \ No newline at end of file diff --git a/frontend/_main page/style.css b/frontend/_main page/style.css new file mode 100644 index 0000000..01b0d4f --- /dev/null +++ b/frontend/_main page/style.css @@ -0,0 +1,53 @@ +@import "../_global/header.css"; +@import "single_tournament.css"; +@import "settings.css"; + +/*main*/ +body { + margin: 0; +} + +.container { + height: 100%; + width: 100%; + display: flex; + justify-content: flex-end; +} + +/*2'nd layer*/ +.searchBox { + height: 100vh; + width: 5vh; + float: left; + + padding: 1%; + border: 1px #AFAFAF solid; +} + +.contentBox { + height: 100%; + width: 95%; + float: right; + position: relative; +} + +/*3'rd layer*/ +.filterBox { + height: 10vh; + width: 100%; + background-color: #C0C0C0; +} + +.settingsBox { + height: 5vh; + width: 100%; + + border: 1px #AFAFAF solid; +} + +/*items*/ +.search { + display: block; + margin-left: auto; + margin-right: auto; +} diff --git a/frontend/dodawanie turnieju/index.html b/frontend/dodawanie turnieju/index.html index 23c4a97..0f11dd8 100644 --- a/frontend/dodawanie turnieju/index.html +++ b/frontend/dodawanie turnieju/index.html @@ -12,7 +12,7 @@
Propadel|Warszawa
-13/05/2022 do 15/05/2022
- -Padbox | Gdańsk
-03/06/2022 do 05/06/2022
- -