turn login and register into infopages

This commit is contained in:
Pierre Bondoerffer
2017-08-01 17:11:03 +02:00
parent 549b1b2c4f
commit dc0a037894
4 changed files with 99 additions and 35 deletions

View File

@@ -1,10 +1,10 @@
@import (once) "./colortheme.less";
@infopages_infobar-height: 64px;
@infopages_padding: 32px;
// Basic setup for info pages, this should be used at the global level
.infopages_main () {
min-height: 100vh;
background-color: @colortheme_info-background;
a {
@@ -27,7 +27,35 @@
font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
.cp-container {
padding-top: @infopages_infobar-height;
margin-top: @infopages_infobar-height;
padding-top: @infopages_padding;
padding-bottom: @infopages_padding;
min-height: 75vh;
h1 {
font-size: 3em;
margin-bottom: 0.5em;
}
.form-group {
& > * {
margin-top: 0.5em;
}
display: flex;
flex-direction: column;
align-items: center;
.checkbox-container {
width: 100%;
display: flex;
align-items: center;
label {
margin: 0;
}
input {
margin-right: 0.5em;
}
}
}
}
};
@@ -75,4 +103,4 @@
.infopages_link()
}
}
}
}