diff --git a/frontend/_global/header.css b/frontend/_global/header.css new file mode 100644 index 0000000..731c8d6 --- /dev/null +++ b/frontend/_global/header.css @@ -0,0 +1,54 @@ +.logo { + width: 150px; + height: 30px; +} + +.header_link{ + 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; + align-items: center; + justify-content: space-between; + background-color: #0f64f2; + margin: auto; + padding-top: 10px; + padding-bottom: 10px; + padding-right: 30px; + padding-left: 10px; + +} + +header>p { + text-align: center; + line-height: 0; +} + +@media all and (max-width: 800px) { + header { + justify-content: space-around; + } +} + +@media all and (max-width: 800px) { + header { + flex-direction: column; + } +} \ No newline at end of file diff --git a/frontend/logo_padel.jpeg b/frontend/_global/logo_padel.jpeg similarity index 100% rename from frontend/logo_padel.jpeg rename to frontend/_global/logo_padel.jpeg diff --git a/frontend/dodawanie turnieju/header.css b/frontend/dodawanie turnieju/header.css index 8b24bae..7ce3b27 100644 --- a/frontend/dodawanie turnieju/header.css +++ b/frontend/dodawanie turnieju/header.css @@ -1,23 +1,4 @@ -/*HEADER*/ -header { - display: flex; - flex-flow: row wrap; - align-items: center; - justify-content: space-between; - background-color: #0f64f2; - margin: auto; - padding-top: 10px; - padding-bottom: 10px; - padding-right: 30px; - padding-left: 10px; - -} - -header>p { - text-align: center; - line-height: 0; -} .eventHeader { text-align: center; @@ -65,40 +46,3 @@ header>p { padding: 8px 13px; text-decoration: none; } - -img { - width: 150px; - height: 30px; -} - -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; - -} - - -@media all and (max-width: 800px) { - header { - justify-content: space-around; - } -} - -@media all and (max-width: 800px) { - header { - flex-direction: column; - } -} \ No newline at end of file diff --git a/frontend/dodawanie turnieju/style.css b/frontend/dodawanie turnieju/style.css index 7afbb34..447d115 100644 --- a/frontend/dodawanie turnieju/style.css +++ b/frontend/dodawanie turnieju/style.css @@ -1,4 +1,5 @@ @import "header.css"; +@import "../_global/header.css"; body { background-color: #EBEBEB; diff --git a/frontend/drabinka/index.html b/frontend/drabinka/index.html index 96c5b1c..bd05f5e 100644 --- a/frontend/drabinka/index.html +++ b/frontend/drabinka/index.html @@ -15,7 +15,7 @@