-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtest_style.css
More file actions
71 lines (52 loc) · 1.74 KB
/
test_style.css
File metadata and controls
71 lines (52 loc) · 1.74 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*Style code for the input page html*/
html, body {
font-family: 'Montserrat', sans-serif;
}
h1 {
font-size: 48px;
padding-top: 30px; /*nice top margin so we're not squishing words up by the URL bar*/
}
h3 {
font-size: 28px;
padding-left: 20px;
}
h2 {
font-size: 32px;
padding: 10px 20px; /*provides a little bit of vertical space and starts a 20px indent from the left (technically also pads the right by 20px)*/
padding-top: 20px; /*separates the questions nicely*/
}
.dropdown {
padding-left: 20px; /*keeping alignment consistent*/
font-size: 24px;
}
form {
font-size: 24px;
padding-left: 20px; /*dat alignment*/
padding-bottom: 40px;
}
form input {
background: #f0f0f0;
border: none;
font-size: 24px;
padding: 5px 10px; /*height and width of the form box around the placeholder text*/
width: 100%; /*The html assigns a certain number of columns to this form. This determines the percentage of those columns filled by the form*/
transition: background 1.5s, border 1.5s;
}
form input:focus /*not sure why it needs to be focused*/ {
background: transparent; /*background after clicking in the box*/
border: 1.5px solid #7070ff; /*border after click*/
outline: none; /*prevents fuzzy highlight outline from forming after click*/
}
button.btn {
background: transparent; /*standing background color*/
border: none;
color: #00f28f; /*button text color w/ no cursor over it*/
cursor: pointer; /*changes the cursor to a pointer when over the button*/
font-size: 24px;
padding: 5px 10px; /*size of the button around the text*/
transition: background 1.5s, color 1.5s;
}
button.btn:hover {
background: #00f28f; /*This changes the color of the button background when you hover over it*/
color: #fff; /*Same thing, but for text*/
}