Skip to content

Instantly share code, notes, and snippets.

@Envl
Envl / jike
Last active October 21, 2020 07:23
let progress, multi
// progress = true //注释这行将关闭今日进度
// multi = true // 注释这行则只展示最新一条动态
function splice(txt, start, delCount, newSubStr) {
return (
txt.slice(0, start) +
(newSubStr ? newSubStr : '') +
txt.slice(start + Math.abs(delCount))
@Envl
Envl / flomo21.user.js
Last active September 4, 2020 22:17
get flomo21
// ==UserScript==
// @name Flomo21
// @version 0.1
// @description Dark mode support for flomo.app
// @author GnimOay
// @match https://flomo.app/*
// ==/UserScript==
(function() {
'use strict';
@Envl
Envl / flomo-dark-mode.css
Last active November 15, 2020 23:36
使用Stylus之类浏览器插件导入即可
:root {
--yellow: #ca9f5e;
--bg-card: #3e3e48;
--base: #333340;
--txt: #d9d9d9;
--border: #5d5d5d;
--green: #55bb8e;
}
.body {
@Envl
Envl / web.okjike.com
Last active July 27, 2020 13:05
在 Stylus 之类的插件里把样式应用到以 https://web.okjike.com/ 开头的 URL 就行了
.cMxGlg {
padding: 0;
}
.cMxGlg article {
/* background: red!important; */
border-radius: 0;
padding: .8rem 1rem 0;
/* margin:0; */
}
@Envl
Envl / Wolley Styled 20200303
Created March 3, 2020 15:02
Custom style for wolley.io
@-moz-document domain("wolley.io") {
.header{
height:auto;
box-shadow: #9b9b9b 0px -2px 6px 0px;
}
.header .inner{
border:none;
}
.meta .by{