-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (97 loc) · 1.94 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
@import url("https://fonts.googleapis.com/css?family=Lora:400,400i,700,700i");
* {
margin: 0;
box-sizing: border-box;
}
svg text {
font-family: Lora;
letter-spacing: 5px;
stroke: #ffa5d8;
font-size: 80px;
font-weight: 700;
stroke-width: 3;
animation: textAnimate 5s infinite alternate;
}
@keyframes textAnimate {
0% {
stroke-dasharray: 0 50%;
stroke-dashoffset: 20%;
fill:hsl(189, 62%, 65%)
}
100% {
stroke-dasharray: 50% 0;
stroke-dashoffset: -20%;
fill: hsla(189, 68%, 75%,0%)
}
}
#wrapper {
background-color: rgb(235, 232, 232);
width: 500px;
height: auto;
margin: 0 auto;
border: 1px solid #be9ddf;
border-radius: 12px;
}
#catImage {
width: 100%;
height: 400px;
margin: 10px auto;
padding: 30px 50px;
border-radius: 30px;
}
#getCat {
background-color: black;
color: #ffa5d8;
width: 130px;
height: 30px;
margin-left: 36%;
margin-bottom: 5%;
font-weight: 500;
border: 1px solid #ffa5d8;
border-radius: 10px;
position: sticky;
}
#getCat:hover {
background-color: #b078e7;
color: whitesmoke;
}
@media screen and (max-width: 630px) and (min-width: 490px) {
svg text {
letter-spacing: 3px;
font-size: 55px;
font-weight: 650;
}
#wrapper {
width: 80vw;
height: auto;
}
#catImage {
width: 100%;
height: 370px;
margin: 10px auto;
padding: 25px 40px;
}
}
@media screen and (max-width: 489px) and (min-width: 360px) {
svg text {
letter-spacing: 3px;
font-size: 32px;
font-weight: 600;
}
#wrapper {
width: 85vw;
height: auto;
}
#catImage {
width: 100%;
height: 280px;
margin: 10px auto;
padding: 15px 30px;
}
#getCat {
width: 100px;
margin-left: 34%;
margin-bottom: 5%;
font-weight: 500;
}
}