1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Introduce new "tight" theme

Fixing #2008
This commit is contained in:
Jermolene 2015-10-09 17:59:56 +01:00
parent 2d9471fe3b
commit 69b4f174c3
7 changed files with 89 additions and 0 deletions

View File

@ -13,6 +13,7 @@
"tiddlywiki/starlight",
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly"
],
"languages": [

View File

@ -45,6 +45,7 @@
],
"themes": [
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly",
"tiddlywiki/seamless",
"tiddlywiki/snowwhite",

View File

@ -13,6 +13,7 @@
"tiddlywiki/starlight",
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly"
],
"languages": [

View File

@ -15,6 +15,7 @@
"tiddlywiki/nighttime",
"tiddlywiki/starlight",
"tiddlywiki/seamless",
"tiddlywiki/tight",
"tiddlywiki/centralised",
"tiddlywiki/readonly"
],

View File

@ -13,6 +13,7 @@
"tiddlywiki/starlight",
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly"
],
"languages": [

View File

@ -0,0 +1,75 @@
title: $:/themes/tiddlywiki/tight/base
tags: [[$:/tags/Stylesheet]]
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
}
@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
html body.tc-body {
font-size: 13px;
line-height: 16px;
}
html body.tc-body h1,
html body.tc-body h2,
html body.tc-body h3,
html body.tc-body h4,
html body.tc-body p {
margin-top: 0.3em;
margin-bottom: 0.3em;
}
html body.tc-body code {
font-size: 0.8em;
}
html body.tc-body section.tc-story-river {
padding: 0px;
}
html body.tc-body div.tc-tiddler-frame {
padding: 12px;
}
html body.tc-body div.tc-sidebar-scrollable {
padding: 12px 0 12px 12px;
}
html body.tc-body .tc-tiddler-frame .tc-subtitle {
font-size: 0.7em;
font-weight: 700;
}
html body.tc-body .tc-tiddler-frame .tc-tags-wrapper {
margin: 0;
}
html body.tc-body .tc-tiddler-frame button.tc-tag-label,
html body.tc-body .tc-tiddler-frame span.tc-tag-label {
font-size: 0.8em;
}
html body.tc-body .tc-tiddler-frame .tc-tiddler-body h1 {
font-size: 1.5em;
font-weight: 700;
}
html body.tc-body .tc-tiddler-frame .tc-tiddler-body h2 {
font-size: 1.3em;
font-weight: 700;
}
html body.tc-body .tc-tiddler-frame .tc-tiddler-body h3 {
font-size: 1.2em;
font-weight: 700;
}
html body.tc-body .tc-tiddler-frame .tc-tiddler-body h4 {
font-size: 1.1em;
font-weight: 700;
}
}

View File

@ -0,0 +1,9 @@
{
"title": "$:/themes/tiddlywiki/tight",
"name": "Tight",
"author": "JeremyRuston",
"core-version": ">=5.0.0",
"plugin-type": "theme",
"description": "Tightly packed theme",
"dependents": ["$:/themes/tiddlywiki/vanilla"]
}