mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 08:39:58 +09:00
Add formatting libraries to composer.json
This commit is contained in:
parent
59ee4a7387
commit
2b008f7be6
202 changed files with 28022 additions and 133 deletions
68
vendor/leafo/lessphp/tests/inputs/media.less
vendored
Normal file
68
vendor/leafo/lessphp/tests/inputs/media.less
vendored
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
@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; }
|
||||
}
|
||||
|
||||
|
||||
// media bubbling
|
||||
|
||||
@media test {
|
||||
div {
|
||||
height: 20px;
|
||||
@media (hello) {
|
||||
color: red;
|
||||
|
||||
pre {
|
||||
color: orange;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// should not cross boundary
|
||||
@media yeah {
|
||||
@page {
|
||||
@media cool {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// variable in query
|
||||
@mobile: ~"(max-width: 599px)";
|
||||
@media @mobile {
|
||||
.helloworld { color: blue }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue