Skip to content

Commit 7a3d8dc

Browse files
committed
Demos: Styled the jump to section link to float right and sit above the intro line
1 parent f013971 commit 7a3d8dc

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

docs/demos/_assets/css/jqm-demos.css

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ body, .jqm-demos {
7676
font-weight: 300;
7777
font-size: 2.4em;
7878
color: #555;
79+
clear:both;
7980
}
8081
.jqm-content > h1.jqm-faq-question {
8182
margin-top: -.4em;
@@ -89,6 +90,7 @@ body, .jqm-demos {
8990
font-size: 1.6em;
9091
color: #74b042;
9192
padding-top: .8em;
93+
clear:both;
9294
}
9395
.jqm-demos-home .jqm-content > h2 {
9496
margin-left: .6em;
@@ -109,7 +111,7 @@ body, .jqm-demos {
109111
line-height: 135%;
110112
margin-top: -.5em;
111113
margin-bottom: .5em;
112-
padding-bottom: 1.5em;
114+
padding-bottom: 2.2em;
113115
color: #555;
114116
border-bottom-width: 1px;
115117
border-bottom-style: solid;
@@ -195,8 +197,9 @@ body, .jqm-demos {
195197
text-align: right;
196198
font-size: 0.8em;
197199
margin-top: .8em;
198-
margin-bottom: -1em;
200+
margin-bottom: 1em;
199201
text-decoration: none;
202+
float:right;
200203
}
201204
.jqm-content p.jqm-intro + a.jqm-sections-link {
202205
text-align: left;
@@ -210,10 +213,13 @@ body, .jqm-demos {
210213
opacity: .5;
211214
}
212215
.jqm-content p.jqm-intro + a.jqm-sections-link span {
213-
float: left;
214-
margin-left: 0;
215-
margin-right: 10px;
216+
float: right;
217+
margin-left: 10px;
216218
}
219+
.jqm-content a.jqm-open-quicklink-panel {
220+
margin-top:-3.2em;
221+
}
222+
217223

218224
/* Demo view source */
219225
.jqm-content div[data-demo-html="true"] {

0 commit comments

Comments
 (0)