-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
55 lines (54 loc) · 1.03 KB
/
styles.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
/* to make several deivisions within the html file, id can be used to seperate them from each other. class can be used to change any particular thing within the div.
div id can not be identical but class can be identical. use # for the ids and use . for the class attribute insertion */
h1
{
color: green;
text-align: center;
}
h2
{
color: blue;
text-align: left;
}
#top
{
font-size: 36px;
}
.name
{
font-size: 70px;
font-weight: bold;
}
#bottom
{
/* for a border */
border: 3px solid blue;
font-family: courier;
font-size: 28px;
font-weight: bold;
background-color: teal;
width: 500px;
height: 400px;
/* outside of the box */
margin: 30px;
/* padding is for making additional space within the box for the text clearance */
padding: 20px;
}
table
{
border: 2px solid black;
/* to get rid of the seperated box outline for the table */
border-collapse: collapse;
margin-bottom: 10px;
width: 50%;
text-align: center;
}
th, td
{
border: 1px solid black;
padding: 5px:
}
th
{
background-color: lightgray;
}