Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 4f1a67f

Browse files
committed
feat(client): remove hatena
1 parent bd6b30e commit 4f1a67f

File tree

8 files changed

+8
-32
lines changed

8 files changed

+8
-32
lines changed

packages/client/assets/style/code.css

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
pre {
88
background: var(--color-white);
9+
border: 1px solid rgba(0, 20, 80, 0.1);
10+
-webkit-box-shadow: 0 8px 16px rgba(0, 20, 80, 0.04), 0 4px 16px rgba(0, 0, 0, 0.08);
11+
box-shadow: 0 8px 16px rgba(0, 20, 80, 0.04), 0 4px 16px rgba(0, 0, 0, 0.08);
912
border-radius: 10px;
1013
min-width: 50%;
1114
max-width: 100%;
@@ -16,10 +19,6 @@ code {
1619
font-family: 'Source Code Pro', monospace;
1720
}
1821

19-
pre[class*='language-'] {
20-
margin: 0.5em auto !important;
21-
}
22-
2322
.token.operator {
2423
background: inherit;
2524
}

packages/client/assets/style/common.css

-7
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,6 @@ hr:after {
178178
color: #333;
179179
}
180180

181-
pre {
182-
background: #fff;
183-
border: 1px solid rgba(0, 20, 80, 0.1);
184-
-webkit-box-shadow: 0 8px 16px rgba(0, 20, 80, 0.04), 0 4px 16px rgba(0, 0, 0, 0.08);
185-
box-shadow: 0 8px 16px rgba(0, 20, 80, 0.04), 0 4px 16px rgba(0, 0, 0, 0.08);
186-
}
187-
188181
nav ul {
189182
display: -webkit-box;
190183
display: -ms-flexbox;

packages/client/assets/style/customize.css

-6
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
display: none;
77
}
88

9-
.fa-hatena:before {
10-
content: 'B!';
11-
font-family: Verdana;
12-
font-weight: bold;
13-
}
14-
159
.qr {
1610
width: 320px;
1711
height: 320px;
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* https://nodejs.org/ */
22

33
:root {
4-
--title-color: #43853d;
4+
--title-color: #99cc7d;
55
--base-color: #f2f2f2;
66
--background-color: #2c3437;
7-
--link-color: #026e00;
7+
--link-color: #84ba64;
88
}

packages/client/src/components/Sidebar.js

-9
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,6 @@ export const Sidebar = memo(
3535
</a>
3636
);
3737
}
38-
if (s === 'hatena') {
39-
return (
40-
<a
41-
key="hatena"
42-
href={`http://b.hatena.ne.jp/entry/${url}`}
43-
className="fa fa-hatena"
44-
/>
45-
);
46-
}
4738
})}
4839
</div>
4940
<div className="sidebar-control">

packages/fusuma/src/configs/fusumarc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const config = {
1818
title: null,
1919
thumbnail: null,
2020
description: null,
21-
sns: ['twitter'], // twitter | hatena
21+
sns: ['twitter'], // twitter
2222
},
2323
slide: {
2424
loop: false,

samples/themes/style.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ a {
7474
}
7575

7676
.node {
77-
--title-color: #43853d;
77+
--title-color: #99cc7d;
7878
--base-color: #f2f2f2;
7979
--background-color: #2c3437;
80-
--link-color: #026e00;
80+
--link-color: #84ba64;
8181

8282
& h1 {
8383
color: var(--title-color);

site/docs/guides/configuring-fusuma.md

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ meta:
1414
siteName: slides.hiroppy.me
1515
sns:
1616
- twitter
17-
- hatena
1817
slide:
1918
loop: true
2019
sidebar: true

0 commit comments

Comments
 (0)