Dwumadzinyi:Takovej normální týpek/common.css

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Globální nastavení */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f0f2f5; /* Světlé, profesionální pozadí */
    color: #2e2e2e; /* Tmavší text pro kontrast */
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: #1a73e8; /* Elegantní modré odkazy */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e91e63; /* Stylový přechod pro odkazy */
}

/* Hlavní obsah */
#content {
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Navigace */
#p-navigation {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: #333;
    color: #fff;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: width 0.4s ease;
}

#p-navigation:hover {
    width: 300px; /* Rozevření navigace při hoveru */
}

#p-navigation ul {
    list-style: none;
    padding: 0;
}

#p-navigation ul li {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#p-navigation ul li a {
    color: #fff;
    font-size: 18px;
}

#p-navigation ul li a:hover {
    color: #ffeb3b; /* Stylový efekt při hoveru na odkazy */
}

/* Header – Záhlaví stránky */
#p-header {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #1a73e8, #e91e63);
    color: white;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 0 0 10px 10px;
}

/* Sekce nadpisů */
h1, h2, h3, h4, h5, h6 {
    color: #1a73e8;
    margin-top: 20px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
    color: #e91e63; /* Hover efekt pro nadpisy */
}

/* Tlačítka */
button, .button {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

button:hover, .button:hover {
    background-color: #e91e63;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

/* Tabulky */
table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

table th, table td {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

table th {
    background-color: #1a73e8;
    color: white;
    font-weight: bold;
}

table tr:nth-child(odd) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.3s;
}

/* Paticka */
footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Minimalistické animace */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1.5s ease-in;
}