generated from HacktheHill/www
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
49 lines (41 loc) · 1.03 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* Use a more sensible default for box-sizing */
*,
*::before,
*::after {
box-sizing: border-box;
}
/* Make the content fill the whole height */
html,
body {
height: 100%;
}
body {
/* Remove the default margin on the body */
margin: 0;
/* Set the font to sensible defaults */
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
/* Align the page content in a vertical flex box */
display: flex;
flex-direction: column;
/* Center items horizontally */
align-items: center;
}
form {
/* Stretch form to fill all available space below */
margin-bottom: auto;
}
input {
/*
Add a little more space inside of the input elements
This is equivalent to the size of one character which is normally 8 pixels
*/
padding: 1ch;
}
footer {
/* Give the footer text 16 pixels of space above and below */
padding: 1rem 0;
/* Stretch the footer to fill the whole width and center the text */
width: 100%;
text-align: center;
}