Skip to content

Commit e9f882f

Browse files
authored
Merge pull request #7 from JonnyBurger/master
Better responsive login page
2 parents 5456ce7 + 2d795b5 commit e9f882f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

login.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,23 @@
33
<head>
44
<meta charset='utf-8'>
55
<title>Login</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
67
<style>
78
@import url(https://fonts.googleapis.com/css?family=Roboto:300);
89

910
.login-page {
10-
width: 50%;
11+
max-width: 450px;
1112
padding: 8% 0 0;
1213
margin: auto;
1314
}
1415
.form {
1516
position: relative;
1617
z-index: 1;
1718
background: #FFFFFF;
18-
max-width: 50%;
1919
margin: 0 auto 100px;
2020
padding: 45px;
21+
margin-left: 20px;
22+
margin-right: 20px;
2123
text-align: center;
2224
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.2);
2325
}

0 commit comments

Comments
 (0)