diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:42:42 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:42:42 -0300 |
commit | 711dab09b5146e74dbeda56679c65e3b6bec71f3 (patch) | |
tree | fed51be1475322c7a565d180d0b0ae3f97e6cf3a /mod/less/vendors/lessphp/tests/inputs/media.less | |
parent | 4311cd55c6e6d6a064bfeabb53b9c528ca553ffd (diff) | |
parent | 551497ef94f6239b109316d8fab32f0909b13f73 (diff) | |
download | elgg-711dab09b5146e74dbeda56679c65e3b6bec71f3.tar.gz elgg-711dab09b5146e74dbeda56679c65e3b6bec71f3.tar.bz2 |
Merge commit '551497ef94f6239b109316d8fab32f0909b13f73' as 'mod/less'
Diffstat (limited to 'mod/less/vendors/lessphp/tests/inputs/media.less')
-rw-r--r-- | mod/less/vendors/lessphp/tests/inputs/media.less | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/mod/less/vendors/lessphp/tests/inputs/media.less b/mod/less/vendors/lessphp/tests/inputs/media.less new file mode 100644 index 000000000..0e65d942f --- /dev/null +++ b/mod/less/vendors/lessphp/tests/inputs/media.less @@ -0,0 +1,38 @@ +@media screen, 3D { + P { color: green; } +} +@media print { + body { font-size: 10pt } +} +@media screen { + body { font-size: 13px } +} +@media screen, print { + body { line-height: 1.2 } +} + +@media all and (min-width: 0px) { + body { line-height: 1.2 } +} + +@media all and (min-width: 0) { + body { line-height: 1.2 } +} + +@media + screen and (min-width: 102.5em) and (max-width: 117.9375em), + screen and (min-width: 150em) { + body { color: blue } +} + + +@media screen and (min-height: 100px + 10px) { + body { color: red; } +} + +@cool: 100px; + +@media screen and (height: @cool) and (width: @cool + 10), (size: @cool + 20) { + body { color: red; } +} + |