diff --git a/stranky/tabulka.css b/stranky/tabulka.css new file mode 100644 index 0000000..3584afd --- /dev/null +++ b/stranky/tabulka.css @@ -0,0 +1,33 @@ +body { + font-family: Arial, sans-serif; + margin: 20px; +} + +h1 { + text-align: center; +} + +table { + width: 100%; + border-collapse: collapse; + margin: 20px 0; + font-size: 18px; + text-align: left; +} + +th, td { + padding: 12px; + border-bottom: 1px solid #ddd; +} + +thead { + background-color: #f2f2f2; +} + +tbody tr:nth-child(even) { + background-color: #f9f9f9; +} + +tbody tr:hover { + background-color: #f1f1f1; +} diff --git a/stranky/tabulka.html b/stranky/tabulka.html new file mode 100644 index 0000000..49a5e05 --- /dev/null +++ b/stranky/tabulka.html @@ -0,0 +1,32 @@ + + + + +

Sample Table

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameAgeOccupation
John Doe30Software Engineer
Jane Smith25Graphic Designer
Mike Johnson35Project Manager
+ \ No newline at end of file diff --git a/templates/header.html b/templates/header.html index 8519c49..62f7ae3 100644 --- a/templates/header.html +++ b/templates/header.html @@ -9,10 +9,10 @@ Lacnejšie Drahšie Najdrahšie - Kontakty Formular + Tabuľka \ No newline at end of file