mirror of
https://github.com/less/less.js.git
synced 2026-01-21 05:08:10 -05:00
51 lines
1.3 KiB
CSS
51 lines
1.3 KiB
CSS
div { color: black; }
|
|
div { width: 99%; }
|
|
* { min-width: 45em; }
|
|
h1 { color: none; }
|
|
h2 > a > p { color: none; }
|
|
h3 { color: none; }
|
|
div.class { color: blue; }
|
|
div#id { color: green; }
|
|
.class#id { color: purple; }
|
|
.one.two.three { color: grey; }
|
|
@media print { font-size: 3em; }
|
|
@media screen { font-size: 10px; }
|
|
@font-face {
|
|
font-family: 'Garamond Pro';
|
|
src: url("/fonts/garamond-pro.ttf");
|
|
}
|
|
a:hover { color: #999999; }
|
|
a:link { color: #999999; }
|
|
p { text-transform: none; }
|
|
p:first-child { text-transform: none; }
|
|
q:lang(no) { quotes: none; }
|
|
p + h1 { font-size: 2.2em; }
|
|
input[type="text"] { font-weight: normal; }
|
|
h2[title] { font-size: 100%; }
|
|
[disabled] { color: transparent; }
|
|
#shorthands {
|
|
border: 1px solid #000000;
|
|
font: 12px/16px Arial;
|
|
margin: 1px 0;
|
|
padding: 0 auto;
|
|
background: url("http://www.lesscss.org/spec.html") no-repeat 0 4px;
|
|
}
|
|
#more-shorthands {
|
|
margin: 0;
|
|
padding: 1px 0 2px 0;
|
|
font: normal small/20px 'Trebuchet MS', Verdana, sans-serif;
|
|
}
|
|
.misc {
|
|
-moz-border-radius: 2px;
|
|
display: -moz-inline-stack;
|
|
width: 0.1em;
|
|
background-color: #009998;
|
|
background-image: url(images/image.jpg);
|
|
background: -webkit-gradient(linear, left top, left bottom, from(red), to(blue));
|
|
}
|
|
#important {
|
|
color: red !important;
|
|
width: 100% !important;
|
|
height: 20px ! important;
|
|
}
|