Skip to content

Commit 6e3c4f1

Browse files
Demos: CSS for section links
1 parent 64e0b7f commit 6e3c4f1

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

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

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ body, .jqm-demos {
9999

100100
/* Paragraphs */
101101
.jqm-content > p,
102-
.jqm-list
103-
{
102+
.jqm-list {
104103
font-family: 'Open Sans', sans-serif;
105104
font-weight: 400;
106105
font-size: 0.95em;
@@ -180,21 +179,31 @@ body, .jqm-demos {
180179

181180
/* Sections link */
182181
.jqm-content a.jqm-sections-link {
182+
font-family: 'Open Sans', sans-serif;
183183
font-weight: 300;
184184
display: block;
185+
text-align: right;
185186
font-size: 0.8em;
186187
margin-top: .8em;
187188
margin-bottom: -1em;
188189
text-decoration: none;
189190
}
191+
.jqm-content p.jqm-intro + a.jqm-sections-link {
192+
text-align: left;
193+
}
190194
.jqm-content a.jqm-sections-link span {
191195
width: 18px;
192196
display: inline-block;
193-
margin-top: 4px;
194-
margin-right: 10px;
195-
float: left;
197+
margin-top: 1px;
198+
margin-left: 10px;
199+
float: right;
196200
opacity: .5;
197201
}
202+
.jqm-content p.jqm-intro + a.jqm-sections-link span {
203+
float: left;
204+
margin-left: 0;
205+
margin-right: 10px;
206+
}
198207

199208
/* Demo view source */
200209
.jqm-content div[data-demo-html="true"] {
@@ -268,12 +277,7 @@ body, .jqm-demos {
268277
overflow: visible;
269278
white-space: normal;
270279
}
271-
/*quicklinks*/
272-
.jqm-content a.jqm-top-link{
273-
font-size: 120%;
274-
font-weight: 300;
275-
line-height: 135%;
276-
}
280+
277281
/* ### TEMPORARY ### */
278282
/* ui-li-count position: count bubble position when icon is false needs to be fixed in the framework CSS */
279283
.jqm-list .ui-li-count {

0 commit comments

Comments
 (0)