101 lines
2.4 KiB
SCSS
101 lines
2.4 KiB
SCSS
:root {
|
|
--border-common: 1px solid #ccc;
|
|
|
|
--bg: url({{ site.baseurl }}/{{ site.wiki.img_dir }}/background.png);
|
|
--color: #333;
|
|
--color-link: #588f3d;
|
|
--color-link-visited: #456336;
|
|
--font-family: "Hiragino Kaku Gothic ProN", "Helvetica Neue", "meiryo", "arial", "sans-serif";
|
|
--font-size: 17px;
|
|
--font-size-mobile: 14px;
|
|
--letter-spacing: 0.005rem;
|
|
--line-height: 1.5;
|
|
--selection-bg: #659b4b;
|
|
--selection-color: #fff;
|
|
|
|
// コンテナ
|
|
--container-bg: #f5f5f5;
|
|
--container-shadow: 0 0 10px 0 #ddd;
|
|
--container-columns: 21% 79%;
|
|
--container-padding-top-mobile: 1em;
|
|
--container-max-width: 1280px;
|
|
|
|
// ヘッダ
|
|
--header-bg: none;
|
|
--header-height: 3rem;
|
|
--header-color: #694;
|
|
--header-font-size: 1.25em;
|
|
--header-font-weight: 500;
|
|
--header-icon-vertical-adjustment: -.4em;
|
|
|
|
// メニュー
|
|
--menu-bg: none;
|
|
--main-date-color: #666;
|
|
|
|
// メインコンテンツ
|
|
--main-bg: #fff;
|
|
--main-border-topleft: var(--border-common);
|
|
--main-border-radius: 14px 0 0 0;
|
|
|
|
// 本文 (右メニュー含む)
|
|
--article-padding: 0 1.25em 1em 1.25em;
|
|
--article-padding-mobile: 0 1em 1em 1em;
|
|
|
|
// 本文 - 見出し
|
|
--article-h2-border-bottom: 1px solid #ddd;
|
|
--article-h2-font-size: 1.5em;
|
|
--article-h3-border-bottom: 1px dotted #ddd;
|
|
--article-h3-font-size: 1.25em;
|
|
--article-h4-border-bottom: 1px dashed #ddd;
|
|
--article-h4-font-size: 1em;
|
|
--article-h5-border-bottom: none;
|
|
--article-h5-font-size: 1em;
|
|
--article-h6-border-bottom: none;
|
|
--article-h6-font-size: 1em;
|
|
|
|
// 本文 - ソースコード
|
|
--article-code-bg: #fefefe;
|
|
--article-code-border: 1px solid #ccc;
|
|
--article-code-border-radius: 10px;
|
|
--article-code-color: #333;
|
|
--article-code-font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
--article-pre-code-padding: 9.5px;
|
|
|
|
// 本文 - 目次
|
|
--toc-bg: #fcfcfc;
|
|
--toc-border: 1px solid #ccc;
|
|
--toc-border-radius: 10px;
|
|
|
|
// フッタ
|
|
--footer-bg: #333;
|
|
--footer-color: #fff;
|
|
|
|
// Modなどのスクリーンショット
|
|
--screenshot-max-height: 250px;
|
|
--screenshot-max-width: 500px;
|
|
}
|
|
|
|
@mixin media-desktop {
|
|
@media {{ site.media-desktop }} {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin media-mobile {
|
|
@media {{ site.media-mobile }} {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@import "normalize";
|
|
@import "scaffolding";
|
|
@import "container";
|
|
@import "header";
|
|
@import "article";
|
|
@import "menu";
|
|
@import "main";
|
|
@import "footer";
|
|
|
|
@import "toc";
|
|
@import "screenshot";
|