diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-03-01 14:41:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-01 14:41:17 -0500 |
commit | 7c615244f40222584984157223944e6aa6448d13 (patch) | |
tree | dee98802eeb1c6ca82e06fe0ec0cda12f38e3605 /test/test-stylesheet.css | |
parent | 314c567a47cd07dee7d6cda785257b2109afcad5 (diff) | |
parent | bdb86e1713a196c9539306166d8dc4238adefc0d (diff) |
Merge pull request #375 from toasted-nutbread/document-tests
Document tests
Diffstat (limited to 'test/test-stylesheet.css')
-rw-r--r-- | test/test-stylesheet.css | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/test-stylesheet.css b/test/test-stylesheet.css new file mode 100644 index 00000000..ab25732e --- /dev/null +++ b/test/test-stylesheet.css @@ -0,0 +1,32 @@ +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + max-width: 680px; + padding: 0 1em; + box-sizing: border-box; + margin: 0 auto; + background-color: #f8f8f8; + counter-reset: test-id; +} + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +.test { + background-color: #ffffff; + margin: 1em 0; + padding: 0.5em; + box-shadow: rgba(64, 64, 64, 0.3) 0px 1px 2px 0px, rgba(64, 64, 64, 0.15) 0px 1px 3px 1px; + border-radius: 4px; +} + +.test:before { + content: "Test " counter(test-id); + display: block; + counter-increment: test-id; + margin-bottom: 0.5em; + border-bottom: 1px solid #d8d8d8; + font-weight: bold; +} |