Table headers smaller, without background color

This commit is contained in:
echarp 2019-05-21 23:03:03 +02:00
parent 882a8cd9b4
commit 85e1e67de1
4 changed files with 9 additions and 14 deletions

View File

@ -1,11 +1,8 @@
header.calendar-header header.calendar-header
font-size: 1.5em font-size: larger
margin-top: 0.4em
font-weight: bolder
a a
font-weight: normal
&:first-child, &:last-child &:first-child, &:last-child
margin: 0 0.3em padding: 0 0.3em
em.locality.fa em.locality.fa
color: gray color: gray
@ -25,12 +22,10 @@ p.full_address
body.events.index table body.events.index table
width: 100% width: 100%
max-width: 100%
// So we can ellipse past events // So we can ellipse past events
table-layout: fixed table-layout: fixed
tr tr
th th
padding-bottom: 0.35em
text-transform: capitalize text-transform: capitalize
td td
height: 4.8em height: 4.8em

View File

@ -4,15 +4,14 @@
table table
clear: both clear: both
margin-top: 1em
margin-bottom: 1em
border-spacing: 2px border-spacing: 2px
th th
padding: 0.3em 0.6em font-weight: normal
a:link, a:visited
color: #003
padding: 0 0.6em
&.list &.list
thead tr
background-color: #fed
tbody tbody
tr:nth-child(odd) tr:nth-child(odd)
background-color: #def background-color: #def

View File

@ -5,6 +5,8 @@ img.favicon
form#orga_search form#orga_search
font-size: larger font-size: larger
margin-top: 1em
margin-bottom: 1em
label label
display: none display: none
em.fa em.fa

View File

@ -7,8 +7,7 @@
%table.list.autopagerize_page_element %table.list.autopagerize_page_element
%thead %thead
%th %th.name(colspan='2')= sort_link @search, :name
%th.name= sort_link @search, :name
%th.city= sort_link @search, :city %th.city= sort_link @search, :city
%th.department= sort_link @search, :department %th.department= sort_link @search, :department
%th.region= sort_link @search, %th.region= sort_link @search,