@@ -106,4 +106,17 @@ | |||
font-family: "Reverb"; | |||
font-size: 2em; | |||
font-style: italic; | |||
} | |||
} | |||
.passwordbox { | |||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); | |||
float: left; | |||
margin-right: 20px; | |||
margin-top: 10px; | |||
padding: 5px; | |||
} | |||
.passwordhead { | |||
font-family: "Reverb Bold"; | |||
font-size: 1.4em; | |||
} |
@@ -841,8 +841,8 @@ class Campaign: | |||
pw = self.generate_key() | |||
if html: | |||
out = ( | |||
f"<div id='password'>" | |||
f"<span>Permalink to this campaign:</span><br>" | |||
f"<div id='passwordbox'>" | |||
f"<span class='paswordhead'>Permalink to this campaign:</span><br>" | |||
f"<span><a href='http://node.noelle.codes/kobold?pw={pw.replace(' ', '')}'>{pw}</a></span>" | |||
f"</div>" | |||
) |