Skip to content

Commit 7a133c6

Browse files
committed
Fix styling for nagivation, styling for pre
1 parent 19be94e commit 7a133c6

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

Diff for: style.sass

+14-13
Original file line numberDiff line numberDiff line change
@@ -238,15 +238,12 @@ a[href*="https://"]
238238

239239
.naviNextPrevious
240240
clear: both
241-
display: block
242-
position: relative
241+
//position: relative
243242
text-align: right
244-
top: -47px
245243
float: right
246-
height: 20px
247244
z-index: 1
248245
padding-right: 10px
249-
padding-top: 2px
246+
padding-top: 1.1em
250247
vertical-align: top
251248
margin: 0
252249
> a
@@ -256,7 +253,6 @@ a[href*="https://"]
256253
background-position: left
257254
height: 20px
258255
padding-left: 20px
259-
260256
&:last-child
261257
background-image: url(qtdoc/images/btn_next.png)
262258
background-repeat: no-repeat
@@ -265,6 +261,9 @@ a[href*="https://"]
265261
height: 20px
266262
margin-left: 30px
267263

264+
.naviSeparator
265+
display: none
266+
268267
.footer
269268
font-size: small
270269
padding: 1em
@@ -354,11 +353,8 @@ table
354353
border-left: none
355354
border-right: none
356355
th
357-
padding-top: 5px
358-
padding-left: 10px
359-
padding-bottom: 5px
356+
padding: .2em 1em
360357
border-bottom: 2px solid #d1d1d1
361-
padding-right: 10px
362358

363359
th
364360
text-align: left
@@ -382,6 +378,9 @@ table
382378
tbody tr:last-child td
383379
border-bottom: 0
384380

381+
&.generic
382+
border-collapse: collapse
383+
385384
.title
386385
color: #313131
387386
font-size: 24px
@@ -617,13 +616,15 @@ ol
617616
padding: 0
618617

619618
pre
620-
margin-left: 0
621-
margin-right: 0
622-
background: #fefefe
619+
// background: #fefefe
623620
font-family: $font-monospace
624621
font-size: 80%
625622
line-height: 1.4
626623
color: #333
624+
//border: 1px solid darken($color-body-bg, 5%)
625+
border-width: 2px 0
626+
background: lighten($color-body-bg, 5%)
627+
box-shadow: 0 1px 3px #CCC;
627628

628629
code
629630
font-family: $font-monospace

0 commit comments

Comments
 (0)