Browse Source

Update style

master
Noëlle 3 years ago
parent
commit
6262f6a055
2 changed files with 16 additions and 3 deletions
  1. 14
    1
      assets/kobold.css
  2. 2
    2
      koboldgen.py

+ 14
- 1
assets/kobold.css View File

@@ -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;
}

+ 2
- 2
koboldgen.py View File

@@ -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>"
)

Loading…
Cancel
Save