aafshar / pida-main
The main PIDA branch
Clone this repository (size: 4.7 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/aafshar/pida-main/
| commit 2022: | d618db89de3d |
| parent 2021: | 3b9c13a76033 |
| branch: | default |
minor layout change, much more 'absolute' css layout, no % related spacing, looks better, killed bottom relbar, may add another, maybe different one, later.
Changed (Δ73 bytes):
raw changeset »
docs/source/_static/default.css (18 lines added, 16 lines removed)
docs/source/_templates/layout.html (3 lines added, 3 lines removed)
Up to file-list docs/source/_static/default.css:
| … | … | @@ -14,12 +14,12 @@ body { |
14 |
14 |
|
15 |
15 |
/* :::: LAYOUT :::: */ |
16 |
16 |
div.headwrapper { |
17 |
border-bottom: 3px solid #f1f1f1; |
|
18 |
border-top: 3px solid #f1f1f1; |
|
17 |
border: 3px solid #f1f1f1; |
|
19 |
18 |
/* max-width: 900px; |
20 |
19 |
min-width: 760px; */ |
21 |
margin-left: |
|
20 |
margin-left: 10px; |
|
22 |
21 |
margin-top: 10px; |
22 |
margin-right: 10px; |
|
23 |
23 |
padding: 10px; |
24 |
24 |
background-color: #ffffff; |
25 |
25 |
} |
| … | … | @@ -79,31 +79,32 @@ div.document { |
79 |
79 |
} |
80 |
80 |
|
81 |
81 |
div.documentwrapper { |
82 |
float: left; |
|
83 |
width: 100%; |
|
82 |
/* float: left; |
|
83 |
width: 100%; */ |
|
84 |
84 |
} |
85 |
85 |
|
86 |
86 |
div.bodywrapper { |
87 |
|
|
87 |
overflow: hidden; |
|
88 |
position: relative; |
|
89 |
margin-right: 10px; |
|
90 |
margin-left: 190px; |
|
88 |
91 |
} |
89 |
92 |
|
90 |
93 |
div.body { |
91 |
94 |
border: 3px solid #f1f1f1; |
92 |
95 |
background-color: white; |
93 |
96 |
padding: 0 20px 30px 20px; |
97 |
height: 100%; |
|
98 |
overflow: auto; |
|
94 |
99 |
} |
95 |
100 |
|
96 |
101 |
div.sphinxsidebarwrapper { |
97 |
padding: 0 0 0 0; |
|
98 |
} |
|
99 |
||
100 |
div.sphinxsidebar { |
|
101 |
float: left; |
|
102 |
width: 190px; |
|
103 |
margin-left: -99.4%; |
|
104 |
margin-right: 10px; |
|
102 |
padding: 0; |
|
103 |
position: absolute; |
|
104 |
left: 10px; |
|
105 |
top: 166px; |
|
106 |
width: 170px; |
|
105 |
107 |
font-size: 90%; |
106 |
background-color: #333333; |
|
107 |
108 |
background: #333333 url('pida-sidebar.jpg') top left no-repeat; |
108 |
109 |
border-bottom: 10px solid #000000; |
109 |
110 |
|
| … | … | @@ -119,6 +120,7 @@ div.footer { |
119 |
120 |
padding: 9px 0 9px 0; |
120 |
121 |
text-align: center; |
121 |
122 |
font-size: 75%; |
123 |
position: relative; |
|
122 |
124 |
} |
123 |
125 |
|
124 |
126 |
div.footer a { |
| … | … | @@ -135,7 +137,7 @@ div.related { |
135 |
137 |
/*width: 97%;*/ |
136 |
138 |
line-height: 30px; |
137 |
139 |
font-size: 90%; |
138 |
margin: 10px |
|
140 |
margin: 10px 10px 10px 10px; |
|
139 |
141 |
} |
140 |
142 |
|
141 |
143 |
div.related h3 { |
Up to file-list docs/source/_templates/layout.html:
154 |
154 |
|
155 |
155 |
{%- block relbar1 %}{{ relbar() }}{% endblock %} |
156 |
156 |
|
157 |
{%- block sidebar1 %} { |
|
157 |
{%- block sidebar1 %} {{ sidebar() }} {% endblock %} |
|
158 |
158 |
|
159 |
159 |
{%- block document %} |
160 |
160 |
<div class="document"> |
171 |
171 |
</div> |
172 |
172 |
{%- endblock %} |
173 |
173 |
|
174 |
{%- block sidebar2 %}{{ sidebar() }}{% endblock %} |
|
174 |
<!-- {%- block sidebar2 %}{{ sidebar() }}{% endblock %} --> |
|
175 |
175 |
<div class="clearer"></div> |
176 |
176 |
</div> |
177 |
177 |
|
178 |
{%- block relbar2 %} { |
|
178 |
{%- block relbar2 %} {% endblock %} |
|
179 |
179 |
|
180 |
180 |
{%- block footer %} |
181 |
181 |
<div class="footer"> |
