-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (114 loc) Β· 3.19 KB
/
Copy pathstyle.css
File metadata and controls
127 lines (114 loc) Β· 3.19 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
/* styles.css */
@import url(
"https://fonts.googleapis.com/css2?family=Pacifico&display=swap");
* {
box-sizing: border-box;
margin: 0;
padding: 0;
color:#fff;
}
*{color:#fff;}
body {
overflow: hidden;
background: url('https://source.unsplash.com/1920x1080/?milkway') no-repeat fixed;
background-size: cover;
animation: sparkleBackground 10s infinite linear;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
background-color: #f4f4f4;
color:#fff;
}
h1 {
margin-bottom: 20px;
background-image: url("https://cdn.pixabay.com/animation/2023/06/06/06/51/06-51-32-766_512.gif");
}
input {
font-size: 16px;
padding: 10px;
margin-bottom: 10px;
width: 300px;
}
/* Modern Button */
button {
touch-action: manipulation;
appearance: button;
background-color: transparent;
border-style: initial;
border-width: 0;
cursor: pointer;
margin: 0;
text-transform: none;
vertical-align: baseline;
}
button:focus {
outline: 0;
}
button {
touch-action: manipulation;
background-image:url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSJ-6nLMKjg2yJXs929QQ7C-9nyYgTKUgN5IQ&usqp=CAU");
border-radius: 8px;
color: #fff;
font-feature-settings: "ss01", "cv10", "calt"0, "liga"0;
font-size: 16px;
font-weight: 500;
line-height: 24px;
padding: 10px 20px;
position: relative;
transition: transform .2s cubic-bezier(.6, .6, 0, 1), margin-top .2s cubic-bezier(.6, .6, 0, 1);
transition-behavior: normal, normal;
}
button::before {
-webkit-mask-clip: content-box, initial;
-webkit-mask-composite: xor;
-webkit-mask-image: linear-gradient(#fff 0, #fff 0), linear-gradient(#fff 0, #fff 0);
-webkit-mask-origin: content-box, initial;
-webkit-mask-position-x: initial, initial;
-webkit-mask-position-y: initial, initial;
-webkit-mask-repeat-x: initial, initial;
-webkit-mask-repeat-y: initial, initial;
-webkit-mask-size: initial, initial;
padding: 1px;
}
button::before {
background-color: initial;
background-image: linear-gradient(rgba(255, 255, 255, .32), transparent);
bottom: 0;
pointer-events: none;
right: 0;
}
button::after,
button-8::before {
border-radius: inherit;
content: "";
left: 0;
position: absolute;
top: 0;
}
button::after {
box-shadow: #000019 0 0, rgba(0, 0, 25, .3) 0 9px 21px, rgba(73, 2, 57, .2) 0 -3px inset;
height: 100%;
transition: box-shadow .2s cubic-bezier(.6, .6, 0, 1), background-color .2s cubic-bezier(.6, .6, 0, 1);
transition-behavior: normal, normal;
width: 100%;
z-index: 1;
}
button:active {
transform: translateY(1.5px);
}
button:hover::after {
background-color: rgba(255, 255, 255, .1);
}
button:active::after {
box-shadow: #000019 0 0, rgba(0, 0, 25, .2) 0 9px 21px, rgba(73, 2, 57, .2) 0 0 inset;
}
#definitionContainer {
display: none;
max-width: 600px;
margin-top: 20px;
}