zh gyak
This commit is contained in:
@@ -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 {
|
movies {
|
||||||
border: medium solid indigo;
|
border: medium solid indigo;
|
||||||
box-shadow: 0.25em 0.25em 0.5em indigo;
|
box-shadow: 0.25em 0.25em 0.5em indigo;
|
||||||
display: block;
|
display: block;
|
||||||
font-family: Roboto, Arial, Helvetica, sans-serif;
|
font-family: Roboto, Helvetica, Arial, sans-serif;
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
}
|
}
|
||||||
@@ -12,8 +12,8 @@ movies {
|
|||||||
movie {
|
movie {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
list-style-type: disc;
|
list-style-type: disc;
|
||||||
margin: 0.2em;
|
margin: 0 2em;
|
||||||
padding: 0.5em
|
padding: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
title {
|
title {
|
||||||
@@ -30,25 +30,30 @@ votes {
|
|||||||
}
|
}
|
||||||
|
|
||||||
title,
|
title,
|
||||||
year {}
|
year {
|
||||||
|
font-size: 1.2em;
|
||||||
year::before {
|
|
||||||
content: '(';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
year::after {
|
year::after {
|
||||||
content: ')';
|
content: "):";
|
||||||
}
|
}
|
||||||
|
|
||||||
genre,
|
genre,
|
||||||
|
rating {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
rating,
|
rating,
|
||||||
movie:hover::after {
|
movie:hover::after {
|
||||||
color: white;
|
border-radius: 0.25em;
|
||||||
|
padding: .25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
genre {
|
genre {
|
||||||
background-color: blueviolet;
|
background-color: blueviolet;
|
||||||
border-radius: 4em;
|
border-radius: 9999px;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
margin-right: 0.1em;
|
margin-right: 0.1em;
|
||||||
padding: 0.25em 0.6em;
|
padding: 0.25em 0.6em;
|
||||||
@@ -56,12 +61,6 @@ genre {
|
|||||||
}
|
}
|
||||||
|
|
||||||
rating {
|
rating {
|
||||||
border-radius: 0.25em;
|
|
||||||
padding: 0.25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
rating,
|
|
||||||
movie:hover::after {
|
|
||||||
background-color: hotpink;
|
background-color: hotpink;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
@@ -71,17 +70,13 @@ rating::after {
|
|||||||
}
|
}
|
||||||
|
|
||||||
votes::before {
|
votes::before {
|
||||||
content: "from ";
|
content: " from ";
|
||||||
}
|
}
|
||||||
|
|
||||||
votes::after {
|
votes::after {
|
||||||
content: " ratings";
|
content: " ratings";
|
||||||
}
|
}
|
||||||
|
|
||||||
movie:hover {
|
|
||||||
background-color: powderblue;
|
|
||||||
}
|
|
||||||
|
|
||||||
movie:hover::after {
|
movie:hover::after {
|
||||||
background-color: gold;
|
background-color: gold;
|
||||||
color: blueviolet;
|
color: blueviolet;
|
||||||
@@ -94,3 +89,15 @@ movie:is([mpa-rating=R], [mpa-rating=NC-17])> :is(title, year) {
|
|||||||
color: red;
|
color: red;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
movie:hover {
|
||||||
|
background-color: powderblue;
|
||||||
|
}
|
||||||
|
|
||||||
|
movie {
|
||||||
|
transition: background-color 0.4s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
year::before {
|
||||||
|
content: "(";
|
||||||
|
}
|
||||||
|
|||||||
51
zhgyak/r.css
Normal file
51
zhgyak/r.css
Normal file
@@ -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;
|
||||||
|
}
|
||||||
11
zhgyak/r.dtd
Normal file
11
zhgyak/r.dtd
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<!ELEMENT packages (package+)>
|
||||||
|
<!ELEMENT package (name, date, maintainer, imports)>
|
||||||
|
<!ATTLIST package needs-compilation (yes | no) #REQUIRED>
|
||||||
|
<!ELEMENT name (#PCDATA)>
|
||||||
|
<!ELEMENT date (#PCDATA)>
|
||||||
|
<!ELEMENT maintainer (name, email)>
|
||||||
|
<!ELEMENT email (#PCDATA)>
|
||||||
|
<!ELEMENT imports (import*)>
|
||||||
|
<!ELEMENT import (#PCDATA)>
|
||||||
91
zhgyak/r.xml
Normal file
91
zhgyak/r.xml
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE packages SYSTEM "r.dtd">
|
||||||
|
<?xml-stylesheet href="r.css" type="text/css"?>
|
||||||
|
|
||||||
|
<packages>
|
||||||
|
<package needs-compilation="yes">
|
||||||
|
<name>dplyr</name>
|
||||||
|
<date>2023-11-17</date>
|
||||||
|
<maintainer>
|
||||||
|
<name>Hadley Wickham</name>
|
||||||
|
<email>hadley@posit.co</email>
|
||||||
|
</maintainer>
|
||||||
|
<imports>
|
||||||
|
<import>cli</import>
|
||||||
|
<import>generics</import>
|
||||||
|
<import>glue</import>
|
||||||
|
<import>lifecycle</import>
|
||||||
|
<import>magrittr</import>
|
||||||
|
<import>methods</import>
|
||||||
|
<import>pillar</import>
|
||||||
|
<import>R6</import>
|
||||||
|
<import>rlang</import>
|
||||||
|
<import>tibble</import>
|
||||||
|
<import>tidyselect</import>
|
||||||
|
<import>utils</import>
|
||||||
|
<import>vctrs</import>
|
||||||
|
</imports>
|
||||||
|
</package>
|
||||||
|
<package needs-compilation="yes">
|
||||||
|
<name>data.table</name>
|
||||||
|
<date>2025-07-10</date>
|
||||||
|
<maintainer>
|
||||||
|
<name>Tyson Barrett</name>
|
||||||
|
<email>t.barrett88@gmail.com</email>
|
||||||
|
</maintainer>
|
||||||
|
<imports>
|
||||||
|
<import>bit64</import>
|
||||||
|
<import>bit</import>
|
||||||
|
<import>R.utils</import>
|
||||||
|
<import>xts</import>
|
||||||
|
<import>zoo</import>
|
||||||
|
<import>yaml</import>
|
||||||
|
<import>knitr</import>
|
||||||
|
<import>markdown</import>
|
||||||
|
</imports>
|
||||||
|
</package>
|
||||||
|
<package needs-compilation="yes">
|
||||||
|
<name>e1071</name>
|
||||||
|
<date>2024-09-16</date>
|
||||||
|
<maintainer>
|
||||||
|
<name>David Meyer</name>
|
||||||
|
<email>David.Meyer@r-project.org</email>
|
||||||
|
</maintainer>
|
||||||
|
<imports>
|
||||||
|
<import>graphics</import>
|
||||||
|
<import>grDevices</import>
|
||||||
|
<import>class</import>
|
||||||
|
<import>stats</import>
|
||||||
|
<import>methods</import>
|
||||||
|
<import>utils</import>
|
||||||
|
<import>proxy</import>
|
||||||
|
</imports>
|
||||||
|
</package>
|
||||||
|
<package needs-compilation="no">
|
||||||
|
<name>RColorBrewer</name>
|
||||||
|
<date>2022-04-03</date>
|
||||||
|
<maintainer>
|
||||||
|
<name>Erich Neuwirth</name>
|
||||||
|
<email>erich.neuwirth@univie.ac.at</email>
|
||||||
|
</maintainer>
|
||||||
|
<imports>
|
||||||
|
</imports>
|
||||||
|
</package>
|
||||||
|
<package needs-compilation="no">
|
||||||
|
<name>stringr</name>
|
||||||
|
<date>2025-09-08</date>
|
||||||
|
<maintainer>
|
||||||
|
<name>Hadley Wickham</name>
|
||||||
|
<email>hadley@posit.co</email>
|
||||||
|
</maintainer>
|
||||||
|
<imports>
|
||||||
|
<import>cli</import>
|
||||||
|
<import>glue</import>
|
||||||
|
<import>lifecycle</import>
|
||||||
|
<import>magrittr</import>
|
||||||
|
<import>rlang</import>
|
||||||
|
<import>stringi</import>
|
||||||
|
<import>vctrs</import>
|
||||||
|
</imports>
|
||||||
|
</package>
|
||||||
|
</packages>
|
||||||
Reference in New Issue
Block a user