diff --git a/ora4/movies/movies.css b/ora4/movies/movies.css index 8f08d84..0e7873b 100644 --- a/ora4/movies/movies.css +++ b/ora4/movies/movies.css @@ -1,10 +1,10 @@ -@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap'); movies { border: medium solid indigo; box-shadow: 0.25em 0.25em 0.5em indigo; display: block; - font-family: Roboto, Arial, Helvetica, sans-serif; + font-family: Roboto, Helvetica, Arial, sans-serif; margin: 1em; padding: 1em; } @@ -12,8 +12,8 @@ movies { movie { display: list-item; list-style-type: disc; - margin: 0.2em; - padding: 0.5em + margin: 0 2em; + padding: 0.5em; } title { @@ -30,25 +30,30 @@ votes { } title, -year {} - -year::before { - content: '('; +year { + font-size: 1.2em; } + + year::after { - content: ')'; + content: "):"; } genre, +rating { + color: red; +} + rating, movie:hover::after { - color: white; + border-radius: 0.25em; + padding: .25em; } genre { background-color: blueviolet; - border-radius: 4em; + border-radius: 9999px; font-size: 0.9em; margin-right: 0.1em; padding: 0.25em 0.6em; @@ -56,12 +61,6 @@ genre { } rating { - border-radius: 0.25em; - padding: 0.25em; -} - -rating, -movie:hover::after { background-color: hotpink; font-weight: bold; } @@ -71,17 +70,13 @@ rating::after { } votes::before { - content: "from "; + content: " from "; } votes::after { content: " ratings"; } -movie:hover { - background-color: powderblue; -} - movie:hover::after { background-color: gold; color: blueviolet; @@ -94,3 +89,15 @@ movie:is([mpa-rating=R], [mpa-rating=NC-17])> :is(title, year) { color: red; font-weight: bold; } + +movie:hover { + background-color: powderblue; +} + +movie { + transition: background-color 0.4s ease; +} + +year::before { + content: "("; +} diff --git a/zhgyak/r.css b/zhgyak/r.css new file mode 100644 index 0000000..d657363 --- /dev/null +++ b/zhgyak/r.css @@ -0,0 +1,51 @@ +packages { + margin: 1em; + padding: 0.25em; + border: 5px solid lightpink; +} + +* { + display: block; +} + +package { + padding-left: 0.25em; +} + +package:is([needs-compilation=yes]) { + background-color: peru; +} + +package:is([needs-compilation=no]) { + background-color: thistle; +} + +package>name { + font-size: x-large; + padding-top: 0.5em; +} + +maintainer { + display: list-item; +} + +import { + padding-left: 1em; + display: list-item; +} + +date::before { + content: "Published: "; +} + +maintainer::before { + content: "Maintainer: "; +} + +imports::before { + content: "Imports: "; +} + +import::before { + list-style-type: disc; +} diff --git a/zhgyak/r.dtd b/zhgyak/r.dtd new file mode 100644 index 0000000..4154891 --- /dev/null +++ b/zhgyak/r.dtd @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/zhgyak/r.xml b/zhgyak/r.xml new file mode 100644 index 0000000..f7e273f --- /dev/null +++ b/zhgyak/r.xml @@ -0,0 +1,91 @@ + + + + + + + dplyr + 2023-11-17 + + Hadley Wickham + hadley@posit.co + + + cli + generics + glue + lifecycle + magrittr + methods + pillar + R6 + rlang + tibble + tidyselect + utils + vctrs + + + + data.table + 2025-07-10 + + Tyson Barrett + t.barrett88@gmail.com + + + bit64 + bit + R.utils + xts + zoo + yaml + knitr + markdown + + + + e1071 + 2024-09-16 + + David Meyer + David.Meyer@r-project.org + + + graphics + grDevices + class + stats + methods + utils + proxy + + + + RColorBrewer + 2022-04-03 + + Erich Neuwirth + erich.neuwirth@univie.ac.at + + + + + + stringr + 2025-09-08 + + Hadley Wickham + hadley@posit.co + + + cli + glue + lifecycle + magrittr + rlang + stringi + vctrs + + +