diff --git a/metabrainz/static/css/login.less b/metabrainz/static/css/login.less new file mode 100644 index 00000000..316f3a60 --- /dev/null +++ b/metabrainz/static/css/login.less @@ -0,0 +1,63 @@ +#login-page { + font-family: 'Sintony'; + font-style: normal; + font-weight: 400; + min-height: 500px; + background: linear-gradient(90deg, #3B9766 0%, #FFA500 100%); + display: flex; + align-items: center; + justify-content: center; + + .form-label{ + font-weight: normal; + } + + .icon-pills { + display: flex; + justify-content: space-evenly; + margin-bottom: 2rem; + } + .icon-pill { + background: #D9D9D9; + box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2); + border-radius: 50%; + text-align: center; + width:50px; + height: 50px; + display: flex; + align-items: center; + justify-content: center; + img { + width:65%; + } + } + + .login-page-container { + max-width: 400px; + } + .login-card-container { + background: #E7E7E7; + box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2); + border-radius: 3px; + } + .login-card { + h1,h2,h3,h4,h5,h6{ + font-weight: bold; + } + background: #FFFFFF; + box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2); + padding: 1rem; + border-radius: 3px; + } + .login-card-bottom { + display: flex; + align-items: center; + justify-content: space-between; + } + .create-account-card { + padding: 1rem; + font-size: 1.3rem; + line-height: 1.6rem; + color: #808080; + } +} diff --git a/metabrainz/static/css/main.less b/metabrainz/static/css/main.less index 61478331..cd343778 100644 --- a/metabrainz/static/css/main.less +++ b/metabrainz/static/css/main.less @@ -1,5 +1,6 @@ @import "theme/theme.less"; @import "carousel.less"; +@import "login.less"; @icon-font-path:"/static/fonts/"; diff --git a/metabrainz/templates/users/mb-login.html b/metabrainz/templates/users/mb-login.html index 3a976929..6f12a52a 100644 --- a/metabrainz/templates/users/mb-login.html +++ b/metabrainz/templates/users/mb-login.html @@ -1,15 +1,89 @@ {% extends 'base.html' %} -{% block title %}{{ _('Log in') }} - MetaBrainz Foundation{% endblock %} +{% block title %}{{ _('Sign in') }} - MetaBrainz Foundation{% endblock %} {% block content %} -