templates/static/tmf.css @ 8f15f4ad34ed
Add TOC to readme as example
| author | theaspect@gmail.com |
|---|---|
| date | Sat, 01 Jun 2013 16:35:16 +0700 |
| parents | e292b17c3e95 |
| children | 42f23a3f2f1b |
* { box-sizing: border-box !important; -moz-box-sizing: border-box !important; -webkit-box-sizing: border-box !important; } body { background: #f6f6f6; background: url("/static/absurd.png"); margin: 0; padding: 0; } a { color: #4183C4; } div#top { background: #1c4871; /* Old browsers */ background: -moz-linear-gradient(top, #1c4871 0%, #1c4871 0%, #0e365c 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1c4871), color-stop(0%,#1c4871), color-stop(100%,#0e365c)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #1c4871 0%,#1c4871 0%,#0e365c 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #1c4871 0%,#1c4871 0%,#0e365c 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #1c4871 0%,#1c4871 0%,#0e365c 100%); /* IE10+ */ background: linear-gradient(to bottom, #1c4871 0%,#1c4871 0%,#0e365c 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1c4871', endColorstr='#0e365c',GradientType=0 ); /* IE6-9 */ box-shadow: 0 0 10px #555555; -moz-box-shadow: 0 0 10px #555555; -webkit-box-shadow: 0 0 10px #555555; line-height: 45px; padding: 0 40px; margin: 0; margin-bottom: 10px; } div#top span { color: #fff; font-size: 20px; font-weight: bold; } div#top .hg { display: inline-block; background: #aaa; line-height: 35px; width: 40px; text-align: center; border: 1px solid #fff; text-shadow: 1px 1px 1px #444 } div#container { background: transparent; padding: 0 40px; } div.page-header { background: transparent; border: none; padding: 20px 0; margin: 0; } div.page-header > div { width: 100%; margin-right: -270px; float: left; } div.page-header h1 { color: #4e8ab2; margin-right: 270px; } div.page-header h1 a { color: #4183C4; } div.page-header dl.search { } div.page-header .filename { color: #1c4871; display: block; font-size: 32px; font-weight: bold; line-height: 1em; margin: 0; margin-bottom: 10px; padding: 0; } div.page-header .repo { } ul.page-nav { width: 100%; background: linear-gradient(#FAFAFA, #EAEAEA) repeat scroll 0 0 transparent; background: -moz-linear-gradient(#FAFAFA, #EAEAEA) repeat scroll 0 0 transparent; background: -webkit-linear-gradient(#FAFAFA, #EAEAEA) repeat scroll 0 0 transparent; border-color: #EAEAEA #EAEAEA #CACACA; border-style: solid; border-width: 1px; border-radius: 3px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; -webkit-border-radius: 3px; -webkit-border-bottom-left-radius: 0; -webkit-border-bottom-right-radius: 0; -moz-border-radius: 3px; -moz-border-bottom-left-radius: 0; -moz-border-bottom-right-radius: 0; } ul.page-nav li.current { background: none; } ul.page-nav li { display: table-cell; margin: 0; width: 11.1111%; line-height: inherit; height: auto; } ul.page-nav li a, ul.page-nav li.current { background: none; display: block; height: 100%; border-bottom: 2px solid #DADADA; border-left: 1px solid rgba(255, 255, 255, 0.7); border-right: 1px solid rgba(0, 0, 0, 0.04); color: #777777; font-size: 12px; font-weight: bold; line-height: 35px; text-align: center; text-decoration: none; text-shadow: 0 1px 0 white; min-width: 80px; } ul.page-nav li a:hover { background: linear-gradient(#FAFBFD, #DCE6EF) repeat scroll 0 0 transparent; background: -moz-linear-gradient(#FAFBFD, #DCE6EF) repeat scroll 0 0 transparent; background: -webkit-linear-gradient(#FAFBFD, #DCE6EF) repeat scroll 0 0 transparent; border-bottom: 2px solid #CFDCE8; color: #4183C4; } ul.page-nav li.current, ul.page-nav li.current:hover { border-bottom-color: #D26911; } ul.page-nav li:last-child a { border-right: none; } div.page-content { background: #fff; padding: 20px 10px; border: 2px solid #efefef; border-top-left-radius: 3px; border-top-right-radius: 3px; -moz-border-top-left-radius: 3px; -moz-border-top-right-radius: 3px; -webkit-border-top-left-radius: 3px; -webkit-border-top-right-radius: 3px; } div.page-content .full-width { margin-left: -10px; margin-right: -10px; } h2.no-link.no-border { margin-top: 0; box-shadow: 0 2px 2px 0px #bbb; -moz-box-shadow: 0 2px 2px 0px #bbb; -webkit-box-shadow: 0 2px 2px 0px #bbb; } table.overview { border: 1px solid #F8F8F8; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } table.overview td { background: #F8F8F8; border-bottom: 1px solid #EEEEEE; vertical-align: middle; } table.overview td.overview-heading { font-weight: bold; } table.overview tr.last td { border: none; } h2#readmefilename { background: transparent; font-size: 38px; line-height: 38px; padding: 25px; } table.short-log-entries tr.parity0 { background: #fcfcfc; } table.short-log-entries tr.parity1{ background: #E2EAEE; } table.short-log-entries .rev-link { font-weight: bold; font-size: 14px; color: #000; } table.short-log-entries .author { color: #000; font-size: 13px; } table.short-log-entries .age { font-size: 12px; color: #888; } table.short-log-entries .changeset-and-files { text-align: right; } table.short-log-entries .changeset-and-files a { color: #777; font-weight: bold; } table.short-log-entries .changeset-and-files a:hover { color: #4183c4 } span.logtags span { font-weight: bold; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; } span.logtags span.branchtag { background: #4183C4; border: 1px solid #4183C4; color: #fff; text-shadow: 1px 1px 1px #444; } span.logtags span.tagtag { background: #FCFCE2; border: 1px solid #FFEE00; color: #666; text-shadow: 1px 1px 1px white; } span.logtags span.inbranchtag { background: #D5DDE6; border: 1px solid #babef2; color: #444; text-shadow: 1px 1px 1px white; } div#readme { border: none; margin: 0; } div#readme article{ padding: 0 25px; } div#readme article h1{ margin-bottom: 10px; }