Created
February 22, 2019 07:04
Basic BBEdit-Preview CSS for Preview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 1. Store this in ~Library/Application Support/BBEdit/Preview CSS/redmine.css */ | |
/* 2. Open a textile-file */ | |
/* 3. Ctrl+CMD+P */ | |
/* 4. Select redmine.css in Preview as CSS */ | |
/* 5. There's no 5. */ | |
body { | |
font-family: Verdana, sans-serif; | |
color: #333; | |
font-size: 12px; | |
display: block; | |
padding: 6px 10px 10px 10px; | |
width: 75%; | |
min-width: 600px; | |
} | |
/* headlines */ | |
h1, h2, h3, h4 { | |
font-family: "Trebuchet MS", Verdana, sans-serif; | |
color: #555; | |
} | |
h1 { | |
font-size: 20px; | |
font-weight: bold; | |
display: block; | |
} | |
h2 { | |
font-size: 16px; | |
font-weight: bold; | |
display: block; | |
} | |
h3 { | |
font-size: 12px; | |
font-weight: bold; | |
display: block; | |
} | |
a { | |
color: #169; | |
} | |
/* tables */ | |
table, tr, th, td { | |
border: 1px solid #bbb; | |
padding: 4px; | |
font-size: 12px; | |
} | |
table { | |
display: table; | |
border-collapse: collapse; | |
} | |
th { | |
font-weight: bold; | |
display: table-cell; | |
color: #333; | |
} | |
td { | |
display: table-cell; | |
font-size: 12px; | |
color: #333; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment