-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (108 loc) · 2.21 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Lexend+Deca&display=swap');
*{
margin:0;
}
:root{
/* -----------Primary---------- */
--very-dark-blue: hsl(233, 47%, 7%);
--dark-desaturated-blue: hsl(244, 38%, 16%);
--soft-violet: hsl(277, 64%, 61%);
/* -----------------Neutral----------- */
--white: hsl(0, 0%, 100%);
--lightly-transparent-white: hsla(0, 0%, 100%, 0.75);
--slightly-transparent-white: hsla(0, 0%, 100%, 0.6);
}
body{
background-color: var(--very-dark-blue);
display: flex;
justify-content: center;
font-family:"Inter";
}
.container{
width:70vw;
height: 60vh;
display: flex;
flex-direction: row;
background-color: var(--dark-desaturated-blue);
margin-top:20vh;
border-radius:5px;
}
.image-content{
position: relative;
}
.image-content::before{
content: "";
width:100%;
height: 100%;
position: absolute;
background: rgba(140,20,252,0.3);
}
img{
height: 60vh;
width:40vw;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
h1{
font-family:"Lexend Deca";
color: var(--white);
font-size: 2 rem;
}
.heading{
padding: 50px 60px 10px 50px;
}
.content{
width:25vw;
padding:10px 60px 10px 50px;
}
p{
color: var(--slightly-transparent-white);
font-size:15px;
line-height: 1.5;
}
.footer{
margin-top:70px;
width:30vw;
display: flex;
flex-direction: row;
justify-content: space-around;
padding-left: 10px;
padding-left:2vh;
}
.footer p{
font-family: "Inter";
color:var(--slightly-transparent-white)
}
h3{
color:var(--lightly-transparent-white);
}
.attribution{
color:white;
}
@media screen and(max-width:500px) {
body{
display: flex;
text-align: center;
justify-content: center;
align-items: center;
}
.container{
height: 80vh;
width:420px;
display: flex;
flex-direction: column-reverse;
}
.footer{
margin-left: 150px;
display: flex;
flex-direction: column;
align-items: center;
}
img{
width: 420px;
height:30vh;
}
.content{
width: 350px;
}
}