Skip to content

Commit

Permalink
fix: footnotes now have .content class
Browse files Browse the repository at this point in the history
Hence we need to fix them, if we don't want them to be 500px high. Moved
styles from style.less to content.less and dropped the ids on the way.
  • Loading branch information
micgro42 committed Dec 7, 2017
1 parent 6d19e8b commit d59fc0e
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 34 deletions.
32 changes: 32 additions & 0 deletions css/content.less
@@ -1,6 +1,11 @@
/* content format */

div.dokuwiki .content {
background-color: @ini_content_bg;
padding: 10px 70px 20px 30px;
font-size: 1.1em; /* Check cryptsign and do inline icons with line height */
min-height: 500px;
overflow: hidden;

.page {
color: __mediumgray__;
Expand Down Expand Up @@ -86,6 +91,17 @@ div.dokuwiki .content {
padding-left: 3px;
}

sup a {
font-size: 9px;
padding-left: 2px;
text-decoration: none;

p {
font-size: 9px;
padding-left: 2px;
}
}

div.footnotes {
border-top: 1px solid __border__;
clear: both;
Expand All @@ -94,5 +110,21 @@ div.dokuwiki .content {
padding-left: 1em;
font-style: italic;
line-height: 1.4em;

.fn {
font-size: 1.32rem;
font-style: normal;

sup a {
font-weight: bold;
font-size: 1.06rem;
}

.content {
display: inline;
padding: 0;

}
}
}
}
34 changes: 0 additions & 34 deletions css/style.less
Expand Up @@ -148,16 +148,6 @@ a {text-decoration: none;}
right: 60px;
}

/* document-content */
#icke__page .content {
background-color: __content_bg__;
padding: 10px 70px 20px 30px;
font-size: 1.1em; /* Check cryptsign and do inline icons with line height */
min-height: 500px;
overflow: hidden;
}


/* =FOOTER
----------------------------------------------------*/

Expand Down Expand Up @@ -538,30 +528,6 @@ a {text-decoration: none;}
background: transparent url(images/icons/extlink_visited.png) center right no-repeat;
}

#icke__page .content sup a {
font-size: 9px;
padding-left: 2px;
text-decoration: none;
}

#icke__page .content sup a p {
font-size: 9px;
padding-left: 2px;
}

#icke__page .footnotes sup {
vertical-align: baseline;
}

#icke__page .footnotes sup a {
font-size: 12px;
}

#icke__page .footnotes .fn {
font-size: 13px;
font-style: normal;
}

div.insitu-footnote {
-moz-border-radius: 5px;
-opera-border-radius: 5px;
Expand Down

0 comments on commit d59fc0e

Please sign in to comment.