Skip to content

Commit

Permalink
a few css additions, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
titaniumbones committed Jul 9, 2020
1 parent 96abf12 commit 99ab539
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
20 changes: 19 additions & 1 deletion poem.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@ line {
word {
margin-left: .222em;
color: green;
display: inline; /*Important!! Don't display on own line*/
}

/* consider whether you want to color/display your punctuation */
punctuation {

display: inline;
}

indent {
white-space: pre-wrap; /*preserve whitespace of indentations*/
display: inline;
}


Expand All @@ -34,6 +36,22 @@ line::before {
counter-increment: poem;
/* background-color: magenta; */
content: counter(poem);
width: 2em;
background-color: #DDD;
}


.death {
color: #991111;
background-color: rgba(4,4,4,0.3);
font-weight:700;
}

.wealth {
color: gold;
font-style: italic;
}

.prayer {
background-color: magenta;
}
2 changes: 1 addition & 1 deletion poem.js
Original file line number Diff line number Diff line change
Expand Up @@ -583,4 +583,4 @@ let poem=[
}
]
}
]
]

0 comments on commit 99ab539

Please sign in to comment.