diff options
author | Tobias Bengfort <tobias.bengfort@posteo.de> | 2016-12-22 16:15:01 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2019-11-28 07:22:53 +0100 |
commit | 87430a2625ffb428564719363043502d11ca659b (patch) | |
tree | 588c04ae387bccb766dacf8cadc04a381cb69e65 | |
parent | 1c9eee506124f6b9ace168e1e3555774c4509256 (diff) | |
download | pygments-git-686/ximmm/css.tar.gz |
Fixup686/ximmm/css
-rw-r--r-- | tests/examplefiles/test.scss | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/tests/examplefiles/test.scss b/tests/examplefiles/test.scss new file mode 100644 index 00000000..60e778b7 --- /dev/null +++ b/tests/examplefiles/test.scss @@ -0,0 +1,70 @@ +// css +body { + font-size: 12pt; + background: #fff url(temp.png) top left no-repeat; +} + +* html body { + font-size: 14pt; +} + +#nav .new { + display: block; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + -ms-border-radius: 5px; + -o-border-radius: 5px; + border-radius: 5px; +} + +ul#nav li.new { + font-weight: bold; +} + +:link { + color: #f00; +} + +:link:hover { + color: #0f0; +} + +@media screen { + body { + background: #ccc; + } +} + +@namespace "http://www.w3.org/1999/xhtml"; + +@import url("mystyle.css"); + +@charset "ISO-8859-1"; + +@font-face { font-family: "Example Font"; src: url("http://www.example.com/fonts/example"); } + +@media screen { body { font-size: 16px } } @media print { body { font-size: 12pt } } + + +@page { body { margin: 1in 1.5in; } } + +@page linke-seite:left { body { margin:20mm; margin-right:25mm; } } + +@-moz-document url-prefix(http://pygments.org) { a {font-style: normal !important;} } + + +// #1096 +test { + $blue_light: rgba(196, 219, 241, 1); + color: $blue_light; + border: 1px solid $blue_light; +} + +// #1250 +@mixin vendor-prefix($name, $argument) { + -webkit-#{$name}: #{$argument}; + -ms-#{$name}: #{$argument}; + -moz-#{$name}: #{$argument}; + -o-#{$name}: #{$argument}; + #{$name}: #{$argument}; +} |