1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-07 12:34:22 +00:00
TiddlyWiki5/tiddlywiki5/styles.css
Jeremy Ruston 398831b0d9 Major reorganisation of wikitext rendering
Getting ready to support selective refresh of DOM elements
2012-01-24 16:26:37 +00:00

159 lines
2.6 KiB
CSS

body {
font-family: Helvetica, Arial, sans-serif;
}
/* Following styles created with http://www.gridlover.net/; */
body {
font-size: 15px;
line-height: 22px;
}
code, pre {
font-size: 13px;
line-height: 18px;
padding: 0 3px 2px;
font-family: Monaco, Andale Mono, Courier New, monospace;
font-size: 12px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
code {
background-color: #fee9cc;
color: rgba(0, 0, 0, 0.75);
padding: 1px 3px;
}
pre {
background-color: #f5f5f5;
display: block;
padding: 8.5px;
margin: 0 0 18px;
line-height: 18px;
font-size: 12px;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
article {
max-width: 644px;
margin: auto;
}
.title {
font-weight: bold;
font-size: 62px;
line-height: 81px;
}
h1 {
font-size: 33px;
line-height: 54px;
margin-top: 54px;
margin-bottom: 27px;
}
h2 {
font-size: 25px;
line-height: 27px;
margin-top: 27px;
margin-bottom: 0px;
}
p {
margin-top: 0px;
margin-bottom: 27px;
}
.small, aside {
font-size: 13px;
}
a {
text-decoration: none;
}
a.linkExternal::before {
content: "\27a0\00a0";
}
a:hover {
background-color: #00e;
color: #fff;
}
a.tw-tiddlylink {
font-style: normal;
font-weight: normal;
}
a.tw-tiddlylink-resolves {
font-style: normal;
font-weight: bold;
}
a.tw-tiddlylink-missing {
font-style: italic;
}
.label {
text-transform: uppercase;
font-weight: bold;
font-size: 9.5px;
margin-right: 5px;
padding: 3px 5px 3px;
border-radius: 3px;
background-color: #fcf;
}
.splitLabel {
font-size: 9.5px;
margin-right: 5px;
}
.splitLabelLeft {
text-transform: uppercase;
font-weight: bold;
padding: 3px 2px 3px 5px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
background-color: #ccc;
}
.splitLabelRight {
padding: 3px 5px 3px 2px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
background-color: #eee;
}
.treeArray {
list-style-type: none;
}
.treeArrayMember {
}
.treeNode {
list-style-type: none;
}
.splitLabelLeft[data-tw-treenode-type='text'] {
background-color: #62CFFC;
color: #fff;
}
.label[data-tw-treenode-type='macro'] {
background-color: #46A546;
color: #fff;
}
.splitLabelLeft[data-tw-treenode-type='param'] {
background-color: #a546a5;
color: #fff;
}
.label[data-tw-treenode-type='html'] {
background-color: #F89406;
color: #fff;
}