header style and font changes
This commit is contained in:
BIN
FlaskWebProject/FlaskWebProject/static/fonts/Exo2-ExtraBold.ttf
Normal file
BIN
FlaskWebProject/FlaskWebProject/static/fonts/Exo2-ExtraBold.ttf
Normal file
Binary file not shown.
BIN
FlaskWebProject/FlaskWebProject/static/fonts/Exo2-SemiBold.ttf
Normal file
BIN
FlaskWebProject/FlaskWebProject/static/fonts/Exo2-SemiBold.ttf
Normal file
Binary file not shown.
BIN
FlaskWebProject/FlaskWebProject/static/lewandowski_no_bg.png
Normal file
BIN
FlaskWebProject/FlaskWebProject/static/lewandowski_no_bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 351 KiB |
@@ -1,3 +1,20 @@
|
|||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Exo2SemiBold';
|
||||||
|
src: url('fonts/Exo2-SemiBold.ttf') format('truetype');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Exo2ExtraBold';
|
||||||
|
src: url('fonts/Exo2-ExtraBold.ttf') format('truetype');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
:root {
|
:root {
|
||||||
--barca-blue: #002147;
|
--barca-blue: #002147;
|
||||||
--barca-red: #A50044;
|
--barca-red: #A50044;
|
||||||
@@ -5,73 +22,261 @@
|
|||||||
--polska-red-dark: #DC143C;
|
--polska-red-dark: #DC143C;
|
||||||
--polska-red: #E30B17;
|
--polska-red: #E30B17;
|
||||||
--polska-white: #FFFFFF;
|
--polska-white: #FFFFFF;
|
||||||
|
|
||||||
|
--polska-section-color: #05204A;
|
||||||
|
--section-color: #051839;
|
||||||
|
--pink-highlight: #E1317E;
|
||||||
|
--blue-highlight: #00B9BF;
|
||||||
|
--yellow-highlight: #FFD23F;
|
||||||
|
--border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Podstawowy styl */
|
/* Podstawowy styl */
|
||||||
body {
|
body {
|
||||||
font-family: 'Segoe UI', sans-serif;
|
font-family: 'Exo2ExtraBold', sans-serif;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: white;
|
background: linear-gradient(red, white,90deg);
|
||||||
color: #222;
|
color: black;
|
||||||
transition: all 0s ease;
|
transition: all 0s ease;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: stretch; /* Wyśrodkowanie elementów w poziomie */
|
align-items: stretch;
|
||||||
justify-content: flex-start; /* Ustalamy początek na górze */
|
/* Wyśrodkowanie elementów w poziomie */
|
||||||
|
justify-content: flex-start;
|
||||||
|
/* Ustalamy początek na górze */
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Header */
|
||||||
|
.header-content {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
padding: 20px 0;
|
||||||
|
background: var(--section-color);
|
||||||
|
color: white;
|
||||||
|
font-size: 15px;
|
||||||
|
margin: 0 0 20px 0;
|
||||||
|
z-index: -2;
|
||||||
|
position: relative;
|
||||||
|
box-shadow: inset 0px -5px 10px 2px rgba(0, 0, 0, 0.347);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.header-content h1
|
||||||
|
{
|
||||||
|
border-bottom: 10px solid var(--barca-red);
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 5px;
|
||||||
|
animation: header-content 1000ms ease;
|
||||||
|
}
|
||||||
|
.header-content-special
|
||||||
|
{
|
||||||
|
font-size: 50px;
|
||||||
|
color: var(--barca-gold);
|
||||||
|
}
|
||||||
|
.profile-image {
|
||||||
|
width: 40%;
|
||||||
|
padding: 20px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.profile-image-cover
|
||||||
|
{
|
||||||
|
background: linear-gradient(185deg,transparent 40% 60%, var(--section-color) 85%, var(--section-color) 90% );
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
top:0;
|
||||||
|
}
|
||||||
|
.profile-image img
|
||||||
|
{
|
||||||
|
width: 100%;
|
||||||
|
animation: header-content 300ms ease;
|
||||||
|
background: linear-gradient(90deg,var(--barca-blue) 50%,var(--barca-red) 50% 100%);
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
}
|
||||||
|
@keyframes header-content {
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
opacity: 00%;
|
||||||
|
}
|
||||||
|
100%
|
||||||
|
{
|
||||||
|
opacity: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
header button {
|
||||||
|
border: none;
|
||||||
|
font-size: 16px;
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Styl nawigacji */
|
/* Styl nawigacji */
|
||||||
.navbar {
|
.navbar {
|
||||||
|
|
||||||
background: linear-gradient(to right,#002147,#A50044);
|
background: linear-gradient(to right,#002147,#A50044);
|
||||||
color: white;
|
|
||||||
padding: 1rem 1rem;
|
padding: 2.3rem 1rem;
|
||||||
height: 1.5rem;
|
height: 1.5rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100% - 2rem;
|
width: 100%;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-around;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.navbar ul {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo
|
||||||
|
{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.logo-text {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: var(--barca-gold);
|
color: var(--barca-gold);
|
||||||
}
|
}
|
||||||
|
.logo-icon
|
||||||
|
{
|
||||||
|
font-size: 2.8em;
|
||||||
|
}
|
||||||
|
.logo-link
|
||||||
|
{
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
.nav-links {
|
.nav-links {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0rem;
|
gap: 0rem;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-links li a{
|
.nav-links li a {
|
||||||
background-color: rgba(255, 255, 255, 0.05);
|
display: block;
|
||||||
padding: 1rem 1.25rem; /* dopasowane do .navbar padding */
|
color: white;
|
||||||
height: 100%;
|
/* dopasowane do .navbar padding */
|
||||||
border-radius: 0;
|
|
||||||
color: var(--barca-gold);
|
|
||||||
text-decoration: none;
|
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
border: none;
|
border: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: 0.3s ease;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
text-decoration: none;
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
padding: 10px 20px;
|
||||||
|
height: 100%;
|
||||||
|
transition: 100ms ease;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
li button{
|
.nav-links li a::before{
|
||||||
background-color: rgba(255, 255, 255, 0.05);
|
display: flex;
|
||||||
border: none;
|
justify-content: center;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
opacity: 0%;
|
||||||
|
font-size: 25px;
|
||||||
|
transition: 100ms ease;
|
||||||
|
}
|
||||||
|
.nav-links li:hover a::before
|
||||||
|
{
|
||||||
|
opacity: 100%;
|
||||||
|
transform: translateY(-20px);
|
||||||
|
}
|
||||||
|
.nav-links li:nth-child(1) a::before
|
||||||
|
{
|
||||||
|
content: "🏠";
|
||||||
|
}
|
||||||
|
.nav-links li:nth-child(2) a::before
|
||||||
|
{
|
||||||
|
content: "📅";
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-links li a:hover,
|
.nav-links li:nth-child(3) a::before
|
||||||
.nav-links li button:hover {
|
{
|
||||||
|
content: "📊";
|
||||||
|
}
|
||||||
|
.nav-links li:nth-child(4) a::before
|
||||||
|
{
|
||||||
|
content: "🏆";
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links li
|
||||||
|
{
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.nav-links li:has(button)
|
||||||
|
{
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
.nav-links li button {
|
||||||
|
width: 1.5em;
|
||||||
|
height: 1.5em;
|
||||||
|
padding: 20px;
|
||||||
|
font-size: 30px;
|
||||||
|
border-radius: 50%;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
background-color: var(--bg-color);
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
.nav-links li button
|
||||||
|
{
|
||||||
|
background-color: var(--barca-blue);
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0px 0px 6px 1px #FDB913;
|
||||||
|
transition: 100ms ease;
|
||||||
|
}
|
||||||
|
.nav-links li button:hover
|
||||||
|
{
|
||||||
|
transform: scale(1.1,1.1);
|
||||||
|
}
|
||||||
|
.nav-links li button::after
|
||||||
|
{
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: -1px;
|
||||||
|
background-color: var(--barca-red);
|
||||||
|
width: 50%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.nav-links li button::before
|
||||||
|
{
|
||||||
|
content: "";
|
||||||
|
background: url('FC_Barcelona.png');
|
||||||
|
background-size:contain;
|
||||||
|
z-index: 1;
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 5px;
|
||||||
|
left: 5px;
|
||||||
|
width: 80%;
|
||||||
|
height: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.nav-links a:hover {
|
||||||
background-color: var(--barca-gold, #FDB913);
|
background-color: var(--barca-gold, #FDB913);
|
||||||
color: var(--barca-blue, #002147);
|
color: var(--barca-blue, #002147);
|
||||||
}
|
}
|
||||||
@@ -87,7 +292,7 @@ li button{
|
|||||||
.nav-links {
|
.nav-links {
|
||||||
display: none;
|
display: none;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background-color: #002147;
|
background-color: var(--barca-blue);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 2.5rem;
|
top: 2.5rem;
|
||||||
right: 0rem;
|
right: 0rem;
|
||||||
@@ -95,19 +300,21 @@ li button{
|
|||||||
gap: 0;
|
gap: 0;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
}
|
}
|
||||||
.nav-links li {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-links li a,
|
.nav-links li {
|
||||||
.nav-links li button {
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links li a,
|
||||||
|
.nav-links li button {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border-radius: 0; /* brak zaokrągleń w mobilnym menu */
|
border-radius: 0;
|
||||||
}
|
/* brak zaokrągleń w mobilnym menu */
|
||||||
|
}
|
||||||
|
|
||||||
.nav-links.show {
|
.nav-links.show {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -118,10 +325,18 @@ li button{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Wyśrodkowanie głównej zawartości */
|
/* Wyśrodkowanie głównej zawartości */
|
||||||
main {
|
main {
|
||||||
padding: 0px; /* Maksymalna szerokość treści */
|
padding: 0px;
|
||||||
text-align: center; /* Wyśrodkowanie tekstu */
|
/* Maksymalna szerokość treści */
|
||||||
|
text-align: center;
|
||||||
|
/* Wyśrodkowanie tekstu */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Styl dla tabeli */
|
/* Styl dla tabeli */
|
||||||
@@ -131,7 +346,8 @@ table {
|
|||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
th, td {
|
th,
|
||||||
|
td {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -143,78 +359,136 @@ th, td {
|
|||||||
height: 100px;
|
height: 100px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto; /* Wyśrodkowanie obrazka */
|
margin: 0 auto;
|
||||||
|
/* Wyśrodkowanie obrazka */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Styl dla trybu polskiego */
|
/* Styl dla trybu polskiego */
|
||||||
body.poland-mode .navbar {
|
body.poland-mode .navbar {
|
||||||
background: linear-gradient(to bottom,#bd4148,#dc1414);
|
background: linear-gradient(to bottom, #bd4148, #dc1414);
|
||||||
}
|
}
|
||||||
|
|
||||||
body.poland-mode .logo{
|
body.poland-mode .logo {
|
||||||
color: var(--polska-white)
|
color: var(--polska-white)
|
||||||
}
|
}
|
||||||
body.poland-mode .nav-links li a{
|
body.poland-mode .logo-text
|
||||||
|
{
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
body.poland-mode .nav-links li button:hover,
|
|
||||||
body.poland-mode .nav-links li a:hover{
|
|
||||||
background-color: #e96161;
|
|
||||||
color:#220000
|
|
||||||
}
|
|
||||||
body.poland-mode .hamburger{
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
body.poland-mode .nav-links {
|
|
||||||
background-color: var(--polska-red);/*Ale oczopląs*/
|
|
||||||
}
|
|
||||||
}
|
|
||||||
body.poland-mode .section-stats{
|
|
||||||
background: linear-gradient(to bottom,#bd4148,#dc1414);
|
|
||||||
}
|
|
||||||
body.poland-mode .section-stats h2{
|
|
||||||
color:#220000
|
|
||||||
}
|
|
||||||
body.poland-mode .stat-box{
|
|
||||||
border-color: white;
|
|
||||||
}
|
|
||||||
body.poland-mode .stat-box h3{
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
/* Przyciski i elementy */
|
|
||||||
header button {
|
|
||||||
padding: 10px 15px;
|
|
||||||
border: none;
|
|
||||||
background-color: #007bff;
|
|
||||||
color: white;
|
|
||||||
font-size: 16px;
|
|
||||||
cursor: pointer;
|
|
||||||
border-radius: 5px;
|
|
||||||
transition: background-color 0.3s;
|
|
||||||
}
|
|
||||||
|
|
||||||
header button:hover {
|
body.poland-mode .nav-links li a {
|
||||||
background-color: #0056b3;
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
body.poland-mode .nav-links li a:hover {
|
||||||
|
color: #220000;
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.poland-mode .nav-links li button::before
|
||||||
|
{
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
body.poland-mode .nav-links li button
|
||||||
|
{
|
||||||
|
background-color: red;
|
||||||
|
box-shadow: 0px 0px 6px 5px rgba(109, 0, 0, 0.219);
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
body.poland-mode .nav-links li button::after
|
||||||
|
{
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
background-color: white;
|
||||||
|
width: 100%;
|
||||||
|
height: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.poland-mode .profile-image img
|
||||||
|
{
|
||||||
|
width: 100%;
|
||||||
|
animation: header-content 300ms ease;
|
||||||
|
background: linear-gradient(rgba(255, 255, 255, 0.534) 50%,rgba(255, 0, 0, 0.551) 50% 100%);
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
}
|
||||||
|
|
||||||
|
body.poland-mode .header-content-special
|
||||||
|
{
|
||||||
|
font-size: 50px;
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
body.poland-mode .header-content
|
||||||
|
{
|
||||||
|
background-color: var(--polska-section-color)
|
||||||
|
}
|
||||||
|
body.poland-mode .header-content h1
|
||||||
|
{
|
||||||
|
border-bottom-color: red;
|
||||||
|
}
|
||||||
|
body.poland-mode .profile-image-cover
|
||||||
|
{
|
||||||
|
background: linear-gradient(185deg,transparent 40% 60%, var(--polska-section-color) 85%, var(--polska-section-color) 90% );
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
top:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
body.poland-mode .hamburger {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
body.poland-mode .nav-links {
|
||||||
|
background-color: var(--polska-red);
|
||||||
|
/*Ale oczopląs*/
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
body.poland-mode .section-stats {
|
||||||
|
background: linear-gradient(to bottom, #bd4148, #dc1414);
|
||||||
|
}
|
||||||
|
|
||||||
|
body.poland-mode .section-stats h2 {
|
||||||
|
color: #220000
|
||||||
|
}
|
||||||
|
|
||||||
|
body.poland-mode .stat-box {
|
||||||
|
border-color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.poland-mode .stat-box h3 {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Przyciski i elementy */
|
||||||
|
|
||||||
|
|
||||||
/* Style dla listy meczów */
|
/* Style dla listy meczów */
|
||||||
.section-stats {
|
.section-stats {
|
||||||
background: linear-gradient(135deg, #002147, #A50044);
|
background: linear-gradient(135deg, #002147, #A50044);
|
||||||
color: white;
|
color: white;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
|
||||||
padding: 2rem 2rem;
|
padding: 2rem 2rem;
|
||||||
max-width: 1000px;
|
max-width: 1000px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-stats h2 {
|
.section-stats h2 {
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
color: var(--barca-red);
|
color: var(--barca-red);
|
||||||
}
|
}
|
||||||
|
|
||||||
.stats {
|
.stats {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
@@ -234,25 +508,34 @@ header button:hover {
|
|||||||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
|
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
|
||||||
transition: transform 0.3s ease;
|
transition: transform 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.stat-box:hover {
|
||||||
|
transform: scale(1.1, 1.1);
|
||||||
|
}
|
||||||
|
|
||||||
.stat-box h3 {
|
.stat-box h3 {
|
||||||
font-size: 2.5rem;
|
font-size: 2.5rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
color: var(--barca-gold);
|
color: var(--barca-gold);
|
||||||
}
|
}
|
||||||
|
|
||||||
.stat-box p {
|
.stat-box p {
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
}
|
}
|
||||||
.choose-club button{
|
|
||||||
|
.choose-club button {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
width: 50px;
|
width: 50px;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
.choose-club button img{
|
|
||||||
|
.choose-club button img {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
width: 40px;
|
width: 40px;
|
||||||
}
|
}
|
||||||
.choose-club button img:hover{
|
|
||||||
|
.choose-club button img:hover {
|
||||||
height: 45px;
|
height: 45px;
|
||||||
width: 45px;
|
width: 45px;
|
||||||
background-color: #ffffff7e;
|
background-color: #ffffff7e;
|
||||||
|
|||||||
@@ -1,36 +1,42 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="pl">
|
<html lang="pl">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>{% block title %}Lewandowski Stats{% endblock %}</title>
|
<title>{% block title %}Lewandowski Stats{% endblock %}</title>
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
||||||
<meta property="og:title" content="Robert Lewandowski Stats">
|
<meta property="og:title" content="Robert Lewandowski Stats">
|
||||||
<meta property="og:type" content="website" >
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:url" content="https://lewy.7o7.cx/" >
|
<meta property="og:url" content="https://lewy.7o7.cx/">
|
||||||
<meta property="og:description" content="Najnowsze informacje o meczach, golach, asystach i innych statystykach">
|
<meta property="og:description" content="Najnowsze informacje o meczach, golach, asystach i innych statystykach">
|
||||||
<meta property="og:image" content="{{ url_for('static', filename='lewandowski.jpg') }}" >
|
<meta property="og:image" content="{{ url_for('static', filename='lewandowski.jpg') }}">
|
||||||
<meta property="og:image:height" content = "143">
|
<meta property="og:image:height" content="143">
|
||||||
<meta property="og:image:width" content = "100">
|
<meta property="og:image:width" content="100">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<header class="base-header">
|
||||||
<nav class="navbar">
|
<nav class="navbar">
|
||||||
<div class="logo">Robert Lewandowski</div>
|
<a class="logo-link" href="/"><div class="logo-text">Robert Lewandowski</div></a>
|
||||||
<ul class="nav-links">
|
<ul class="nav-links">
|
||||||
<li><a href="/">🏠 Strona główna</a></li>
|
<li><a href="/">Strona główna</a></li>
|
||||||
<li><a href="/mecze">📅 Mecze</a></li>
|
<li><a href="/mecze">Mecze</a></li>
|
||||||
<li><a href="/statystyki">📊 Statystyki</a></li>
|
<li><a href="/statystyki">Statystyki</a></li>
|
||||||
<li><a href="/historia">📊 Osiągnięcia</a></li>
|
<li><a href="/historia">Osiągnięcia</a></li>
|
||||||
<li><button id="theme-toggle" onclick="toggleTheme()">🌙 / 🌞</button></li>
|
<li><button id="theme-toggle" onclick="toggleTheme()"></button></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="hamburger">☰</div>
|
<div class="hamburger">☰</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<header>
|
|
||||||
<div class="header-content">
|
<div class="header-content">
|
||||||
<center><img src="{{ url_for('static', filename='lewandowski.jpg') }}" alt="Robert Lewandowski" class="profile-image"></center>
|
<div class="profile-image">
|
||||||
<h1>Statystyki Roberta Lewandowskiego</h1>
|
<img src="{{ url_for('static', filename='lewandowski_no_bg.png') }}" alt="Robert Lewandowski">
|
||||||
|
<div class="profile-image-cover"></div>
|
||||||
</div>
|
</div>
|
||||||
|
<h1>Statystyki <br><span class="header-content-special"> Roberta <br> Lewandowskiego</span></h1>
|
||||||
|
</div>
|
||||||
|
<div></div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
@@ -40,7 +46,8 @@
|
|||||||
const hamburger = document.querySelector('.hamburger');
|
const hamburger = document.querySelector('.hamburger');
|
||||||
const navLinks = document.querySelector('.nav-links');
|
const navLinks = document.querySelector('.nav-links');
|
||||||
hamburger.addEventListener('click', () => {
|
hamburger.addEventListener('click', () => {
|
||||||
navLinks.classList.toggle('show');});
|
navLinks.classList.toggle('show');
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
function toggleTheme() {
|
function toggleTheme() {
|
||||||
@@ -59,8 +66,9 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!--!>Footer<-->
|
<!--!>Footer<-->
|
||||||
<hr style='width: 50%'/>
|
<hr style='width: 50%' />
|
||||||
{% block footer %}{% endblock %}
|
{% block footer %}{% endblock %}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user