diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-30 16:45:38 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-30 16:45:38 +0800 |
| commit | a0579f91bbdf0de62b59df381d97a008bb98df57 (patch) | |
| tree | 69c21333750c7bc7358f9383560438048d9adebf /node_modules/oldie/test/fixtures | |
| parent | 2d8aeba452672bcda2096e5d76bf37131c34075e (diff) | |
update/upgrade
Diffstat (limited to 'node_modules/oldie/test/fixtures')
| -rw-r--r-- | node_modules/oldie/test/fixtures/basic.css | 25 | ||||
| -rw-r--r-- | node_modules/oldie/test/fixtures/basic.expect.css | 17 |
2 files changed, 42 insertions, 0 deletions
diff --git a/node_modules/oldie/test/fixtures/basic.css b/node_modules/oldie/test/fixtures/basic.css new file mode 100644 index 00000000..160920ef --- /dev/null +++ b/node_modules/oldie/test/fixtures/basic.css @@ -0,0 +1,25 @@ +:root body { + background-color: rgba(0, 0, 0, .9); + color: white; +} + +@media screen and (max-width: 767px) { + :root body { + font-size: 1rem; + } +} + +@media screen and (min-width: 768px) { + :root body { + font-size: .75rem; + } + + .header:not(header), header::after { + content: ""; + opacity: calc(1 / 2); + } + + p:nth-child(2) { + font-weight: bold; + } +} diff --git a/node_modules/oldie/test/fixtures/basic.expect.css b/node_modules/oldie/test/fixtures/basic.expect.css new file mode 100644 index 00000000..238f1a61 --- /dev/null +++ b/node_modules/oldie/test/fixtures/basic.expect.css @@ -0,0 +1,17 @@ +html body { + background-color: #000000; + color: white; +} + +html body { + font-size: 12px; +} + + header:after { + content: ""; + filter: alpha(opacity=50); +} + +:first-child + p { + font-weight: bold; +} |
