mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-12-26 09:28:56 -05:00
fixed search positioning, made layout calculations better
This commit is contained in:
parent
3e69c6be8b
commit
0f31b5b9e2
@ -1,6 +1,8 @@
|
|||||||
!page_width = 900px
|
!page_width = 900px
|
||||||
!sidebar_width = 250px
|
!main_width = 620px
|
||||||
|
!page_pad = 30px
|
||||||
!sidebar_margin = 30px
|
!sidebar_margin = 30px
|
||||||
|
!sidebar_width = !page_width - !main_width - !sidebar_margin
|
||||||
!pad = 15px
|
!pad = 15px
|
||||||
!default_border_radius = 4px
|
!default_border_radius = 4px
|
||||||
|
|
||||||
@ -69,21 +71,12 @@ html body
|
|||||||
width= !page_width
|
width= !page_width
|
||||||
margin: 0 auto
|
margin: 0 auto
|
||||||
padding:
|
padding:
|
||||||
left: 30px
|
left= !page_pad
|
||||||
right: 30px
|
right= !page_pad
|
||||||
|
|
||||||
#page
|
#page
|
||||||
+clearfix
|
+clearfix
|
||||||
background-color= !page_bg
|
background-color= !page_bg
|
||||||
&.collapsed
|
|
||||||
.page_width
|
|
||||||
width= !page_width - !sidebar_width
|
|
||||||
#main
|
|
||||||
width: 100%
|
|
||||||
.pre_expander
|
|
||||||
display: none
|
|
||||||
#sidebar
|
|
||||||
float: none
|
|
||||||
.page_width
|
.page_width
|
||||||
+clearfix
|
+clearfix
|
||||||
position: relative
|
position: relative
|
||||||
@ -96,7 +89,7 @@ html body
|
|||||||
left= "1px solid" !page_border_sides
|
left= "1px solid" !page_border_sides
|
||||||
right= "1px solid" !page_border_sides
|
right= "1px solid" !page_border_sides
|
||||||
#main
|
#main
|
||||||
width= !page_width - !sidebar_width - !sidebar_margin
|
width= !main_width
|
||||||
float: left
|
float: left
|
||||||
&.expanded
|
&.expanded
|
||||||
width: 100%
|
width: 100%
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#q
|
#q
|
||||||
background: none
|
background: none
|
||||||
position: relative
|
position: relative
|
||||||
top: -2px
|
top: 1px
|
||||||
width: 160px
|
width: 160px
|
||||||
margin-left: 30px
|
margin-left: 30px
|
||||||
font-size: 15px
|
font-size: 15px
|
||||||
|
Loading…
Reference in New Issue
Block a user