forked from OpenNeo/impress
Set fixed table width for Item Getting Guide tables
We'll need to dig into this more for mobile, but here's my initial attempt at getting the tables to be consistently-sized and such!
This commit is contained in:
parent
ecde507b60
commit
189cb6a132
1 changed files with 12 additions and 6 deletions
|
@ -4,6 +4,8 @@
|
|||
.item-list
|
||||
border-collapse: collapse
|
||||
border: 1px solid $soft-border-color
|
||||
width: 60%
|
||||
table-layout: auto
|
||||
|
||||
td, th
|
||||
border-top: 1px solid $soft-border-color
|
||||
|
@ -17,21 +19,25 @@
|
|||
&:last-child
|
||||
padding-right: .5em
|
||||
|
||||
.thumbnail-cell img
|
||||
display: block
|
||||
.thumbnail-cell
|
||||
width: 2.5em
|
||||
height: 2.5em
|
||||
|
||||
.actions-cell
|
||||
text-align: right
|
||||
padding-left: 1em
|
||||
font-size: 85%
|
||||
img
|
||||
display: block
|
||||
width: 100%
|
||||
height: 100%
|
||||
|
||||
.name-cell a
|
||||
text-decoration: none
|
||||
&:hover
|
||||
text-decoration: underline
|
||||
|
||||
.actions-cell
|
||||
text-align: right
|
||||
padding-left: 1em
|
||||
font-size: 85%
|
||||
|
||||
thead
|
||||
background: $module-bg-color
|
||||
|
||||
|
|
Loading…
Reference in a new issue