urejeni jedilniki (tabele)
This commit is contained in:
+71
-1
@@ -402,4 +402,74 @@ footer p {
|
||||
max-width: 750px;
|
||||
text-align: center;
|
||||
margin: 0 auto 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* kategorije jedilnika */
|
||||
|
||||
.jedilnik_kategorija {
|
||||
margin-bottom: 4rem;
|
||||
}
|
||||
|
||||
.jedilnik_kategorija h2 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* tabele jedilniov */
|
||||
|
||||
.jedilnik_page table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
background-color: var(--barva-kartice);
|
||||
border-radius: var(--zaobljenost);
|
||||
overflow: hidden;
|
||||
box-shadow: var(--barva-senca);
|
||||
}
|
||||
|
||||
.jedilnik_page caption {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.jedilnik_page th,
|
||||
.jedilnik_page td {
|
||||
padding: 1.1rem;
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
|
||||
}
|
||||
.jedilnik_page thead {
|
||||
background-color: var(--barva-poudarek);
|
||||
color: var(--barva-besedilo-na-temnem);
|
||||
}
|
||||
|
||||
.jedilnik_page th {
|
||||
font-size:0.8rem ;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.jedilnik_page tbody {
|
||||
border-bottom: 1px solid var(--barva-ozadje);
|
||||
}
|
||||
|
||||
.jedilnik_page tbody tr :last-child {
|
||||
border-bottom: none ;
|
||||
}
|
||||
|
||||
/*imena jedi*/
|
||||
|
||||
.jedilnik_page td:first-child {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/*cene jedi */
|
||||
.jedilnik_page th:last-child,
|
||||
.jedilnik_page td:last-child {
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.jedilnik_page td:last-child {
|
||||
font-weight: 700;
|
||||
color: var(--barva-poudarek);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user