-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
55 lines (47 loc) · 908 Bytes
/
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
body {
/* Set background colour */
background: #FFFECC;
font-family: 'Quicksand', sans-serif;
}
h1 {
text-align: center;
font-size: 3rem;
text-emphasis: bold;
}
div {
/* align the div containing button and text */
padding: 20px 20px;
max-width: 27vw;
margin: auto;
}
div button {
/* make background of button transparent & remove border & outline */
background-color: transparent;
border: none;
outline: none;
display: block;
margin: auto 0;
}
.veg {
/* set size of button relative to viewport*/
max-width: 25vw;
transition: transform .2s;
}
.veg:hover {
/* create hover animation */
transform:scale(1.2);
}
p {
text-align: center;
font-size: 2rem;
}
body.about p{
max-width: 50vw;
margin: auto;
font-size: 1.5rem;
padding: 10px;
}
a {
text-decoration: none;
color: black;
}