-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathcommonStyle.css
More file actions
104 lines (87 loc) · 1.69 KB
/
Copy pathcommonStyle.css
File metadata and controls
104 lines (87 loc) · 1.69 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
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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
:root{
--black:#000;
--white:#ffffff;
--lightgrey:#f1f1f1;
--darkblue:#0d102c;
--primarycolor:#3d51f2;
--secondarycolor:#5670ef;
--lightDark:#080A25;
--darkText:#8388B4;
}
/* common styles */
section{
width: 95%;
max-width: 1200px;
margin: auto;
margin-top: 2em;
}
.gridSection{
display: grid;
align-items: center;
gap: 40px;
margin-bottom: 5em;
}
#sectionPic{
width: 100%;
max-width: 550px;
margin: auto;
}
.sectionPic img{
width: 100%;
}
p{
color: var(--lightgrey);
}
.darkPara{
color: var(--darkText);
font-weight: 500;
}
.btn{
border: 1px solid #fff;
border-radius: 50px;
background-color: transparent;
color: var(--white);
font-size: 1.1rem;
padding: .7em 1.5em;
cursor: pointer;
}
.btn1{
margin-right: 1em;
}
.btn2{
border: none;
}
.primaryBtn{
background-color: var(--primarycolor);
}
@keyframes bounce {
0% {transform:translateY(-30px);}
50% {transform:translateY(30px);}
100% { transform:translateY(-30px)}
}
.bouncepic img{
animation: bounce 15s infinite;
}
.sectionHeader{
color: var(--white);
font-size: 2rem;
margin-bottom: .7em;
}
.sectionPara{
font-size: 1.1rem;
margin-bottom: 3em;
}
@media screen and (min-width:800px) {
section{
width: 85%;
}
.gridSection{
grid-template-columns: 1fr 1fr;
}
}
@media screen and (min-width:1000px){
.sectionHeader{
font-size: 3em;
}
}