-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
120 lines (108 loc) · 1.96 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
110
111
112
113
114
115
116
117
118
119
*{
margin: 0;
padding: 0;
}
body{
background-color: hsl(47, 88%, 63%);
font-family: 'Figtree', sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/*main container styles*/
main{
background-color: white;
display: flex;
flex-direction: column;
width: 300px;
margin: 150px 0 30px 0;
height: 75%;
padding: 20px;
border-radius: 5%;
font-weight: 600;
border: black solid 1px;
box-shadow: 7px 5px black;
}
.header-img{
width: 100%;
border-radius: 5%;
}
.header-cont{
height: 35%;
}
h2{
width: 25%;
background-color: hsl(47, 88%, 63%) ;
margin: 15px 0;
border-radius: 8%;
font-size: 13px;
padding: 2%;
text-align: center;
}
span{
font-size: 13px;
}
h1{
font-weight: 800;
margin: 15px 0;
font-size: 22px;
}
p{
color: hsl(0, 0%, 50%);
font-size: 15px;
line-height: 25px;
margin-bottom: 15px;
font-weight: 600;
}
.icon-div{
display: flex;
flex-direction: row;
align-items: center;
font-weight: 800;
font-size: 15px;
}
.icon-img{
width: 25px;
height: 25px;
margin-right: 8px;
}
/*footer styles*/
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
/*active state*/
h1:hover{
color: hsl(47, 88%, 63%);
cursor: pointer;
}
/*mobile*/
@media only screen and (max-width: 600px) and (min-width: 335px){
main{
width: 280px;
height: 75%;
margin: 32% 0 30px 0;
box-shadow: 8px 8px black;
}
h1{
font-size: 17px;
}
p{
font-size: 14px;
width: 100%;
}
}
@media only screen and (max-width: 335px){
main{
width: 70%;
margin: 32% 0 30px 0;
height: 75%;
box-shadow: 8px 8px black;
}
h1{
font-size: 17px;
}
p{
font-size: 14px;
width: 100%;
}
}