-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
104 lines (102 loc) · 1.72 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: black;
color: white;
font-family: 'Open Sans', sans-serif;
}
.main{
border-radius: 5px;
margin: auto;
background-color: #1C1938;
display: flex;
width: 60%;
height: 55vh;
margin-top: 22vh;
border-radius: 7px;
overflow: hidden;
}
.text{
padding: 5%;
flex: 1;
justify-content: space-around;
}
.info{
padding: 10px;
}
.info h1{
font-size: 150%;
}
.para{
color: rgb(189, 186, 186);
padding: 10px;
font-size: 80%;
}
img{
width: auto;
height: 100%;
opacity: 0.6;
}
.image{
background-color: #A256D0;
}
#end-text{
color: white;
text-align: center;
}
.data{
display: flex;
justify-content: space-between;
padding: 30px 6px 0px 6px;
}
.num h2{
font-size: 110%;
}
.num p{
font-size: 10px;
color: rgb(161, 160, 160);
}
#color{
color: purple
}
/*responsive portion*/
@media screen and (max-width: 700px){
.body{
width: 100vw;
}
.main{
display: flex;
flex-direction: column-reverse;
width: 70%;
height: auto;
margin: auto;
margin-top: 10vh;
text-align: center;
}
.info{
padding: 6vw 3vw 0 3vw;
}
.info h1{
font-size: 170%;
}
.image{
height: auto;
}
.image img{
max-width: 100%;
height: auto;
}
.data{
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
padding: 0;
}
.num{
margin-top: 5vh;
}
}