Skip to content

Commit 76a0344

Browse files
committed
update css
1 parent cbb2125 commit 76a0344

File tree

1 file changed

+24
-7
lines changed

1 file changed

+24
-7
lines changed

templates/form.html

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,40 @@
1111
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
1212

1313
<script src="{{ url_for('static', filename='js/form.js') }}"></script>
14+
<meta name="viewport" content="width=device-width, initial-scale=1">
15+
<style>
16+
@media screen and (min-width: 601px) {
17+
div.fontsz {
18+
font-size: 60px;
19+
}
20+
}
21+
22+
@media screen and (max-width: 600px) {
23+
div.fontsz {
24+
padding-bottom: 10px;
25+
font-size: 45px;
26+
27+
}
28+
}
29+
</style>
1430
</head>
1531
<body>
1632
<Center>
33+
<div class="fontsz">
1734
<div class="container">
18-
<br><br><br><br>
19-
<h2> Enter Comment</h2>
35+
<br>
36+
<!-- <br><br><br><br> -->
37+
Enter Comment
2038
<form class="form-inline">
2139
<div class="form-group">
22-
<label class="sr-only" for="nameInput">Name</label>
23-
<input type="text" class="form-control" id="nameInput" placeholder="Comment">
40+
<!-- <label class="sr-only" for="nameInput">Name</label> -->
41+
<input type="text" class="form-control" id="nameInput" placeholder="Comment" style="height:40px;font-size:20pt;" size="40%">
2442
</div>
2543
<!-- <button type="submit" class="btn btn-default">Submit</button> -->
2644
</form>
27-
<br>
2845
<div id="successAlert" class="alert alert-success" role="alert" style="display:none; width:60%;"></div>
29-
<div id="errorAlert" class="alert alert-danger" role="alert" style="display:none; width: 70%;"></div>
30-
</div>
46+
<div id="errorAlert" class="alert alert-danger" role="alert" style="display:none; width: 60%;"></div>
47+
</div></div>
3148
</Center>
3249
</body>
3350
</html>

0 commit comments

Comments
 (0)