-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlightModeCommon.css
131 lines (108 loc) · 2.21 KB
/
lightModeCommon.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
120
121
122
123
124
125
126
127
128
129
130
131
@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(--darkText);
}
.darkPara {
color: var(--black);
font-weight: 500;
}
.btn {
border: 1px solid var(--darkblue);
border-radius: 50px;
background-color: transparent;
color: var(--darkblue);
font-size: 1.1rem;
padding: .7em 1.5em;
cursor: pointer;
}
.btn1 {
margin-right: 1em;
transition: box-shadow 0.3s ease;
}
.btn1:hover {
box-shadow: 0 0 50px rgba(23, 22, 22, 0.829);
}
.btn2 {
border: 1px solid var(--darkblue);
transition: box-shadow 0.3s ease;
}
.btn2:hover {
box-shadow: 0 0 50px rgba(23, 22, 22, 0.829);
}
.primaryBtn {
background-color: var(--lightgrey);
transition: box-shadow 0.3s ease;
}
.primaryBtn:hover {
box-shadow: 0 0 50px rgba(11, 7, 26, 0.744);
}
@keyframes bounce {
0% {
transform: translateY(-30px);
}
50% {
transform: translateY(30px);
}
100% {
transform: translateY(-30px)
}
}
.bouncepic img {
animation: bounce 15s infinite;
}
.sectionHeader {
background-color: #ffffff;
color: var(--darkblue);
font-size: 2rem;
margin-bottom: .7em;
}
.sectionPara {
background-color: #ffffff;
color: var(--darkblue);
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;
}
}