Merge branch 'ajdintrejic-master'

This commit is contained in:
Andrej Karpathy
2021-12-18 15:06:36 -08:00
3 changed files with 18 additions and 9 deletions
+10 -4
View File
@@ -202,12 +202,12 @@ body {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
#profile-login-form { #profile-login-form, #email-form {
width: 400px; max-width: 400px;
margin: 30px auto; margin: 30px auto;
font-size: 18px; font-size: 18px;
} }
#profile-login-form .form-control { #profile-login-form .form-control, #email-form .form-control {
display: block; display: block;
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
@@ -220,7 +220,7 @@ body {
border: 1px solid #ccc; border: 1px solid #ccc;
border-radius: 4px; border-radius: 4px;
} }
#profile-login-form .btn { #profile-login-form .btn, #email-form .btn {
display: block; display: block;
width: 100%; width: 100%;
padding: 5px; padding: 5px;
@@ -275,3 +275,9 @@ body {
text-decoration: underline; text-decoration: underline;
color: #009; color: #009;
} }
@media only screen and (max-width: 720px) {
#controls, #wrap, #profilewrap, #wordwrap, #aboutwrap, #statswrap {
margin: 10px 20px 0 20px;
}
}
+1
View File
@@ -4,6 +4,7 @@
<head> <head>
<!-- meta info --> <!-- meta info -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>arxiv-sanity</title> <title>arxiv-sanity</title>
<!-- CSS --> <!-- CSS -->
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}"> <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
+6 -4
View File
@@ -22,9 +22,11 @@
To stop the recommendations simply delete your email address. To stop the recommendations simply delete your email address.
</div> </div>
<div> <div>
<form action="{{ url_for('register_email') }}" method="post"> <form id="email-form" action="{{ url_for('register_email') }}" method="post">
<input type="text" name="email" placeholder="Email address" value="{{ email }}"> <div class="form-group">
<input type="submit" value="Set"> <input type="text" class="form-control" name="email" placeholder="Email address" value="{{ email }}">
</div>
<input type="submit" class="btn" value="Set">
</form> </form>
</div> </div>
</div> </div>
@@ -53,7 +55,7 @@
<label>Username:</label> <label>Username:</label>
<input class="form-control" type="text" name="username"> <input class="form-control" type="text" name="username">
</div> </div>
<button type="submit" class="btn btn-primary">Log in</button> <button type="submit" class="btn">Log in</button>
</form> </form>
</div> </div>
{% endif %} {% endif %}