Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Charlotte
Sharkey
Commits
3537b3de
Unverified
Commit
3537b3de
authored
6 years ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
Clean up
parent
ed645024
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
gulpfile.ts
+1
-3
1 addition, 3 deletions
gulpfile.ts
src/client/app/base.pug
+0
-3
0 additions, 3 deletions
src/client/app/base.pug
src/client/app/safe.js
+0
-10
0 additions, 10 deletions
src/client/app/safe.js
src/client/assets/code-highlight.css
+0
-93
0 additions, 93 deletions
src/client/assets/code-highlight.css
with
1 addition
and
109 deletions
gulpfile.ts
+
1
−
3
View file @
3537b3de
...
...
@@ -166,9 +166,7 @@ gulp.task('build:client:pug', [
.
pipe
(
pug
({
locals
:
{
themeColor
:
constants
.
themeColor
,
facss
:
fa
.
dom
.
css
(),
//hljscss: fs.readFileSync('./node_modules/highlight.js/styles/default.css', 'utf8')
hljscss
:
fs
.
readFileSync
(
'
./src/client/assets/code-highlight.css
'
,
'
utf8
'
)
facss
:
fa
.
dom
.
css
()
}
}))
.
pipe
(
htmlmin
({
...
...
This diff is collapsed.
Click to expand it.
src/client/app/base.pug
+
0
−
3
View file @
3537b3de
...
...
@@ -34,9 +34,6 @@ html
//- FontAwesome style
style #{facss}
//- highlight.js style
style #{hljscss}
body
noscript: p
| JavaScriptを有効にしてください
...
...
This diff is collapsed.
Click to expand it.
src/client/app/safe.js
+
0
−
10
View file @
3537b3de
...
...
@@ -12,16 +12,6 @@ if (!('fetch' in window)) {
'
To run Misskey, please update your browser to latest version or try other browsers.
'
);
}
// Detect Edge
if
(
navigator
.
userAgent
.
toLowerCase
().
indexOf
(
'
edge
'
)
!=
-
1
)
{
alert
(
'
現在、お使いのブラウザ(Microsoft Edge)ではMisskeyは正しく動作しません。
'
+
'
サポートしているブラウザ: Google Chrome, Mozilla Firefox, Apple Safari など
'
+
'
\n\n
'
+
'
Currently, Misskey cannot run correctly on your browser (Microsoft Edge).
'
+
'
Supported browsers: Google Chrome, Mozilla Firefox, Apple Safari, etc
'
);
}
// Check whether cookie enabled
if
(
!
navigator
.
cookieEnabled
)
{
alert
(
...
...
This diff is collapsed.
Click to expand it.
src/client/assets/code-highlight.css
deleted
100644 → 0
+
0
−
93
View file @
ed645024
.hljs
{
font-family
:
Consolas
,
'Courier New'
,
Courier
,
Monaco
,
monospace
;
}
.hljs
,
.hljs-subst
{
color
:
#444
;
}
.hljs-comment
{
color
:
#888888
;
}
.hljs-keyword
{
color
:
#2973b7
;
}
.hljs-number
{
color
:
#ae81ff
;
}
.hljs-string
{
color
:
#e96900
;
}
.hljs-regexp
{
color
:
#e9003f
;
}
.hljs-attribute
,
.hljs-selector-tag
,
.hljs-meta-keyword
,
.hljs-doctag
,
.hljs-name
{
font-weight
:
bold
;
}
.hljs-type
,
.hljs-selector-id
,
.hljs-selector-class
,
.hljs-quote
,
.hljs-template-tag
,
.hljs-deletion
{
color
:
#880000
;
}
.hljs-title
,
.hljs-section
{
color
:
#880000
;
font-weight
:
bold
;
}
.hljs-symbol
,
.hljs-variable
,
.hljs-template-variable
,
.hljs-link
,
.hljs-selector-attr
,
.hljs-selector-pseudo
{
color
:
#BC6060
;
}
/* Language color: hue: 90; */
.hljs-literal
{
color
:
#78A960
;
}
.hljs-built_in
,
.hljs-bullet
,
.hljs-code
,
.hljs-addition
{
color
:
#397300
;
}
/* Meta color: hue: 200 */
.hljs-meta
{
color
:
#1f7199
;
}
.hljs-meta-string
{
color
:
#4d99bf
;
}
/* Misc effects */
.hljs-emphasis
{
font-style
:
italic
;
}
.hljs-strong
{
font-weight
:
bold
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment