Skip to content

linux.do by Attiv

Details

AuthorAttiv

LicenseNo License

Categoryuserstyles

Created

Updated

Size2.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A new userstyle

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           linux.do
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
==/UserStyle== */
@-moz-document url-prefix("https://linux.do") {
	/* linux.do 自定义主题 - 更新版 */
	/* 全局样式 */
	body {
		background-color: #F7EEDD;
		/* bg-100 */
		color: #000000;
		/* text-100 */
	}
	
	.sidebar-wrapper,.sidebar-footer-wrapper,.d-header {
		background-color: #F7EEDD;
	}
	
	.sidebar-footer-wrapper .sidebar-footer-container:before {
		background: transparent;
	}

	/* 导航栏 */
	.navbar {
		background-color: #FF7F50;
		/* primary-100 */
	}
	.navbar .nav-link {
		color: #F7EEDD;
		/* bg-100 */
	}
	.navbar .nav-link:hover {
		color: #ffd299;
		/* accent-200 */
	}

	/* 主要内容区 */
	.main-content {
		background-color: #ede4d3;
		/* bg-200 */
	}

	/* 标题 */
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		color: #FF7F50;
		/* primary-100 */
	}

	/* 按钮 */
	.btn-primary {
		background-color: #dd6236;
		/* primary-200 */
		border-color: #dd6236;
		/* primary-200 */
		color: #F7EEDD;
		/* bg-100 */
	}
	.btn-primary:hover {
		background-color: #8f1e00;
		/* primary-300 */
		border-color: #8f1e00;
		/* primary-300 */
	}

	/* 链接 */
	a {
		color: #8B4513;
		/* accent-100 */
	}
	a:hover {
		color: #dd6236;
		/* primary-200 */
	}

	/* 卡片 */
	.card {
		background-color: #F7EEDD;
		/* bg-100 */
		border-color: #c4bcab;
		/* bg-300 */
	}

	/* 表格 */
	table {
		background-color: #F7EEDD;
		/* bg-100 */
	}
	table th {
		background-color: #dd6236;
		/* primary-200 */
		color: #F7EEDD;
		/* bg-100 */
	}
	table tr:nth-child(even) {
		background-color: #ede4d3;
		/* bg-200 */
	}

	/* 表单 */
	input,
	select,
	textarea {
		background-color: #F7EEDD;
		/* bg-100 */
		border-color: #c4bcab;
		/* bg-300 */
		color: #2c2c2c;
		/* text-200 */
	}



	/* 页脚 */
	footer {
		background-color: #FF7F50;
		/* primary-100 */
		color: #F7EEDD;
		/* bg-100 */
	}
	.title {
		color: #8f1e00 !important;
	}

	.topic-excerpt {
		color: #FF7F50 !important;
	}
}

Reviews

No reviews yet.