Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mamayaya1
GitHub Repository: mamayaya1/game
Path: blob/main/css/tab.css
4626 views
1
body {
2
background-color: black;
3
color: white;
4
}
5
6
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");
7
input {
8
background: rgba(0, 0, 0, 0);
9
border: none;
10
outline: none;
11
color: #63de00;
12
font-family: "Montserrat", sans-serif;
13
font-size: inherit;
14
}
15
16
::placeholder {
17
/* Chrome, Firefox, Opera, Safari 10.1+ */
18
font-style: italic;
19
color: white;
20
opacity: 1; /* Firefox */
21
}
22
23
:-ms-input-placeholder {
24
/* Internet Explorer 10-11 */
25
color: white;
26
}
27
28
::-ms-input-placeholder {
29
/* Microsoft Edge */
30
color: white;
31
}
32
33
.console-container {
34
margin: auto;
35
font-family: "Montserrat", sans-serif;
36
width: 45vw;
37
height: 40vh;
38
margin-bottom: 10vh;
39
}
40
41
.console {
42
width: 100%;
43
box-sizing: border-box;
44
margin: auto;
45
overflow: hidden;
46
font-family: "Montserrat", sans-serif;
47
}
48
49
.console-input {
50
padding-bottom: 15%;
51
font-family: "Montserrat", sans-serif;
52
}
53
54
.console h1 {
55
font-family: "Montserrat", sans-serif;
56
text-align: center;
57
color: #fff;
58
}
59
60
.console .consolebody {
61
box-sizing: border-box;
62
font-family: "Montserrat", sans-serif;
63
padding: 20px;
64
background-color: #3b3b3b;
65
color: #63de00;
66
border-radius: 15px;
67
}
68
69
.consolebody {
70
font-family: "Montserrat", sans-serif;
71
}
72
73
.console .consolebody p {
74
line-height: 1.5rem;
75
}
76
77
.button-wrapper {
78
padding-top: 2%;
79
text-align: center;
80
font-family: "Montserrat", sans-serif;
81
}
82
83
.console-button {
84
font-family: "Montserrat", sans-serif;
85
font-weight: bold;
86
text-transform: uppercase;
87
padding: 0.6em 2em;
88
margin-right: 2em;
89
border: none;
90
outline: none;
91
color: rgb(0, 0, 0);
92
background: white;
93
cursor: pointer;
94
position: relative;
95
border-radius: 10px;
96
width: 200px;
97
font-size: 1.25rem;
98
}
99
100
@media screen and (max-width: 1650px) {
101
.console-button {
102
width: 150px;
103
font-size: 0.75rem;
104
}
105
}
106
107
@media screen and (max-width: 1200px) {
108
.console-button {
109
width: 125px;
110
font-size: 0.6rem;
111
}
112
}
113
114
.console-button:before {
115
content: "";
116
background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
117
position: absolute;
118
top: -2px;
119
left: -2px;
120
background-size: 400%;
121
z-index: -1;
122
filter: blur(5px);
123
width: calc(100% + 4px);
124
height: calc(100% + 4px);
125
animation: glowingbn5 20s linear infinite;
126
opacity: 0;
127
transition: opacity 0.3s ease-in-out;
128
border-radius: 10px;
129
font-family: "Montserrat", sans-serif;
130
}
131
132
@keyframes glowingbn5 {
133
0% {
134
background-position: 0 0;
135
}
136
50% {
137
background-position: 400% 0;
138
}
139
100% {
140
background-position: 0 0;
141
}
142
}
143
144
.console-button:active {
145
color: black;
146
}
147
148
.console-button:active:after {
149
background: transparent;
150
}
151
152
.console-button:hover:before {
153
opacity: 1;
154
}
155
156
.console-button:after {
157
z-index: -1;
158
content: "";
159
position: absolute;
160
width: 100%;
161
height: 100%;
162
background: black;
163
left: 0;
164
top: 0;
165
border-radius: 10px;
166
}
167