forked from swarupe7/MedPlant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle3.css
More file actions
136 lines (115 loc) · 2.18 KB
/
style3.css
File metadata and controls
136 lines (115 loc) · 2.18 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
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
132
133
134
135
136
body {
background-color: #E2F6CA;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.container {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
/* max-width: 600px;
margin: 100px auto;
text-align: center; */
}
h1 {
color: #333;
font-size: 80px;
margin-top: 10px;
margin-bottom: 5px;
}
.main{
color: #1A5D1A;
}
.card {
flex-basis: 0;
width: 250px;
height: 30px;
background-color: #fff;
padding: 20px;
margin-top: 20px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
text-align: center;
transition: 0.4s;
}
.card:hover {
background-color: darkseagreen;
transform: translateY(-5px);
z-index: 1;
}
.card h3 {
margin: 0;
color: #333;
}
.link {
text-decoration: none;
}
.thank-you{
color: #557A46;
}
:root {
/* --purple: rgb(123, 31, 162);
--violet: rgb(103, 58, 183);
--pink: rgb(244, 143, 177); */
/* --red: #F31559;
--magenta: #FF52A2;
--orange: #FFB07F;
--green: #1A5D1A;
--yellow: #F1C93B;
--blue: #78C1F3; */
--yellow: #F2EE9D;
--l-green: #7A9D54;
--d-green: #557A46;
}
@keyframes background-pan {
from {
background-position: 0% center;
}
to {
background-position: -200% center;
}
}
@keyframes scale {
from, to {
transform: scale(0);
}
50% {
transform: scale(1);
}
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(180deg);
}
}
h2 {
color: white;
font-family: "Rubik", sans-serif;
font-size: clamp(2em, 2vw, 4em);
font-weight: 400;
margin: 0px;
padding: 20px;
text-align: center;
}
h2 > .magic {
display: inline-block;
position: relative;
}
h2 > .magic > .magic-text {
animation: background-pan 3s linear infinite;
background: linear-gradient(
to right,
var(--yellow),
var(--l-green),
var(--d-green),
var(--yellow)
);
background-size: 200%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
white-space: nowrap;
}