-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
82 lines (69 loc) · 1.66 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
body {
padding-top: 10px;
padding-left: 25px;
padding-right:25px;
}
/* Centers Hello My Name is Jacob :)*/
/* Pushes it down 10 pixels from the top of the screen. */
.intro {
text-align: center;
margin: 10px;
}
/* Adds tabs to text in all p tags, unless a class is added to the p tag*/
/* Class styling takes precedence over tag styling */
p {
margin: 0px;
margin-left: 10px;
}
/* Adds margins to the resource links */
.resources {
margin-left: 25px;
margin-top: 10px;
}
/* Adds margins to the note section */
.notesection {
margin: 20px;
}
/* Makes note section topic backgrounds pink */
/* display inline-block lets topics be next to eachother */
/* CSS is all about searching the resources websites and doing some trial and error*/
/* For example I searched "CSS how to have divs next to eachother horizontally" */
.topic {
margin: 5px;
padding: 20px;
padding-top: 0px;
display: inline-block;
background-color: pink;
}
.related {
display: inline-block;
}
/* Makes tags with class note tabbed in more */
/* How I got the bullet points to be tabbed in more (I added class="note" to all of the bullet point lines.)*/
.note {
margin-left: 20px;
}
/* margins for the calculators section */
.calculator {
margin: 20px;
}
/* margins and width of input boxes */
input {
margin: 5px;
width: 5em;
}
/* margins on all buttons */
button {
margin: 5px;
}
/* margins and underline on all h4 tags */
h4 {
/* I looked up "CSS how to underline" on google, result was w3schools. */
text-decoration: underline;
margin-bottom: 5px;
}
.homelink {
position: absolute;
top: 10px;
right: 15px;
}