-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyles.css
127 lines (111 loc) · 2.46 KB
/
styles.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
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
body {
background-color: var(--Theme_Main_1);
color: var(--Theme_Text_1);
font-family: "Montserrat", sans-serif;
}
h1 {
font-size: 2.5em;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
text-align: center;
}
h2,
h3,
p {
margin: 8px 0;
display: flex;
align-items: center;
justify-content: center;
white-space: pre;
}
.infobox_green {
padding: 8px;
margin: 8px 0;
border-radius: 8px;
background: rgba(0, 255, 149, 0.245);
border: 1px solid rgba(0, 255, 115, 0.604);
}
.infobox_red {
padding: 8px;
margin: 8px 0;
border-radius: 8px;
background: rgba(255, 0, 0, 0.245);
border: 1px solid rgba(255, 0, 0, 0.604);
}
.holder {
max-width: 928px;
margin: 24px auto;
}
.extensionHolder {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
margin: 16px -4px;
}
/*These panels are from extensions.turbowarp.org*/
.extension {
position: relative;
border: 2px solid var(--Theme_Main_3);
background-color: var(--Theme_Main_2);
border-radius: 8px;
margin: 4px;
overflow: hidden;
padding: 8px;
--transparency: 0%;
}
.extension:hover {
--transparency: 100%;
}
.extension-banner {
position: relative;
margin: -8px -8px 0 -8px;
}
.extension-image {
display: block;
width: 100%;
aspect-ratio: 2 / 1;
}
.extension > :last-child {
margin-bottom: 0;
}
.extension-buttons {
position: absolute;
top: 0;
left: 0;
display: flex;
flex-wrap: wrap;
width: 100%;
height: 100%;
align-items: center;
align-content: center;
justify-content: center;
gap: 0.5rem;
opacity: var(--transparency);
transition: opacity 0.15s;
background: rgba(0, 0, 0, 0.5);
pointer-events: none;
}
.extension-buttons > * {
padding: 0.5rem;
background-color: #4c97ff;
border-radius: 0.5rem;
border: none;
font: inherit;
cursor: pointer;
color: white;
text-decoration: none;
pointer-events: auto;
transition: filter 0.15s;
filter: drop-shadow(0px 1px 3px #00000075);
}
.prevent-select {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
}