-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebstyle.css
More file actions
55 lines (48 loc) · 1.18 KB
/
Copy pathwebstyle.css
File metadata and controls
55 lines (48 loc) · 1.18 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
body {
background-color: #4cc0f3;
color: black;
font-family: arial, helvetica, sans-serif;
}
ol {list-style-type: lower-alpha;
border: 12px solid white;
background-color: white;
border-radius: 12px;
width: fit-content;
line-height: 200%;
font-size: 18px;
font-family: 'Open Sans', sans-serif;
}
h1 {
color: black;
font-size: 48px;
border: 12px solid white;
background-color: white;
border-radius: 12px;
width: fit-content;
}
img{
border-radius: 15px;
margin: 75px;
margin-left: 0px;
}
p {
border: 12px solid white;
background-color: white;
border-radius: 12px;
width: fit-content;
line-height: 150%;
font-size: 18px;
font-family: 'Open Sans', sans-serif;
}
figure {background-color:lavender; margin:3em; width: 30%;}
figcaption {font-style:italic; font-size:.8em;}
figure img {max-width:300px; width:100%;}
/* Notice how the last rule is written: figure image {properties} .
* The rule above controls the <img> element that is contained inside <figure>.
* It does not control the size of the <img> that is not inside a <figure>. */
.cat {
max-width: 50%;
}
.dog {
max-width: 50%;
}