-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcollections.scss
244 lines (214 loc) · 7.39 KB
/
collections.scss
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
/// Future Developers - Please Take notice of Following:
/// Collections must be Represented as ::Before :not .collection
/// .warning::before , .warning:not , .warning
///
/// Aim to use Hex Color scheme fo Background, Fonts and other sections.
/// To assure global viability of each browser.
/// Please Seperate new Collections by two Lines
/// Bracket endings with a line
///
/// Functionalities modifiable::
/// - content of each collection can be changed by using {: . ... title="NewTitle"}
/// For each collection, and should as well be used for any future ones represented.
///
/// TO DO: Assign Coloring On the basis of the Webs Current Theme such as Dark of Light!
// -------------COLLECTIONS-----------------//
// --- WARNING ----
// Use the following specifically to give out attention to some important notice or issue that may be occured or changed.
// The current one makes a Box, with either a Default or manual written Title top box
// Then a bottom box for the content that would be displayed under {: .warning } content..
.warning::before {
content: attr(title);
color: #ffffff;
background-color: #f0b37e;
margin: -15px -15px 15px;
display: block;
font-weight: bold;
font-size: 1.00em;
padding-bottom: 0.125rem;
padding: 6px 12px;
border-radius: 6px;
}
// If a specified Title is not defined by {: .warning title="newAWesomeTitle"}, then use default title, can also be empty!
.warning:not([title])::before {
content: "Warning !";
}
.warning {
position: relative;
border-radius: 6px;
background-color: #FFEDCB;
padding: 0.8rem;
left: 5px;
color: #404040;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
// --- ISSUE ----
// Use this specify a problem with the specified content or example, can be used for other contexts.
// Generates a Title element without a box at the top of the content written after {: .issue } content..
.issue::before {
content: attr(title);
color: #ffffff;
background-color: #f07e7e;
margin: -15px -15px 15px;
display: block;
font-weight: bold;
font-size: 1.00em;
padding-bottom: 0.125rem;
padding: 6px 12px;
border-radius: 6px;
}
// If a specified Title is not defined by {: .note title="newAWesomeTitle"}, then use default title, can also be used as "" Empty.
.issue:not([title])::before {
content: "Issue !";
}
.issue {
background: rgba(255, 125, 125, 0.2);
border-radius: 4px;
padding: 0.8rem;
left: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
// --- NEW ---
// Use this to specify new Updates, changes to code, documentation, versions etc.
// Generates a Title element without a box at the top of the content written after {: .new } content..
.new::before {
content: attr(title);
color: #ffffff;
display: block;
background-color: #1abc9c;
font-weight: bold;
font-size: 1.00em;
padding-bottom: 0.125rem;
margin: -15px -15px 15px;
padding: 6px 12px;
border-radius: 6px;
}
// If a specified Title is not defined by {: .note title="newAWesomeTitle"}, then use default title, can also be used as "" Empty.
.new:not([title])::before {
content: "New !";
}
.new {
background: rgba(10, 207, 167, 0.38);
border-radius: 4px;
padding: 0.8rem;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
// ----IMPORTANT-------
// Use this to specify an important resource of context before using the given content, or use this as a reminder to the reader what they
// should keep in mind with the given information, etc.
// Generates a Title elements without a box at the top of the content written after {: .important } content..
.important::before {
content: attr(title);
color: #dd2e2e;
display: block;
font-weight: bold;
text-transform: uppercase;
font-size: 0.75em;
padding-bottom: 0.125rem;
}
// If a specified Title is not defined by {: .important title="newAWesomeTitle"}, then use default title, can also be used as "" Empty.
.important:not([title])::before {
content: "Important!";
}
.important {
background: rgb(255 125 125 / 20%);
border-left: 4px solid #dd2e2e;
border-radius: 4px;
padding: 0.8rem;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
// ----NOTE----
// Use this to specify some context that the reader should focus on for the given changes or content that should be read before continuing
// Can as well be used to specify any other important context, that the reader should take of notice.
// Generates a Title element without a box at the top of the content written after {: .note } content..
.note::before {
content: attr(title);
color: #7b56d2;
display: block;
font-weight: bold;
text-transform: uppercase;
font-size: 0.75em;
padding-bottom: 0.125rem;
}
// If a specified Title is not defined by {: .note title="newAWesomeTitle"}, then use default title, can also be used as "" Empty.
.note:not([title])::before {
content: "Note:";
}
.note {
background: rgba(44, 132, 250, 0.2);
border-left: 4px solid #183385;
border-radius: 4px;
padding: 0.8rem;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
// --- FURTHER READING ----
// Additional context to the given content, what the reader could read to better understand the given text.
// Generates a Title element without a box at the top of the content written after {: .further-reading } content..
.further-reading::before {
content: attr(title);
color: #7854cc;
display: block;
font-weight: bold;
text-transform: uppercase;
font-size: 0.75em;
padding-bottom: 0.125rem;
}
// If a specified Title is not defined by {: .note title="newAWesomeTitle"}, then use default title, can also be used as "" Empty.
.further-reading:not([title])::before {
content: "Further Reading:";
}
.further-reading {
background: rgba(114, 83, 237, 0.2);
border-left: 4px solid #381885;
border-radius: 4px;
padding: 0.8rem;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
// --- EXAMPLE ---
// Specify and use the following to explain a section of the content use cases
// Generates a Title element without a box at the top of the content written after {: .new } content..
.example {
position: relative;
border-radius: 5px;
background: rgba(114, 83, 237, 0.2);
padding: 0.8rem;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.example::before {
content: "Example:";
color: #7b56d2;
display: block;
font-weight: bold;
text-transform: uppercase;
font-size: 0.75em;
padding-bottom: 0.125rem;
}
// If a specified Title is not defined by {: .note title="newAWesomeTitle"}, then use default title, can also be used as "" Empty.
.example:not([title])::before {
content: "Example:";
}
// -----CODE--------
// Use the following to assign Titles to CodeBlocks
// Alternativly can be used by its own Creating a border on the left of Purple
// Though won't be rendered as a codeblock itself, would be used for Specific 1 line examples
.code::before {
content: attr(title);
color: #7b56d2;
display: block;
font-weight: bold;
text-transform: uppercase;
font-size: 0.75em;
padding-bottom: 0.125rem;
}
// If a specified Title is not defined by {: .code title="newAWesomeTitle"}, then use default title Code.
.code:not([title])::before {
content: "Code:";
}
.code {
position: relative;
padding: 0.8rem;
border-radius: 5px;
border-left: 4px solid #800080;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
background-color: $code-background-color;
}