Skip to content

Commit fce09cc

Browse files
committed
show abstract/bib/etc as "windows" rather than inserting them into flow
demo/style1.css shows how to insert
1 parent 61db00e commit fce09cc

File tree

1 file changed

+29
-6
lines changed

1 file changed

+29
-6
lines changed

site/style.css

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ div.short-bib-section .containertitle {
7676

7777
/* details (e.g., collection, editors, years, pages, etc.) of a bib item */
7878
div.bib-details{
79+
7980
}
8081

8182

@@ -107,9 +108,7 @@ div.cite {
107108
div.bib {
108109
font-family:Menlo,Courier,monospaced;
109110
color:brown;
110-
padding-left:30px;
111-
white-space: pre;
112-
margin:20px 60px 60px 10px;
111+
white-space: pre-wrap;
113112
}
114113

115114
/* Text "bib", "abstract", and other buttons */
@@ -123,6 +122,30 @@ div.bib {
123122
margin:0;
124123
}
125124

125+
/* Show/hide area */
126+
div.blinkitems .bibshowhide {
127+
background: white;
128+
padding: 20px;
129+
margin-left:40px;
130+
z-index: 5;
131+
position: absolute;
132+
width: 600px;
133+
134+
}
135+
136+
/* grey border inside the white padding */
137+
div.blinkitems .bibshowhide:before {
138+
content: " ";
139+
position: absolute;
140+
z-index: -1;
141+
top: 5px;
142+
left: 5px;
143+
right: 5px;
144+
bottom: 5px;
145+
border: 2px solid grey;
146+
}
147+
148+
126149
/* the .blink p style is a hack because Wordpress seems to insert <p> at times. */
127150
.blink p {
128151
display:inline;
@@ -142,11 +165,11 @@ div.short-bib-section .blinkitems .blink {
142165
/* The actual abstract (when visible) */
143166
div.abstract {
144167
color:black;
145-
margin:20px 60px 60px 10px;
146-
padding:10px;
147-
border:1px solid black;
168+
line-height:120%;
169+
font-size:120%;
148170
}
149171

172+
150173
/* Document titles */
151174
.doctitle {
152175
font-weight:200;

0 commit comments

Comments
 (0)