forked from Frimia/SynapseX
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docstyle.css
189 lines (153 loc) · 3.17 KB
/
docstyle.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
/* style for our documentation, written by Louka */
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap');
:root
{
/* define global colors, toy with this to rapidly theme */
/* general background color */
--BackgroundColor: rgb(18, 18, 18);
/* proprietary background color */
--ProprietaryBgColor: rgb(26, 0, 28);
/* color used by most text */
--MainTextColor: rgb(200, 200, 200);
/* color used by links */
--LinkColor: rgb(0, 255, 180);
/* color used by hovered links */
--HoverLinkColor: rgb(255, 255, 255);
/* color used by pressed links */
--PressLinkColor: rgb(180, 180, 180);
/* color used by category titles */
--CategoryTextColor: rgb(255, 255, 255);
/* color used by typenames */
--TypenameColor: rgb(0, 140, 200);
/* color used by typename variants */
--TypenameVariantColor: rgb(180, 255, 180);
/* color used by signature background */
--SignatureBgColor: rgb(38, 38, 38);
/* color used by description background */
--DescriptionBgColor: rgb(26, 26, 26);
/* color used by example background */
--ExampleBgColor: var(--DescriptionBgColor);
}
#PageHeader
{
height: 50px;
background-color: rgba(26, 26, 26, 0.5);
}
#PageHeaderCenter
{
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
#PageHeaderLogo
{
max-height: 80%;
}
#PageHeaderTitle
{
margin-left: 10px;
font-size: 24px;
font-family: 'Roboto Mono', monospace;
text-shadow: 2px 2px 2px black;
color: white;
}
#BodyContainer
{
margin: 5% 15% 0 15%;
}
.CategoryTitle
{
color: var(--CategoryTextColor);
margin-left: 25px;
font-weight: normal;
font-family: 'Roboto Mono', monospace;
}
.CodeEntry
{
border-radius: 10px 10px 10px 10px;
margin: 25px 25px 0 25px;
background-color: var(--SignatureBgColor);
box-shadow: 0px 0px 5px #000000;
transition: box-shadow .2s, transform .2s;
}
.CodeEntry:hover
{
box-shadow: 0px 0px 20px #000000;
transform: scale(1.05);
}
.CodeDefinition
{
border-radius: 10px 10px 0 0;
padding: 5px 5px 5px 5px;
background-color: var(--DescriptionBgColor);
font-family: 'Roboto Mono', monospace;
}
.CodeDefinitionProprietary
{
border-radius: 10px 10px 0 0;
padding: 5px 5px 5px 5px;
background-color: var(--ProprietaryBgColor);
font-family: 'Roboto Mono', monospace;
}
.ProprietaryNotice
{
position: absolute;
right: 20px;
}
.CodeTypename
{
color: var(--TypenameColor);
}
.CodeTypenameVariant
{
color: var(--TypenameVariantColor);
}
.CodeDescription
{
font-size: 14px;
font-family: 'Roboto Mono', monospace;
text-align: justify;
padding: 5px 5px 5px 5px;
margin: 0 0 0 5px;
}
.CodeExample
{
padding: 3% 3% 3% 3%;
font-family: 'Roboto Mono', monospace;
background-color: var(--ExampleBgColor);
border-radius: 0px 0px 10px 10px;
}
a.Anchor
{
color: var(--MainTextColor);
text-decoration: none;
}
a
{
color: var(--LinkColor);
text-decoration: none;
transition: color 0.2s;
}
a:hover
{
color: var(--HoverLinkColor);
}
a:active
{
color: var(--PressLinkColor);
}
h3
{
text-align: center;
font-weight: normal;
font-family: 'Roboto Mono', monospace;
}
body
{
margin: 0;
color: var(--MainTextColor);
background-color: var(--BackgroundColor);
background-image: url("Bg.png");
background-repeat: repeat;
}