-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
63 lines (58 loc) · 1.4 KB
/
style.css
File metadata and controls
63 lines (58 loc) · 1.4 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
body {
font-size: 1.1rem;
margin: 2rem;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.5rem;
margin: 2rem 0;
}
img {
max-width: 100%;
object-fit: contain;
border-radius: 25px;
}
figure {
margin: 0;
figcaption{
padding-bottom: 2rem;
text-align: center;
}
}
@media only screen and (min-width: 576px){
body{
background: linear-gradient(0deg, rgba(220,253,254,1) 42%, rgb(255, 255, 255) 100%);
font-size: 1.2rem;
margin: 3rem;
}
.figureDiv{
display: grid;
column-gap: 2rem;
grid-template-columns: 1fr 1fr;
justify-items: center;
}
}
@media only screen and (min-width: 1200px){
body{
font-size: 1.3;
background-image: radial-gradient(circle, rgba(255,236,245,0.70) 0%, rgba(168,202,241,0.22032563025210083) 100%), url('https://images.unsplash.com/photo-1570963398800-a5c9dac212e9?q=80&w=3532&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
background-position: end;
margin: 5rem auto;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
max-width: 2000px;
}
.figureDiv{
grid-template-columns: 1fr 1fr 1fr;
}
img{
border: 2px solid rgb(27, 27, 27);
}
#figure5{
grid-column-start: 3;
grid-row: 2;
}
}