Compare commits
No commits in common. "master" and "20230102" have entirely different histories.
616 changed files with 20829 additions and 35041 deletions
|
@ -1 +0,0 @@
|
||||||
last 5 versions, not dead
|
|
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -1 +1,3 @@
|
||||||
* text=auto
|
* text=auto
|
||||||
|
/msz text eol=lf
|
||||||
|
*.sh text eol=lf
|
||||||
|
|
13
.gitignore
vendored
13
.gitignore
vendored
|
@ -1,22 +1,15 @@
|
||||||
# Assets
|
|
||||||
/public/assets
|
|
||||||
/assets/current.json
|
|
||||||
|
|
||||||
# Libraries
|
# Libraries
|
||||||
/vendor
|
/vendor
|
||||||
/node_modules
|
/node_modules
|
||||||
/npm-debug.log
|
/npm-debug.log
|
||||||
/yarn-error.log
|
/yarn-error.log
|
||||||
/lib/index-dev
|
|
||||||
/composer.local.json
|
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
/config/config.cfg
|
|
||||||
/config/github.cfg
|
|
||||||
/config/config.ini
|
/config/config.ini
|
||||||
/config/github.ini
|
/config/github.ini
|
||||||
/.debug
|
/.debug
|
||||||
/.migrating
|
/.migrating
|
||||||
|
/lib/index-dev
|
||||||
|
|
||||||
# Storage
|
# Storage
|
||||||
/store
|
/store
|
||||||
|
@ -45,7 +38,3 @@
|
||||||
|
|
||||||
# Google
|
# Google
|
||||||
/public/robots.txt
|
/public/robots.txt
|
||||||
|
|
||||||
# moguu?
|
|
||||||
/public/moguu.swf
|
|
||||||
/public/moguu.html
|
|
||||||
|
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "lib/index"]
|
||||||
|
path = lib/index
|
||||||
|
url = https://git.flash.moe/flash/index.git
|
221
LICENSE
221
LICENSE
|
@ -1,30 +1,201 @@
|
||||||
Copyright (c) 2017-2024, flashwave <me@flash.moe>
|
Apache License
|
||||||
All rights reserved.
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
modification, are permitted (subject to the limitations in the disclaimer
|
|
||||||
below) provided that the following conditions are met:
|
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice,
|
1. Definitions.
|
||||||
this list of conditions and the following disclaimer.
|
|
||||||
|
|
||||||
* Redistributions in binary form must reproduce the above copyright
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
notice, this list of conditions and the following disclaimer in the
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
documentation and/or other materials provided with the distribution.
|
|
||||||
|
|
||||||
* Neither the name of the copyright holder nor the names of its
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
contributors may be used to endorse or promote products derived from this
|
the copyright owner that is granting the License.
|
||||||
software without specific prior written permission.
|
|
||||||
|
|
||||||
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
other entities that control, are controlled by, or are under common
|
||||||
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
control with that entity. For the purposes of this definition,
|
||||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
direction or management of such entity, whether by contract or
|
||||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
|
||||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
exercising permissions granted by this License.
|
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
POSSIBILITY OF SUCH DAMAGE.
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright 2017-2022 flashwave <me@flash.moe>
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
> Misuzu can and will steal your lunch money.
|
> Misuzu can and will steal your lunch money.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
- PHP 8.2 (64-bit)
|
- PHP 8.1
|
||||||
- MariaDB 10.6
|
- MariaDB 10.6
|
||||||
- [Composer](https://getcomposer.org/)
|
- [Composer](https://getcomposer.org/)
|
||||||
|
|
||||||
|
## Important
|
||||||
|
|
||||||
|
DON'T RUN ANYTHING IN THE `devel` FOLDER IN PRODUCTION UNLESS YOU SERIOUSLY WANT TO FUCK EVERYTHING UP.
|
||||||
|
|
7
Vagrantfile
vendored
Normal file
7
Vagrantfile
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Vagrant.configure("2") do |config|
|
||||||
|
config.vm.box = "ubuntu/focal64"
|
||||||
|
config.vm.network "forwarded_port", guest: 80, host: 10080
|
||||||
|
config.vm.network "forwarded_port", guest: 443, host: 10443
|
||||||
|
config.vm.network "forwarded_port", guest: 3306, host: 13306
|
||||||
|
config.vm.provision :shell, path: "devel/setup-devbox.sh"
|
||||||
|
end
|
6
assets/README.md
Normal file
6
assets/README.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Misuzu Assets
|
||||||
|
|
||||||
|
Subdirectories of the `css` and `js` folder are accessible through the web as `example.com/assets/<subdirectory>.<directory>`.
|
||||||
|
Meaning `/assets/js/misuzu` is accessible as `/assets/misuzu.js`.
|
||||||
|
Files are concatenated recursively, files first then directories in alphabetical order.
|
||||||
|
Use `_` prefixes to raise things up.
|
|
@ -1,108 +0,0 @@
|
||||||
const fs = require('fs');
|
|
||||||
const path = require('path');
|
|
||||||
const readline = require('readline');
|
|
||||||
const utils = require('./utils.js');
|
|
||||||
|
|
||||||
exports.process = async function(root, options) {
|
|
||||||
const macroPrefix = options.prefix || '#';
|
|
||||||
const entryPoint = options.entry || '';
|
|
||||||
|
|
||||||
root = fs.realpathSync(root);
|
|
||||||
|
|
||||||
const included = [];
|
|
||||||
|
|
||||||
const processFile = async function(fileName) {
|
|
||||||
const fullPath = path.join(root, fileName);
|
|
||||||
if(included.includes(fullPath))
|
|
||||||
return '';
|
|
||||||
included.push(fullPath);
|
|
||||||
|
|
||||||
if(!fullPath.startsWith(root))
|
|
||||||
return '/* *** INVALID PATH: ' + fullPath + ' */';
|
|
||||||
if(!fs.existsSync(fullPath))
|
|
||||||
return '/* *** FILE NOT FOUND: ' + fullPath + ' */';
|
|
||||||
|
|
||||||
const lines = readline.createInterface({
|
|
||||||
input: fs.createReadStream(fullPath),
|
|
||||||
crlfDelay: Infinity,
|
|
||||||
});
|
|
||||||
|
|
||||||
let output = '';
|
|
||||||
let lastWasEmpty = false;
|
|
||||||
|
|
||||||
if(options.showPath)
|
|
||||||
output += "/* *** PATH: " + fullPath + " */\n";
|
|
||||||
|
|
||||||
for await(const line of lines) {
|
|
||||||
const lineTrimmed = utils.trim(line);
|
|
||||||
if(lineTrimmed === '')
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if(line.startsWith(macroPrefix)) {
|
|
||||||
const args = lineTrimmed.split(' ');
|
|
||||||
const macro = utils.trim(utils.trimStart(args.shift(), macroPrefix));
|
|
||||||
|
|
||||||
switch(macro) {
|
|
||||||
case 'comment':
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'include': {
|
|
||||||
const includePath = utils.trimEnd(args.join(' '), ';');
|
|
||||||
output += utils.trim(await processFile(includePath));
|
|
||||||
output += "\n";
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
case 'buildvars':
|
|
||||||
if(typeof options.buildVars === 'object') {
|
|
||||||
const bvTarget = options.buildVarsTarget || 'window';
|
|
||||||
const bvProps = [];
|
|
||||||
|
|
||||||
for(const bvName in options.buildVars)
|
|
||||||
bvProps.push(`${bvName}: { value: ${JSON.stringify(options.buildVars[bvName])}, writable: false }`);
|
|
||||||
|
|
||||||
if(Object.keys(bvProps).length > 0)
|
|
||||||
output += `Object.defineProperties(${bvTarget}, { ${bvProps.join(', ')} });\n`;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
output += line;
|
|
||||||
output += "\n";
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
output += line;
|
|
||||||
output += "\n";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return output;
|
|
||||||
};
|
|
||||||
|
|
||||||
return await processFile(entryPoint);
|
|
||||||
};
|
|
||||||
|
|
||||||
exports.housekeep = function(assetsPath) {
|
|
||||||
const files = fs.readdirSync(assetsPath).map(fileName => {
|
|
||||||
const stats = fs.statSync(path.join(assetsPath, fileName));
|
|
||||||
return {
|
|
||||||
name: fileName,
|
|
||||||
lastMod: stats.mtimeMs,
|
|
||||||
};
|
|
||||||
}).sort((a, b) => b.lastMod - a.lastMod).map(info => info.name);
|
|
||||||
|
|
||||||
const regex = /^(.+)[\-\.]([a-f0-9]+)\.(.+)$/i;
|
|
||||||
const counts = {};
|
|
||||||
|
|
||||||
for(const fileName of files) {
|
|
||||||
const match = fileName.match(regex);
|
|
||||||
if(match) {
|
|
||||||
const name = match[1] + '-' + match[3];
|
|
||||||
counts[name] = (counts[name] || 0) + 1;
|
|
||||||
|
|
||||||
if(counts[name] > 5)
|
|
||||||
fs.unlinkSync(path.join(assetsPath, fileName));
|
|
||||||
} else console.log(`Encountered file name in assets folder with unexpected format: ${fileName}`);
|
|
||||||
}
|
|
||||||
};
|
|
96
assets/css/misuzu/_msz.css
Normal file
96
assets/css/misuzu/_msz.css
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
position: relative;
|
||||||
|
outline-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
html,
|
||||||
|
body {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
[hidden],
|
||||||
|
.hidden {
|
||||||
|
display: none !important;
|
||||||
|
visibility: hidden !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--font-size: 12px;
|
||||||
|
--line-height: 20px;
|
||||||
|
--font-regular: Verdana, Geneva, 'Dejavu Sans', Arial, Helvetica, sans-serif;
|
||||||
|
--font-monospace: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
||||||
|
|
||||||
|
--site-max-width: 1200px;
|
||||||
|
--site-mobile-width: 800px;
|
||||||
|
--site-logo: url('/images/logos/imouto-default.png');
|
||||||
|
|
||||||
|
--header-height-desktop: 70px;
|
||||||
|
--header-height-mobile: 50px;
|
||||||
|
|
||||||
|
--background-image: initial;
|
||||||
|
--background-colour: #111;
|
||||||
|
--background-colour-translucent-1: rgba(17, 17, 17, 0.1);
|
||||||
|
--background-colour-translucent-2: rgba(17, 17, 17, 0.2);
|
||||||
|
--background-colour-translucent-3: rgba(17, 17, 17, 0.3);
|
||||||
|
--background-colour-translucent-4: rgba(17, 17, 17, 0.4);
|
||||||
|
--background-colour-translucent-5: rgba(17, 17, 17, 0.5);
|
||||||
|
--background-colour-translucent-6: rgba(17, 17, 17, 0.6);
|
||||||
|
--background-colour-translucent-7: rgba(17, 17, 17, 0.7);
|
||||||
|
--background-colour-translucent-8: rgba(17, 17, 17, 0.8);
|
||||||
|
--background-colour-translucent-9: rgba(17, 17, 17, 0.9);
|
||||||
|
--background-pattern: url('/images/clouds.png') fixed;
|
||||||
|
|
||||||
|
--container-colour: #161616;
|
||||||
|
|
||||||
|
--text-colour: #fff;
|
||||||
|
--text-colour-inverted: #000;
|
||||||
|
|
||||||
|
--user-colour: inherit;
|
||||||
|
--user-header: url('/images/pixel.png');
|
||||||
|
--accent-colour: #8559a5;
|
||||||
|
--header-accent-colour: var(--accent-colour);
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
scrollbar-color: var(--accent-colour) var(--background-colour);
|
||||||
|
}
|
||||||
|
|
||||||
|
.main {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
background-image: var(--background-image);
|
||||||
|
background-color: var(--background-colour);
|
||||||
|
font-size: var(--font-size);
|
||||||
|
line-height: var(--line-height);
|
||||||
|
font-family: var(--font-regular);
|
||||||
|
color: var(--text-colour);
|
||||||
|
background-attachment: fixed;
|
||||||
|
background-position: center center;
|
||||||
|
}
|
||||||
|
.main__wrapper {
|
||||||
|
max-width: var(--site-max-width);
|
||||||
|
width: 100%;
|
||||||
|
margin: 0 auto;
|
||||||
|
flex: 1 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main--bg-blend {
|
||||||
|
background-color: var(--accent-colour);
|
||||||
|
background-blend-mode: multiply;
|
||||||
|
}
|
||||||
|
.main--bg-slide { animation: background-slide infinite linear 2s; }
|
||||||
|
.main--bg-cover { background-size: cover; }
|
||||||
|
.main--bg-contain { background-size: contain; }
|
||||||
|
.main--bg-stretch { background-size: 100% 100%; }
|
||||||
|
.main--bg-tile { background-size: auto; }
|
||||||
|
|
||||||
|
.link {
|
||||||
|
color: var(--accent-colour);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.link:hover, .link:focus { text-decoration: underline; }
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
.container {
|
.container {
|
||||||
background-color: var(--container-colour);
|
background-color: var(--container-colour);
|
||||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
|
||||||
|
text-shadow: 0 1px 4px #000;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
|
@ -139,7 +139,7 @@
|
||||||
.forum__category__activity {
|
.forum__category__activity {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
min-width: 270px;
|
min-width: 270px;
|
||||||
line-height: 1.4em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
.forum__category__activity__none,
|
.forum__category__activity__none,
|
||||||
.forum__category__activity__details {
|
.forum__category__activity__details {
|
||||||
|
@ -171,7 +171,6 @@
|
||||||
color: var(--user-colour);
|
color: var(--user-colour);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
pointer-events: initial;
|
pointer-events: initial;
|
||||||
display: block;
|
|
||||||
}
|
}
|
||||||
.forum__category__username:hover,
|
.forum__category__username:hover,
|
||||||
.forum__category__username:focus {
|
.forum__category__username:focus {
|
||||||
|
@ -230,7 +229,4 @@
|
||||||
.forum__category__avatar {
|
.forum__category__avatar {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.forum__category__username {
|
}
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -46,11 +46,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.forum__post__text {
|
.forum__post__text {
|
||||||
padding: 2px;
|
margin: 2px;
|
||||||
line-height: 1.4em;
|
line-height: 1.2em;
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.forum__post__text--edit {
|
.forum__post__text--edit {
|
||||||
|
/* figure out why this is needed */
|
||||||
|
max-width: calc(100% - 4px);
|
||||||
|
min-width: calc(100% - 4px);
|
||||||
margin: 2px 2px 0;
|
margin: 2px 2px 0;
|
||||||
min-height: 400px;
|
min-height: 400px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -62,12 +66,6 @@
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.forum__post__text img {
|
|
||||||
vertical-align: middle;
|
|
||||||
max-width: 100%;
|
|
||||||
max-height: 900px
|
|
||||||
}
|
|
||||||
|
|
||||||
.forum__post__info__content {
|
.forum__post__info__content {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -154,9 +152,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.forum__post__action {
|
.forum__post__action {
|
||||||
background-color: transparent;
|
|
||||||
border: 0;
|
|
||||||
display: block;
|
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
@ -178,8 +173,6 @@
|
||||||
}
|
}
|
||||||
.forum__post__signature img {
|
.forum__post__signature img {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
max-width: 100%;
|
|
||||||
max-height: 150px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.forum__post__badge {
|
.forum__post__badge {
|
|
@ -146,14 +146,9 @@
|
||||||
}
|
}
|
||||||
.header__desktop__user__button__count {
|
.header__desktop__user__button__count {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -5px;
|
bottom: 1px;
|
||||||
right: -3px;
|
right: 1px;
|
||||||
z-index: 1;
|
font-size: 10px;
|
||||||
font-size: .5em;
|
|
||||||
line-height: 1.4em;
|
|
||||||
text-align: right;
|
|
||||||
padding: 2px 2px 0;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: var(--header-accent-colour);
|
background-color: var(--header-accent-colour);
|
||||||
opacity: .9;
|
opacity: .9;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
@ -229,6 +224,7 @@
|
||||||
background-blend-mode: multiply;
|
background-blend-mode: multiply;
|
||||||
transition: max-height .2s;
|
transition: max-height .2s;
|
||||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
|
||||||
|
text-shadow: 0 1px 4px #000;
|
||||||
max-height: 0;
|
max-height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
25
assets/css/misuzu/manage/_manage.css
Normal file
25
assets/css/misuzu/manage/_manage.css
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
.manage {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.manage__sidebar {
|
||||||
|
flex: 0 0 auto;
|
||||||
|
width: 280px;
|
||||||
|
}
|
||||||
|
.manage__content {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
}
|
||||||
|
.manage__description {
|
||||||
|
font-size: .9em;
|
||||||
|
margin: 1px 2px;
|
||||||
|
border-bottom: 1px solid var(--accent-colour);
|
||||||
|
padding: 2px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 800px) {
|
||||||
|
.manage {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
.manage__sidebar {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
.manage__role-item {
|
.manage__role-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
text-shadow: 0 1px 4px #000;
|
||||||
box-shadow: 0 1px 4px #000A;
|
box-shadow: 0 1px 4px #000A;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
@ -37,7 +38,6 @@
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
box-shadow: 0 1px 4px #111;
|
box-shadow: 0 1px 4px #111;
|
||||||
text-shadow: 0 1px 4px #000;
|
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
|
@ -36,13 +36,10 @@
|
||||||
.manage-list-setting-type--string {
|
.manage-list-setting-type--string {
|
||||||
--type-colour: #ef8323;
|
--type-colour: #ef8323;
|
||||||
}
|
}
|
||||||
.manage-list-setting-type--int {
|
.manage-list-setting-type--integer {
|
||||||
--type-colour: #8c90bc;
|
--type-colour: #8c90bc;
|
||||||
}
|
}
|
||||||
.manage-list-setting-type--float {
|
.manage-list-setting-type--boolean {
|
||||||
--type-colour: #cb09c8;
|
|
||||||
}
|
|
||||||
.manage-list-setting-type--bool {
|
|
||||||
--type-colour: #77b34c;
|
--type-colour: #77b34c;
|
||||||
}
|
}
|
||||||
.manage-list-setting-type--array {
|
.manage-list-setting-type--array {
|
||||||
|
@ -51,6 +48,7 @@
|
||||||
.manage-list-setting-type-text {
|
.manage-list-setting-type-text {
|
||||||
background: var(--type-colour);
|
background: var(--type-colour);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
text-shadow: initial;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
font-size: .9em;
|
font-size: .9em;
|
|
@ -9,12 +9,6 @@
|
||||||
}
|
}
|
||||||
.manage__statistic__value {
|
.manage__statistic__value {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-size: 1.4em;
|
font-size: 1.5em;
|
||||||
line-height: 1.5em;
|
line-height: 2em;
|
||||||
}
|
|
||||||
.manage__statistic__updated {
|
|
||||||
text-align: right;
|
|
||||||
font-size: .9em;
|
|
||||||
font-style: italic;
|
|
||||||
line-height: 1.5em;
|
|
||||||
}
|
}
|
|
@ -1,14 +1,9 @@
|
||||||
.manage__statistics {
|
.manage__statistics {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
grid-gap: 5px;
|
grid-gap: 5px;
|
||||||
}
|
}
|
||||||
@media (max-width: 1100px) {
|
|
||||||
.manage__statistics {
|
|
||||||
grid-template-columns: 1fr 1fr 1fr;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
.manage__statistics {
|
.manage__statistics {
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
|
@ -1,5 +1,6 @@
|
||||||
.manage__user-item {
|
.manage__user-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
text-shadow: 0 1px 4px #000;
|
||||||
box-shadow: 0 1px 4px #000A;
|
box-shadow: 0 1px 4px #000A;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
@ -59,7 +60,6 @@
|
||||||
.manage__user-item__name {
|
.manage__user-item__name {
|
||||||
font-size: 1.4em;
|
font-size: 1.4em;
|
||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
max-width: 600px; /* whatever */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.manage__user-item__details {
|
.manage__user-item__details {
|
|
@ -53,6 +53,7 @@
|
||||||
.markdown code {
|
.markdown code {
|
||||||
padding: .2em .4em;
|
padding: .2em .4em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
background-color: rgba(0, 0, 0, .7);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
.markdown del code { text-decoration: inherit; }
|
.markdown del code { text-decoration: inherit; }
|
||||||
|
@ -64,6 +65,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
background: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,5 +17,4 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
gap: 5px;
|
|
||||||
}
|
}
|
129
assets/css/misuzu/news/preview.css
Normal file
129
assets/css/misuzu/news/preview.css
Normal file
|
@ -0,0 +1,129 @@
|
||||||
|
.news__preview {
|
||||||
|
display: flex;
|
||||||
|
margin: 2px 0;
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
|
||||||
|
--user-colour: var(--accent-colour);
|
||||||
|
}
|
||||||
|
.news__preview__info__content {
|
||||||
|
width: 200px;
|
||||||
|
text-align: center;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 15px;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
margin-right: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news__preview__info__background {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
mask-image: linear-gradient(90deg, transparent 10%, var(--background-colour) 100%);
|
||||||
|
-webkit-mask-image: linear-gradient(90deg, transparent 10%, var(--background-colour) 100%);
|
||||||
|
background: var(--background-pattern);
|
||||||
|
background-color: var(--user-colour);
|
||||||
|
background-blend-mode: multiply;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news__preview__listing {
|
||||||
|
flex-grow: 1;
|
||||||
|
flex-shrink: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news__preview__container {
|
||||||
|
display: flex;
|
||||||
|
margin: 1px;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news__preview__user {
|
||||||
|
display: flex;
|
||||||
|
text-align: left;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
.news__preview__user__details {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news__preview__avatar {
|
||||||
|
width: 60px;
|
||||||
|
height: 60px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news__preview__username {
|
||||||
|
color: inherit;
|
||||||
|
font-size: 1.4em;
|
||||||
|
line-height: 1.5em;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.news__preview__username[href]:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news__preview__date {
|
||||||
|
font-size: 1.1em;
|
||||||
|
line-height: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news__preview__category {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 1.1em;
|
||||||
|
line-height: 1.5em;
|
||||||
|
margin: 6px 0;
|
||||||
|
}
|
||||||
|
.news__preview__category:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news__preview__content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
line-height: 1.2em;
|
||||||
|
flex: 1 1 auto;
|
||||||
|
word-wrap: break-word;
|
||||||
|
overflow: hidden;
|
||||||
|
margin: 2px;
|
||||||
|
padding: 0 10px 10px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news__preview__text {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news__preview__links {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news__preview__link {
|
||||||
|
font-size: .9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 800px) {
|
||||||
|
.news__preview { flex-direction: column-reverse; }
|
||||||
|
.news__preview__info { display: none; }
|
||||||
|
.news__preview__info__content {
|
||||||
|
width: 100%;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.news__preview__info__background {
|
||||||
|
mask-image: linear-gradient(180deg, transparent 10%, var(--background-colour) 100%);
|
||||||
|
-webkit-mask-image: linear-gradient(180deg, transparent 10%, var(--background-colour) 100%);
|
||||||
|
}
|
||||||
|
.news__preview__user {
|
||||||
|
margin-bottom: 0;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
.news__preview__avatar {
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
}
|
|
@ -144,6 +144,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile__header__username {
|
.profile__header__username {
|
||||||
|
color: var(--user-colour);
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
10
assets/css/misuzu/profile/relations.css
Normal file
10
assets/css/misuzu/profile/relations.css
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
.profile__relations {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.profile__relations__user {
|
||||||
|
margin: 2px;
|
||||||
|
width: 300px;
|
||||||
|
display: flex;
|
||||||
|
}
|
139
assets/css/misuzu/profile/warning.css
Normal file
139
assets/css/misuzu/profile/warning.css
Normal file
|
@ -0,0 +1,139 @@
|
||||||
|
.profile__warning {
|
||||||
|
margin: 2px;
|
||||||
|
border-radius: 2px;
|
||||||
|
border: 1px solid var(--accent-colour);
|
||||||
|
}
|
||||||
|
.profile__warning__container {
|
||||||
|
margin: 2px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning--warning {
|
||||||
|
--accent-colour: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning--silence {
|
||||||
|
--accent-colour: #f70;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning--ban {
|
||||||
|
--accent-colour: #c33;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning--extendo {
|
||||||
|
margin: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning__background {
|
||||||
|
background-color: var(--accent-colour);
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning__content {
|
||||||
|
background-color: var(--background-colour-translucent-9);
|
||||||
|
display: flex;
|
||||||
|
padding: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning__type,
|
||||||
|
.profile__warning__created,
|
||||||
|
.profile__warning__duration {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning__type {
|
||||||
|
min-width: 80px;
|
||||||
|
background-color: var(--accent-colour);
|
||||||
|
border-radius: 1px;
|
||||||
|
padding: 0 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning__created,
|
||||||
|
.profile__warning__duration {
|
||||||
|
min-width: 100px;
|
||||||
|
padding: 0 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning__note {
|
||||||
|
padding: 1px 4px;
|
||||||
|
flex: 1 1 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning__private {
|
||||||
|
border-top: 1px solid var(--accent-colour);
|
||||||
|
margin-top: 1px;
|
||||||
|
width: 100%;
|
||||||
|
opacity: .5;
|
||||||
|
transition: opacity .2s;
|
||||||
|
}
|
||||||
|
.profile__warning__private:hover,
|
||||||
|
.profile__warning__private:active,
|
||||||
|
.profile__warning__private:focus {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning__tools {
|
||||||
|
display: flex;
|
||||||
|
padding-bottom: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning__options {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning__option {
|
||||||
|
padding: 2px 5px;
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning__user {
|
||||||
|
display: flex;
|
||||||
|
padding: 2px;
|
||||||
|
min-width: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning__user__avatar {
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning__user__username {
|
||||||
|
padding: 0 5px;
|
||||||
|
min-width: 60px;
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.profile__warning__user__username:hover,
|
||||||
|
.profile__warning__user__username:focus,
|
||||||
|
.profile__warning__user__username:active {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile__warning__user__ip {
|
||||||
|
display: inline-flex;
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
.profile__warning__user__ip:before { content: "("; }
|
||||||
|
.profile__warning__user__ip:after { content: ")"; }
|
||||||
|
|
||||||
|
|
||||||
|
@media (max-width: 800px) {
|
||||||
|
.profile__warning__content {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
.profile__warning__tools {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
.profile__warning__options {
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
}
|
|
@ -8,6 +8,7 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: var(--accent-colour);
|
background-color: var(--accent-colour);
|
||||||
box-shadow: 0 1px 2px #000A;
|
box-shadow: 0 1px 2px #000A;
|
||||||
|
text-shadow: 0 1px 4px #000;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
|
@ -1,6 +1,7 @@
|
||||||
.search__input {
|
.search__input {
|
||||||
background-color: var(--accent-colour);
|
background-color: var(--accent-colour);
|
||||||
box-shadow: 0 1px 2px #000A;
|
box-shadow: 0 1px 2px #000A;
|
||||||
|
text-shadow: 0 1px 4px #000;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
|
@ -1,10 +1,6 @@
|
||||||
.settings__account-logs__pagination {
|
.settings__account-logs__pagination {
|
||||||
margin: 4px;
|
margin: 4px;
|
||||||
}
|
}
|
||||||
.settings__account-logs__none {
|
|
||||||
padding: 2px 5px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.settings__account-log {
|
.settings__account-log {
|
||||||
border: 1px solid var(--accent-colour);
|
border: 1px solid var(--accent-colour);
|
||||||
|
@ -47,6 +43,7 @@
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font: inherit;
|
font: inherit;
|
||||||
|
text-shadow: inherit;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: color .2s;
|
transition: color .2s;
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue