1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
|
@media (max-width: 3em) {
body {
color: #fff;
}
}
@media only screen and (max-width: 30em), not print and (orientation: portrait) and (min-width: 500px), (monochrome) and (bar: baz) {
body {
color: #c00;
}
}
@media (max-width: 1023px) {
body {
color: #ccc;
}
}
@media screen and (min-width: 220px) and (max-width: 220px) {
.page-works .inner {
foo: 1;
width: 220px;
background-color: #bf4640;
}
}
@media screen and (min-width: 440px) and (max-width: 441px) {
.page-works .inner {
foo: 2;
width: 440px;
background-color: #bf4d40;
}
}
@media screen and (min-width: 660px) and (max-width: 662px) {
.page-works .inner {
foo: 3;
width: 660px;
background-color: #bf5340;
}
}
@media all and (min-width: 100px), only print and (width: 100px), (monochrome) {
body {
color: #0c0;
}
}
@media all and (width: 100px) {
body {
width: 10px;
}
}
@media (min-width: 640px) {
body {
color: #f00;
}
}
@media only screen {
body {
width: 400px;
}
}
@media only screen {
body {
width: 400px;
}
}
@media only screen and (min-width: 760px) {
body {
color: #f00;
}
}
@media only screen and (min-width: 960px) {
body {
color: #008000;
}
}
@media only screen and (max-width: 1020px) {
body {
color: #00f;
}
}
.foo {
width: 1000px;
}
@media (min-width: 256px) {
.foo {
width: 100px;
}
}
@media (min-width: 512px) {
.foo {
width: 200px;
}
}
@media only screen and (max-width: 1020px) {
body {
color: #00f;
}
}
@media (min-width: 400px) and (-webkit-min-device-pixel-ratio: 1.5) {
.button {
background: url("button@2x.png");
}
}
@media (max-width: 500px) {
.foo {
color: #000;
}
}
@media (max-width: 500px) and (min-width: 100px) {
.foo {
color: #100;
}
}
@media print {
.foo {
color: #f00;
}
}
@media print {
body {
color: #f00;
}
}
@media print and (min-width: 500px), print and (max-width: 1000px) {
body {
width: 100%;
}
}
@media screen and (orientation: landscape) {
.sidebar,
.header,
.footer {
width: 650px;
}
}
@media only screen and (min-width: 800px) and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min-width: 800px) and (-o-min-device-pixel-ratio: 13/10), only screen and (min-width: 800px) and (min-resolution: 120dpi), only screen and (min-width: 800px) and (min-resolution: 1.3dppx) {
body {
color: #f00;
}
}
@media screen {
body {
color: #f00;
}
}
@media (width: 100px) {
.x {
color: #f00;
}
}
@media (width: 100px) and (height: 100px) {
.x {
color: #00f;
}
}
@media screen and (width: 500px) {
body {
color: #f00;
}
}
ul.left li a:link,
ul.left li a:visited {
color: #00f;
}
@media only screen and (max-width: 699px) {
ul.left li a:link,
ul.left li a:visited {
border-right: 0;
}
}
|