/*
Theme Name: Twenty Ten
Theme URI: https://wordpress.org/themes/twentyten/
Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar.
Author: the WordPress team
Author URI: https://wordpress.org/
Version: 4.5
Tested up to: 6.9
Requires at least: 3.0
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, two-columns, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu, flexible-header, featured-images, footer-widgets, featured-image-header, block-patterns
Text Domain: twentyten
*/

/* =Reset default browser CSS. Based on work by Eric Meyer.
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}

/* =Layout
-------------------------------------------------------------- */

/*
LAYOUT: Two columns
DESCRIPTION: Two-column fixed layout with one sidebar right of content
*/

#container {
	float: left;
	margin: 0 -240px 0 0;
	width: 100%;
}
#content {
	margin: 0 280px 0 20px;
}
#primary,
#project-sidebar {
	float: right;
	overflow: hidden;
	width: 220px;
}

#footer {
	clear: both;
	width: 100%;
}

/* =Fonts
-------------------------------------------------------------- */
body,
input,
textarea,
.page-title span {
	font-family: Georgia, "Bitstream Charter", serif;
}
h3#comments-title,
#site-info,
#site-title,
.entry-content label,
.entry-content tr th,
.entry-content thead th,
.entry-meta,
.entry-title,
.entry-utility,
.navigation,
.page-title,
.widget-title {
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
input[type="submit"] {
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
pre {
	font-family: "Courier 10 Pitch", Courier, monospace;
}
code {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

/* =Structure
-------------------------------------------------------------- */

/* The main theme structure */
#access .menu-header,
#colophon,
#branding,
#main,
#wrapper {
	margin: 0 auto;
	width: 940px;
}
#wrapper {
	background: #fff;
	margin-top: 20px;
	padding: 0 20px;
}

/* Structure the footer area */
#footer-widget-area {
	overflow: hidden;
}
#footer-widget-area .widget-area {
	float: left;
	margin-right: 20px;
	width: 220px;
}

#site-info {
	float: left;
	font-size: 14px;
	font-weight: bold;
	width: auto;
	max-width: 40%;
}
#site-generator {
	float: right;
	width: auto;
}

/* =Global Elements
-------------------------------------------------------------- */

/* Main global 'theme' and typographic styles */
body {
	background: #f1f1f1;
}
body,
input,
textarea {
	color: #666;
	font-size: 12px;
	line-height: 18px;
}
hr {
	background-color: #e7e7e7;
	border: 0;
	clear: both;
	height: 1px;
	margin-bottom: 18px;
}

/* Text elements */
p {
	margin-bottom: 18px;
}
ul {
	list-style: square;
	margin: 0 0 18px 1.5em;
}
ol {
	list-style: decimal;
	margin: 0 0 18px 1.5em;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul,
ol ol,
ul ol,
ol ul {
	margin-bottom: 0;
}
dl {
	margin: 0 0 24px 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 18px;
}
strong {
	font-weight: bold;
}
cite,
em,
i {
	font-style: italic;
}
big {
	font-size: 131.25%;
}
ins {
	background: #ffc;
	text-decoration: none;
}
blockquote {
	font-style: italic;
	padding: 0 3em;
}
blockquote cite,
blockquote em,
blockquote i {
	font-style: normal;
}
pre {
	background: #f7f7f7;
	color: #222;
	line-height: 18px;
	margin-bottom: 18px;
	overflow: auto;
	padding: 1.5em;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
sup,
sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: smaller;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
textarea {
	background: #f9f9f9;
	border: 1px solid #ccc;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	padding: 2px;
}
a:link {
	color: #0066cc;
}
a:visited {
	color: #743399;
}
a:active,
a:hover {
	color: #ff4b33;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip-path: inset(50%);
	overflow: hidden;
	position: absolute !important;
	height: 1px;
	width: 1px;
}

a.skip-link:focus {
	background-color: #ddd;
	clip-path: none;
	color: #333;
	display: block;
	font-size: 16px;
	height: auto;
	left: 5px;
	line-height: 1.5;
	padding: 16px 24px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* =Header
-------------------------------------------------------------- */

#header {
	padding: 30px 0 0 0;
}
#site-title {
	float: left;
	font-size: 30px;
	line-height: 36px;
	margin: 0 0 18px 0;
	width: 700px;
}
#site-title a {
	color: #000;
	font-weight: bold;
	text-decoration: none;
}
#site-description {
	clear: right;
	float: right;
	font-style: italic;
	margin: 15px 0 18px 0;
	width: 220px;
}

/* This is the custom header image */
#branding picture {
	display: block;
}
#branding img {
	border-top: 4px solid #000;
	border-bottom: 1px solid #000;
	display: block;
	float: left;
}

/* =Menu
-------------------------------------------------------------- */

#access {
	background: #000;
	display: block;
	float: left;
	margin: 0 auto;
	width: 940px;
}
#access .menu-header {
	font-size: 13px;
	margin-left: 12px;
	width: 928px;
}
#access .menu-header ul {
	list-style: none;
	margin: 0;
}
#access .menu-header li {
	float: left;
	position: relative;
}
#access a {
	color: #aaa;
	display: block;
	line-height: 38px;
	padding: 0 10px;
	text-decoration: none;
}
#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	position: absolute;
	top: 38px;
	left: 0;
	float: left;
	width: 180px;
	z-index: 99999;
}
#access ul ul li {
	min-width: 180px;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #333;
	line-height: 1em;
	padding: 10px;
	width: 160px;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #333;
	color: #fff;
}
#access ul li:hover > ul {
	display: block;
}
#access ul li.current_page_item > a {
	color: #fff;
}

/* =Content
-------------------------------------------------------------- */

#main {
	clear: both;
	overflow: hidden;
	padding: 40px 0 0 0;
}
#content {
	margin-bottom: 36px;
}
#content,
#content input,
#content textarea {
	color: #333;
	font-size: 16px;
	line-height: 24px;
}
#content p,
#content ul,
#content ol,
#content dd,
#content pre,
#content hr {
	margin-bottom: 24px;
}
#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul {
	margin-bottom: 0;
}
#content pre,
#content kbd,
#content tt,
#content var {
	font-size: 15px;
	line-height: 21px;
}
#content code {
	font-size: 13px;
}
#content dt,
#content th {
	color: #000;
}
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
	color: #000;
	line-height: 1.5em;
	margin: 0 0 20px 0;
}
#content table {
	border: 1px solid #e7e7e7;
	margin: 0 -1px 24px 0;
	text-align: left;
	width: 100%;
}
#content tr th,
#content thead th {
	color: #777;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	padding: 9px 24px;
}
#content tr td {
	border-top: 1px solid #e7e7e7;
	padding: 6px 24px;
}

.hentry {
	margin: 0 0 48px 0;
}

.single .hentry {
	margin: 0 0 36px 0;
}
.page-title {
	color: #000;
	font-size: 14px;
	font-weight: bold;
	margin: 0 0 36px 0;
}
.page-title span {
	color: #333;
	font-size: 16px;
	font-style: italic;
	font-weight: normal;
}
.page-title a:link,
.page-title a:visited {
	color: #777;
	text-decoration: none;
}
.page-title a:active,
.page-title a:hover {
	color: #ff4b33;
}
#content .entry-title {
	color: #000;
	font-size: 21px;
	font-weight: bold;
	line-height: 1.3em;
	margin-bottom: 0;
}
.entry-title a:link,
.entry-title a:visited {
	color: #000;
	text-decoration: none;
}
.entry-title a:active,
.entry-title a:hover {
	color: #ff4b33;
}
.entry-meta {
	color: #777;
	font-size: 12px;
}
.entry-meta abbr,
.entry-utility abbr {
	border: none;
}
.entry-meta abbr:hover,
.entry-utility abbr:hover {
	border-bottom: 1px dotted #666;
}
.entry-content,
.entry-summary {
	clear: both;
	padding: 12px 0 0 0;
}
.entry-content .more-link {
	white-space: nowrap;
}
#content .entry-summary p:last-child {
	margin-bottom: 12px;
}
.entry-content fieldset {
	border: 1px solid #e7e7e7;
	margin: 0 0 24px 0;
	padding: 24px;
}
.entry-content fieldset legend {
	background: #fff;
	color: #000;
	font-weight: bold;
	padding: 0 24px;
}
.entry-content input {
	margin: 0 0 24px 0;
}

.entry-content label {
	color: #777;
	font-size: 12px;
}
.entry-content select {
	margin: 0 0 24px 0;
}
.entry-content sup,
.entry-content sub {
	font-size: 10px;
}

/* 限制 entry-content 中的图片最大宽度 */
.entry-content img {
	max-width: 100%;
	height: auto;
}

#entry-author-info {
	background: #f2f7fc;
	border-top: 4px solid #000;
	clear: both;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 14px;
	line-height: 20px;
	margin: 24px 0;
	overflow: hidden;
	padding: 18px 20px;
}
#entry-author-info #author-avatar {
	background: #fff;
	border: 1px solid #e7e7e7;
	flex: 0 0 auto;
	padding: 11px;
}
/* Avatar mirrors may ignore the ?s= size param — size the image here instead */
#entry-author-info #author-avatar img {
	display: block;
	height: 60px;
	width: 60px;
}
#entry-author-info #author-description {
	flex: 1 1 auto;
	min-width: 0;
}
#entry-author-info h2 {
	color: #000;
	font-size: 100%;
	font-weight: bold;
	margin-bottom: 0;
}
/* Override the generic #content p bottom margin inside the author box */
#entry-author-info p {
	margin-bottom: 6px;
}
.entry-utility {
	clear: both;
	color: #777;
	font-size: 12px;
	line-height: 18px;
}
.entry-meta a,
.entry-utility a {
	color: #777;
}
.entry-meta a:hover,
.entry-utility a:hover {
	color: #ff4b33;
}

/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
.widget-container img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}

/* =Navigation
-------------------------------------------------------------- */

.navigation {
	color: #777;
	font-size: 12px;
	line-height: 18px;
	overflow: hidden;
}
.navigation a:link,
.navigation a:visited {
	color: #777;
	text-decoration: none;
}
.navigation a:active,
.navigation a:hover {
	color: #ff4b33;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#nav-above {
	margin: 0 0 18px 0;
}
#nav-above {
	display: none;
}
.single #nav-above {
	display: block;
}
#nav-below {
	margin: -18px 0 0 0;
}

/* =Comments
-------------------------------------------------------------- */
#comments {
	clear: both;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title {
	color: #000;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	padding: 24px 0;
}

/* Comments form */
input[type="submit"] {
	color: #333;
}

/* =Widget Areas
-------------------------------------------------------------- */

.widget-area ul {
	list-style: none;
	margin-left: 0;
}
.widget-area ul ul {
	list-style: square;
	margin-left: 1.3em;
}
.widget-area select {
	max-width: 100%;
}

.widget-container {
	word-wrap: break-word;
	hyphens: auto;
	margin: 0 0 18px 0;
}

.widget-title {
	color: #222;
	font-weight: bold;
}
.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
}
.widget-area a:active,
.widget-area a:hover {
	text-decoration: underline;
}
.widget-area .entry-meta {
	font-size: 11px;
}

.tagcloud ul {
	list-style-type: none;
	margin-left: 0 !important;
}
.tagcloud ul li {
	display: inline-block;
}

/* Main sidebars */
#main .widget-area ul {
	margin-left: 0;
	padding: 0 20px 0 0;
}

/* Project sidebar */
#project-sidebar {
	margin: 0 0 0 20px;
}

/* Project tags */
#project-sidebar .tag {
	display: inline-block;
	padding: 2px 6px;
	margin: 2px;
	background: #f0f0f0;
	border: 1px solid #ddd;
	border-radius: 3px;
	font-size: 12px;
	color: #666;
}
#main .widget-area ul ul {
	border: none;
	margin-left: 1.3em;
	padding: 0;
}

/* =Footer
-------------------------------------------------------------- */

#footer {
	margin-bottom: 20px;
}
#colophon {
	border-top: 4px solid #000;
	margin-top: -4px;
	overflow: hidden;
	padding: 12px 0;
}
#site-info {
	font-weight: bold;
}
#site-info a {
	color: #000;
	text-decoration: none;
}
#site-generator {
	font-style: italic;
	position: relative;
}
#site-generator a {
	background: url(images/wordpress.png) center left no-repeat;
	color: #666;
	display: inline-block;
	line-height: 16px;
	padding-left: 20px;
	text-decoration: none;
}
#site-generator a:hover {
	text-decoration: underline;
}
#site-generator .icp a {
	background: none;
	padding-left: 0;
}
#site-generator .gongan a {
	background: none;
	padding-left: 0;
}
#site-generator .gongan-icon {
	height: 16px;
	width: auto;
	vertical-align: text-top;
	margin-right: 3px;
	border: 0;
}

#site-info span[role=separator] {
	padding: 0 0.6em 0 0.3em;
}
#site-info span[role=separator]::before {
	content: '\007c';
}

/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
	-webkit-text-size-adjust: 140%;
}
code {
	-webkit-text-size-adjust: 160%;
}
#access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
	-webkit-text-size-adjust: 120%;
}
#site-description {
	-webkit-text-size-adjust: none;
}

/* =Print Style
-------------------------------------------------------------- */

@media print {
	body {
		background: none !important;
	}
	#wrapper {
		clear: both !important;
		display: block !important;
		float: none !important;
		position: relative !important;
	}
	#header {
		border-bottom: 2pt solid #000;
		padding-bottom: 18pt;
	}
	#colophon {
		border-top: 2pt solid #000;
	}
	#site-title,
	#site-description {
		float: none;
		line-height: 1.4em;
		margin: 0;
		padding: 0;
	}
	#site-title {
		font-size: 13pt;
	}
	.entry-content {
		font-size: 14pt;
		line-height: 1.6em;
	}
	.entry-title {
		font-size: 21pt;
	}
	#access,
	#branding img,
	.navigation,
	.widget-area {
		display: none !important;
	}
	#container,
	#header,
	#footer {
		margin: 0;
		width: 100%;
	}
	#content {
		margin: 24pt 0 0;
		width: 100%;
	}

	#site-info,
	#site-generator {
		float: none;
		width: auto;
	}
	#colophon {
		width: auto;
	}

	#site-generator a {
		margin: 0;
		padding: 0;
	}
	#entry-author-info {
		border: 1px solid #e7e7e7;
	}
	#main {
		display: inline;
	}

}

/* =Hexo Code Block Styles
-------------------------------------------------------------- */

/* Hexo 代码块容器 */
figure.highlight {
	background: #f7f7f7;
	border: 1px solid #ddd;
	margin: 20px 0;
	padding: 8px;
	overflow-x: auto;
	font-size: 13px;
}

/* 代码块表格 */

figure.highlight table tbody {
	background: transparent;
}

figure.highlight table tr {
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
}

/* 行号列 */
figure.highlight .gutter {
	background: #f0f0f0;
	border-right: 1px solid #ddd;
	padding: 0;
	width: 30px;
	min-width: 30px;
}

figure.highlight .gutter pre {
	background: transparent;
	color: #999;
	font-size: 12px;
	line-height: 1.3;
	margin: 0;
	padding: 0 3px;
	text-align: right;
	white-space: pre;
	overflow: visible;
}

/* 代码列 */
figure.highlight .code {
	background: transparent;
	padding: 0;
}

figure.highlight .code pre {
	background: transparent;
	color: #333;
	font-size: 13px;
	line-height: 1.3;
	margin: 0;
	padding: 0 8px;
	white-space: pre;
	overflow: visible;
}

/* 代码行 */
figure.highlight .line {
	display: block;
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	height: auto;
	margin: 0;
	padding: 0;
}

/* 代码块表格样式 - 覆盖默认表格边距 */
figure.highlight table {
	margin: 0;
	border: none;
	background: transparent;
	border-collapse: collapse;
	width: 100%;
}

/* 使用更高优先级的选择器来覆盖 #content table 的 margin */
#content figure.highlight table {
	margin: 0 !important;
	border: none;
	width: 100%;
	border-collapse: collapse;
}

figure.highlight table tbody {
	border: none;
}

figure.highlight table tr {
	border: none;
	background: transparent;
}

figure.highlight table td {
	border: none;
	padding: 0 !important;
	margin: 0;
	background: transparent;
	vertical-align: top;
}

/* 确保代码块表格不受 #content tr td 影响 */
#content figure.highlight table tr td {
	border: none;
	padding: 0 !important;
	margin: 0;
}

figure.highlight .line br {
	display: none;
}

figure.highlight br {
	display: none;
}

/* 确保 pre 标签内的 br 也不显示 */
figure.highlight pre br {
	display: none;
	content: "";
}

/* 语法高亮颜色 */
figure.highlight .keyword {
	color: #0066cc;
	font-weight: bold;
}

figure.highlight .built_in {
	color: #6600cc;
}

figure.highlight .number {
	color: #cc6600;
}

figure.highlight .string {
	color: #009900;
}

figure.highlight .comment {
	color: #999999;
	font-style: italic;
}

figure.highlight .function {
	color: #cc0000;
}

/* 确保代码块在内容区域正确显示 */
#content figure.highlight {
	margin-bottom: 24px;
}

#content figure.highlight pre {
	margin-bottom: 0;
}

/* =Projects
-------------------------------------------------------------- */

/* 项目列表容器 */
.project-list {
	list-style: none;
	margin: 0 0 24px 0;
	padding: 0;
}

/* 项目列表项 */
.project-list-item {
	margin-bottom: 24px;
	padding: 20px;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 3px;
}

.project-list-item:hover {
	background: #f9f9f9;
	border-color: #ccc;
}

/* 项目列表链接 */
.project-list-link {
	display: block;
	font-size: 1.2em;
	font-weight: bold;
	color: #21759b;
	text-decoration: none;
	margin-bottom: 8px;
}

.project-list-link:hover {
	color: #d54e21;
	text-decoration: underline;
}

/* 项目列表描述 */
#content p.project-list-description {
	margin: 0;
	padding: 0;
	color: #666;
	font-size: 0.9em;
	line-height: 1.5;
	margin-bottom: 12px;
}

/* =Syntax Highlighting Token Colors (extended)
-------------------------------------------------------------- */

figure.highlight .title,
figure.highlight .name,
figure.highlight .tag,
figure.highlight .attr,
figure.highlight .attribute,
figure.highlight .selector-tag,
figure.highlight .selector-id,
figure.highlight .selector-class,
figure.highlight .selector-attr,
figure.highlight .selector-pseudo,
figure.highlight .type,
figure.highlight .variable,
figure.highlight .template-variable,
figure.highlight .params,
figure.highlight .class {
	color: #0066cc;
}

figure.highlight .literal,
figure.highlight .symbol,
figure.highlight .bullet,
figure.highlight .meta,
figure.highlight .link,
figure.highlight .regexp,
figure.highlight .builtin-name {
	color: #cc6600;
}

figure.highlight .property,
figure.highlight .doctag,
figure.highlight .addition,
figure.highlight .section {
	color: #6600cc;
}

figure.highlight .deletion {
	color: #cc0000;
}

figure.highlight .emphasis {
	font-style: italic;
}

figure.highlight .strong {
	font-weight: bold;
}

figure.highlight .subst {
	color: #333;
}

figure.highlight .punctuation {
	color: #666;
}

/* =Responsive
-------------------------------------------------------------- */

@media (max-width: 980px) {
	#wrapper,
	#branding,
	#main,
	#colophon,
	#access,
	#access .menu-header {
		width: auto;
	}

	#wrapper {
		margin-top: 0;
		padding: 0 16px;
	}

	#container {
		float: none;
		margin: 0;
		width: 100%;
	}

	#content {
		margin: 0 0 36px 0;
	}

	#primary,
	#project-sidebar {
		float: none;
		overflow: visible;
		width: 100%;
	}

	/* Stacked project sidebar: full width, not shifted, and clearly separated from the body */
	#project-sidebar {
		box-sizing: border-box;
		margin: 0;
		padding: 20px;
		background: #f7f7f7;
		border-top: 4px solid #000;
	}
	#project-sidebar ul.xoxo {
		padding-right: 0;
	}
	#project-sidebar .widget-container:last-child {
		margin-bottom: 0;
	}

	#site-title,
	#site-description {
		float: none;
		width: auto;
	}

	#site-description {
		margin-top: 0;
	}

	#branding img {
		float: none;
		height: auto;
		width: 100%;
	}

	#access .menu-header {
		margin-left: 0;
	}

	#access {
		float: none;
	}

	#access .menu-header ul {
		display: flex;
		flex-wrap: wrap;
	}

	#access .menu-header li {
		float: none;
	}

	#access a {
		padding: 0 12px;
	}

	#footer-widget-area .widget-area {
		float: none;
		margin-right: 0;
		margin-bottom: 24px;
		width: 100%;
	}

	#site-info,
	#site-generator {
		float: none;
		width: auto;
	}

	#site-generator {
		margin-top: 10px;
	}

	.project-list-item {
		padding: 16px;
	}
}

@media (max-width: 600px) {
	#site-title {
		font-size: 24px;
		line-height: 30px;
	}

	#content,
	#content input,
	#content textarea {
		font-size: 15px;
		line-height: 22px;
	}

	#content tr td,
	#content tr th,
	#content thead th {
		padding-left: 8px;
		padding-right: 8px;
	}

	blockquote {
		padding: 0 1em;
	}

	figure.highlight,
	figure.highlight .code pre {
		font-size: 12px;
	}
}


/* =Theme Toggle
-------------------------------------------------------------- */

#access .menu-header li.theme-toggle-item {
	float: right;
}

#theme-toggle {
	background: none;
	border: 0;
	color: #aaa;
	cursor: pointer;
	display: inline-block;
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 13px;
	line-height: 38px;
	padding: 0 12px;
	vertical-align: top;
}

#theme-toggle:hover,
#theme-toggle:focus {
	color: #fff;
	outline: none;
}

#theme-toggle:focus-visible {
	outline: 1px dotted #aaa;
	outline-offset: -5px;
}

#theme-toggle .icon-sun {
	display: none;
}

html[data-theme="dark"] #theme-toggle .icon-moon {
	display: none;
}

html[data-theme="dark"] #theme-toggle .icon-sun {
	display: inline-block;
	vertical-align: -2px;
}

/* =Code Copy Button
-------------------------------------------------------------- */

.highlight-wrap {
	position: relative;
}

.copy-code-btn {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 3px;
	color: #666;
	cursor: pointer;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 1;
	opacity: 0;
	padding: 4px 8px;
	transition: opacity 0.15s ease;
}

.highlight-wrap:hover .copy-code-btn,
.copy-code-btn:focus {
	opacity: 1;
}

.copy-code-btn:hover {
	border-color: #999;
	color: #333;
}

@media (hover: none) {
	.copy-code-btn {
		opacity: 1;
	}
}

/* =Dark Mode
-------------------------------------------------------------- */

html[data-theme="dark"] body {
	background: #141414;
}

html[data-theme="dark"] body,
html[data-theme="dark"] input,
html[data-theme="dark"] textarea {
	color: #a8a8a8;
}

html[data-theme="dark"] #wrapper {
	background: #1d1d1d;
}

html[data-theme="dark"] hr {
	background-color: #333;
}

html[data-theme="dark"] ins {
	background: #665c00;
}

html[data-theme="dark"] pre {
	background: #262626;
	color: #e0e0e0;
}

html[data-theme="dark"] abbr,
html[data-theme="dark"] acronym {
	border-bottom-color: #999;
}

html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="password"],
html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] input[type="url"],
html[data-theme="dark"] input[type="number"],
html[data-theme="dark"] textarea {
	background: #2a2a2a;
	border-color: #555;
	box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] a:link {
	color: #6db3ff;
}

html[data-theme="dark"] a:visited {
	color: #b18ae8;
}

html[data-theme="dark"] a:active,
html[data-theme="dark"] a:hover {
	color: #ff6a52;
}

html[data-theme="dark"] a.skip-link:focus {
	background-color: #444;
	color: #eee;
}

html[data-theme="dark"] #site-title a {
	color: #f0f0f0;
}

html[data-theme="dark"] #content,
html[data-theme="dark"] #content input,
html[data-theme="dark"] #content textarea {
	color: #d4d4d4;
}

html[data-theme="dark"] #content dt,
html[data-theme="dark"] #content th,
html[data-theme="dark"] #content h1,
html[data-theme="dark"] #content h2,
html[data-theme="dark"] #content h3,
html[data-theme="dark"] #content h4,
html[data-theme="dark"] #content h5,
html[data-theme="dark"] #content h6 {
	color: #f0f0f0;
}

html[data-theme="dark"] #content table {
	border-color: #333;
}

html[data-theme="dark"] #content tr th {
	color: #999;
}

html[data-theme="dark"] #content tr td {
	border-top-color: #333;
}

html[data-theme="dark"] .page-title {
	color: #f0f0f0;
}

html[data-theme="dark"] .page-title span {
	color: #ccc;
}

html[data-theme="dark"] .page-title a:link,
html[data-theme="dark"] .page-title a:visited {
	color: #999;
}

html[data-theme="dark"] #content .entry-title,
html[data-theme="dark"] .entry-title a:link,
html[data-theme="dark"] .entry-title a:visited {
	color: #f0f0f0;
}

html[data-theme="dark"] .entry-meta,
html[data-theme="dark"] .entry-utility,
html[data-theme="dark"] .navigation {
	color: #999;
}

html[data-theme="dark"] .entry-meta a,
html[data-theme="dark"] .entry-meta a:visited,
html[data-theme="dark"] .entry-utility a,
html[data-theme="dark"] .entry-utility a:visited,
html[data-theme="dark"] .navigation a:link,
html[data-theme="dark"] .navigation a:visited {
	color: #999;
}

html[data-theme="dark"] .entry-content fieldset {
	border-color: #3a3a3a;
}

html[data-theme="dark"] .entry-content fieldset legend {
	background: #1d1d1d;
	color: #f0f0f0;
}

html[data-theme="dark"] .entry-content label {
	color: #999;
}

html[data-theme="dark"] #entry-author-info {
	background: #1a2733;
}

html[data-theme="dark"] #entry-author-info #author-avatar {
	background: #2a2a2a;
	border-color: #444;
}

html[data-theme="dark"] #entry-author-info h2 {
	color: #f0f0f0;
}

html[data-theme="dark"] h3#comments-title {
	color: #f0f0f0;
}

html[data-theme="dark"] input[type="submit"] {
	color: #ddd;
}

html[data-theme="dark"] .widget-title {
	color: #e6e6e6;
}

html[data-theme="dark"] #project-sidebar .tag {
	background: #2e2e2e;
	border-color: #444;
	color: #bbb;
}

html[data-theme="dark"] #site-info a {
	color: #f0f0f0;
}

html[data-theme="dark"] #site-generator a {
	color: #999;
}

html[data-theme="dark"] figure.highlight {
	background: #252525;
	border-color: #3a3a3a;
}

html[data-theme="dark"] figure.highlight .gutter {
	background: #1c1c1c;
	border-right-color: #3a3a3a;
}

html[data-theme="dark"] figure.highlight .gutter pre {
	color: #888;
}

html[data-theme="dark"] figure.highlight .code pre {
	color: #d4d4d4;
}

html[data-theme="dark"] figure.highlight .keyword,
html[data-theme="dark"] figure.highlight .title,
html[data-theme="dark"] figure.highlight .name,
html[data-theme="dark"] figure.highlight .tag,
html[data-theme="dark"] figure.highlight .attr,
html[data-theme="dark"] figure.highlight .attribute,
html[data-theme="dark"] figure.highlight .selector-tag,
html[data-theme="dark"] figure.highlight .selector-id,
html[data-theme="dark"] figure.highlight .selector-class,
html[data-theme="dark"] figure.highlight .selector-attr,
html[data-theme="dark"] figure.highlight .selector-pseudo,
html[data-theme="dark"] figure.highlight .type,
html[data-theme="dark"] figure.highlight .variable,
html[data-theme="dark"] figure.highlight .template-variable,
html[data-theme="dark"] figure.highlight .params,
html[data-theme="dark"] figure.highlight .class {
	color: #79b8ff;
}

html[data-theme="dark"] figure.highlight .built_in,
html[data-theme="dark"] figure.highlight .literal,
html[data-theme="dark"] figure.highlight .symbol,
html[data-theme="dark"] figure.highlight .bullet,
html[data-theme="dark"] figure.highlight .meta,
html[data-theme="dark"] figure.highlight .link,
html[data-theme="dark"] figure.highlight .regexp,
html[data-theme="dark"] figure.highlight .builtin-name,
html[data-theme="dark"] figure.highlight .property,
html[data-theme="dark"] figure.highlight .doctag,
html[data-theme="dark"] figure.highlight .addition,
html[data-theme="dark"] figure.highlight .section {
	color: #c586c0;
}

html[data-theme="dark"] figure.highlight .number,
html[data-theme="dark"] figure.highlight .literal {
	color: #f0a15e;
}

html[data-theme="dark"] figure.highlight .string {
	color: #85e89d;
}

html[data-theme="dark"] figure.highlight .comment,
html[data-theme="dark"] figure.highlight .deletion {
	color: #8b949e;
	font-style: italic;
}

html[data-theme="dark"] figure.highlight .function {
	color: #ff7b72;
}

html[data-theme="dark"] figure.highlight .subst {
	color: #d4d4d4;
}

html[data-theme="dark"] figure.highlight .punctuation {
	color: #999;
}

html[data-theme="dark"] .copy-code-btn {
	background: #333;
	border-color: #555;
	color: #bbb;
}

html[data-theme="dark"] .copy-code-btn:hover {
	border-color: #777;
	color: #fff;
}

html[data-theme="dark"] .project-list-item {
	background: #242424;
	border-color: #3a3a3a;
}

html[data-theme="dark"] .project-list-item:hover {
	background: #2a2a2a;
	border-color: #4a4a4a;
}

html[data-theme="dark"] .project-list-link {
	color: #6db3ff;
}

html[data-theme="dark"] .project-list-link:hover {
	color: #ff8a6b;
}

html[data-theme="dark"] #content p.project-list-description {
	color: #aaa;
}

@media (max-width: 980px) {
	html[data-theme="dark"] #project-sidebar {
		background: #242424;
	}
}

/* Keep printed pages readable even when the screen is dark */
@media print {
	html[data-theme="dark"],
	html[data-theme="dark"] body,
	html[data-theme="dark"] #wrapper,
	html[data-theme="dark"] #content,
	html[data-theme="dark"] .entry-content {
		background: #fff !important;
		color: #000 !important;
	}
	html[data-theme="dark"] #content h1,
	html[data-theme="dark"] #content h2,
	html[data-theme="dark"] #content h3,
	html[data-theme="dark"] #content h4,
	html[data-theme="dark"] #content h5,
	html[data-theme="dark"] #content h6,
	html[data-theme="dark"] .entry-title,
	html[data-theme="dark"] .entry-title a,
	html[data-theme="dark"] #site-title a {
		color: #000 !important;
	}
}
