diff --git a/build/archive.css b/build/archive.css index f0e49c8..0eebbd6 100644 --- a/build/archive.css +++ b/build/archive.css @@ -78,15 +78,13 @@ div.fic h1 span.ficno { font-size: 0.8em; } -div.fic h1 span.ficno::before { +div.fic h1 span.ficnoprelim { font-weight: normal; font-style: italic; - content: "no. "; font-size: 0.6em; } -div.fic h1 span.abandoned::before { - content: " (abandoned)"; +div.fic h1 span.abandoned { font-weight: normal; background-color: #9c0000; color: white; @@ -96,95 +94,39 @@ div.fic ul.ficlinks li, div.fic ul.ficmeta li { list-style: none; } -div.fic li.ficdate::before { - content:"Date: "; - font-style: italic; -} - -div.fic li.wordcount::before { - content:"Wordcount: "; - font-style: italic; -} - -div.fic li.rating::before { - content:"Rating: "; - font-style: italic; -} - -div.fic li.rating span.g::before { +div.fic li.rating span.g { background-color: #8ab60b; color: white; - content: "general"; text-transform: uppercase; font-family: "Hubballi", sans-serif; } -div.fic li.rating span.t::before { +div.fic li.rating span.t { background-color: #e8d405; color: white; - content: "teen"; text-transform: uppercase; font-family: "Hubballi", sans-serif; } -div.fic li.rating span.m::before { +div.fic li.rating span.m { background-color: #eb7d10; color: white; - content: "mature"; text-transform: uppercase; font-family: "Hubballi", sans-serif; } -div.fic li.rating span.e::before { +div.fic li.rating span.e { background-color: #9c0000; color: white; - content: "explicit"; text-transform: uppercase; font-family: "Hubballi", sans-serif; } -div.fic li.fandom::before { - content:"Fandom: "; - font-style: italic; -} - -div.fic li.characters::before { - content:"Characters: "; - font-style: italic; -} - -div.fic li.genre::before { - content:"Genre: "; - font-style: italic; -} - -div.fic li.warnings::before { - content:"Warnings: "; - font-style: italic; +div.fic li.warnings i { color: #9c0000; font-weight: bold; } -div.fic li.time::before { - content:"Point in canon: "; - font-style: italic; -} - -div.fic li.location::before { - content:"Location: "; - font-style: italic; -} - -div.fic p.summary::before { - content:"Summary: "; - font-style: italic; -} - -div.fic p.note::before { - content:"Notes: "; - font-style: italic; -} - div.fic ul.ficlinks li a.locked::before { content:"🔒"; } @@ -377,22 +319,6 @@ span.pov, span.main, span.secondary, span.mention { margin: 0 5px; } -span.pov:before { - content: "POV: "; -} - -span.main:before { - content: "main: "; -} - -span.secondary:before { - content: "secondary: "; -} - -span.mention:before { - content: "mentioned: "; -} - input#verifyage-checkbox { display: inline; width: auto; diff --git a/characters.py b/characters.py index ce22647..91d00e8 100644 --- a/characters.py +++ b/characters.py @@ -118,13 +118,13 @@ def charlist(local=False): filewrite.write("
" + character + " ") # write statistics if len(povcount) > 0: - filewrite.write("" + str(len(povcount)) + "") + filewrite.write("POV: " + str(len(povcount)) + "") if len(maincount) > 0: - filewrite.write("" + str(len(maincount)) + "") + filewrite.write("main: " + str(len(maincount)) + "") if len(secondarycount) > 0: - filewrite.write("" + str(len(secondarycount)) + "") + filewrite.write("secondary: " + str(len(secondarycount)) + "") if len(mentioncount) > 0: - filewrite.write("" + str(len(mentioncount)) + "") + filewrite.write("mentioned: " + str(len(mentioncount)) + "") filewrite.write("\n") filewrite.close() # write fic headers in each category diff --git a/makeheader.py b/makeheader.py index 910fe0e..5d4519a 100644 --- a/makeheader.py +++ b/makeheader.py @@ -50,7 +50,7 @@ def ficgen(ficno,unique=False,output="output.html",local=False): # give the div an id if requested if unique: filewrite.write(" id=\"fic" + ficnostring + "\"") - filewrite.write(">\n

" + ficnostring) + filewrite.write(">\n

no. " + ficnostring) # write ficno including translation if there is one try: filewrite.write("/" + translationstring) @@ -73,8 +73,8 @@ def ficgen(ficno,unique=False,output="output.html",local=False): except: pass if fileread.status == "abandoned": - filewrite.write(" ") - filewrite.write("

\n
    \n
  • ") + filewrite.write(" (abandoned)") + filewrite.write("

\n\n") @@ -187,26 +196,26 @@ def ficgen(ficno,unique=False,output="output.html",local=False): try: if transread.language == "en": try: - filewrite.write("

" + transread.summary) + filewrite.write("

Summary: " + transread.summary) try: filewrite.write(" " + fileread.summary + "

\n") except: filewrite.write("

\n") except: try: - filewrite.write("

" + fileread.summary + "

\n") + filewrite.write("

Summary: " + fileread.summary + "

\n") except: pass elif transread.language == "fr": try: - filewrite.write("

" + fileread.summary) + filewrite.write("

Summary: " + fileread.summary) try: filewrite.write(" " + transread.summary + "

\n") except: filewrite.write("

\n") except: try: - filewrite.write("

" + transread.summary + "

\n") + filewrite.write("

Summary: " + transread.summary + "

\n") except: pass except: @@ -221,14 +230,14 @@ def ficgen(ficno,unique=False,output="output.html",local=False): juvenilia = False try: if fileread.notes: - filewrite.write("

") + filewrite.write("

Notes: ") except: try: if fileread.event: - filewrite.write("

") + filewrite.write("

Notes: ") except: if juvenilia: - filewrite.write("

") + filewrite.write("

Notes: ") # if juvenilia, add age if juvenilia: age = relativedelta((fileread.datewords[0])["date"], datetime.datetime(1993,6,28)).years