From c3af385908866291109afb8cf8779da555a9922a Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 2 Sep 2018 04:57:06 +0200 Subject: Simple login screen. --- static/css/fripost.css | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 static/css/fripost.css (limited to 'static') diff --git a/static/css/fripost.css b/static/css/fripost.css new file mode 100644 index 0000000..3b1d242 --- /dev/null +++ b/static/css/fripost.css @@ -0,0 +1,48 @@ +html, +body { + height: 100%; + /* The html and body elements cannot have any padding or margin. */ +} + +body { + display: flex; + flex-direction: column; + justify-content: center; +} +body > header.lead { + font-size: 3rem; +} +a.brand:link, +a.brand:visited, +a.brand:hover, +a.brand:active { + color: black; + text-decoration: none; +} +.login { + max-width: 30em; + margin-right: auto; + margin-left: auto; +} +.login form { + width: 100%; +} +.login form .input-group { + margin-bottom: 1ex; +} +.login .well { + margin-bottom: 0; +} +.login .well + .well-footer { + margin-top: .5ex; +} +body > footer { + background-color: #f5f5f5; + position: absolute; + width: 100%; + bottom: 0; +} +body > footer.container { + padding: 1ex 2ex 0 2ex; + width: 100%; +} -- cgit v1.2.3