diff --git a/android-chrome-192x192.png b/android-chrome-192x192.png new file mode 100644 index 0000000..5932a80 Binary files /dev/null and b/android-chrome-192x192.png differ diff --git a/android-chrome-512x512.png b/android-chrome-512x512.png new file mode 100644 index 0000000..14e9407 Binary files /dev/null and b/android-chrome-512x512.png differ diff --git a/apple-touch-icon.png b/apple-touch-icon.png new file mode 100644 index 0000000..5008d5e Binary files /dev/null and b/apple-touch-icon.png differ diff --git a/assets/barchart.png b/assets/barchart.png new file mode 100644 index 0000000..d72c783 Binary files /dev/null and b/assets/barchart.png differ diff --git a/assets/images.json b/assets/images.json new file mode 100644 index 0000000..1add4e6 --- /dev/null +++ b/assets/images.json @@ -0,0 +1,32 @@ +[ + { + "title": "Plot", + "path": "plot.png", + "url": "https://github.com/cetz-package/cetz/blob/master/gallery/plot.typ" + }, + { + "title": "Tree Layout", + "path": "tree.png", + "url": "https://github.com/cetz-package/cetz/blob/master/gallery/tree.typ" + }, + { + "title": "Clustered Barchart", + "path": "barchart.png", + "url": "https://github.com/cetz-package/cetz/blob/master/gallery/barchart.typ" + }, + { + "title": "Waves", + "path": "waves.png", + "url": "https://github.com/cetz-package/cetz/blob/master/gallery/waves.typ" + }, + { + "title": "Karl's Picture", + "path": "karls-picture.png", + "url": "https://github.com/cetz-package/cetz/blob/master/gallery/karls-picture.typ" + }, + { + "title": "Pie Chart", + "path": "pie-chart.png", + "url": "https://github.com/cetz-package/cetz/blob/master/gallery/pie-chart.typ" + } +] diff --git a/assets/karls-picture.png b/assets/karls-picture.png new file mode 100644 index 0000000..2697089 Binary files /dev/null and b/assets/karls-picture.png differ diff --git a/assets/pie-chart.png b/assets/pie-chart.png new file mode 100644 index 0000000..721f27a Binary files /dev/null and b/assets/pie-chart.png differ diff --git a/assets/plot.png b/assets/plot.png new file mode 100644 index 0000000..20b2408 Binary files /dev/null and b/assets/plot.png differ diff --git a/assets/tree.png b/assets/tree.png new file mode 100644 index 0000000..f839350 Binary files /dev/null and b/assets/tree.png differ diff --git a/assets/waves.png b/assets/waves.png new file mode 100644 index 0000000..808d556 Binary files /dev/null and b/assets/waves.png differ diff --git a/favicon-16x16.png b/favicon-16x16.png new file mode 100644 index 0000000..1a72ef0 Binary files /dev/null and b/favicon-16x16.png differ diff --git a/favicon-32x32.png b/favicon-32x32.png new file mode 100644 index 0000000..0c267c5 Binary files /dev/null and b/favicon-32x32.png differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..5d22aa5 Binary files /dev/null and b/favicon.ico differ diff --git a/index.css b/index.css new file mode 100644 index 0000000..c25224b --- /dev/null +++ b/index.css @@ -0,0 +1,212 @@ +body { + font-family: "Roboto", sans-serif; + background-color: #03070b; + color: white; + margin: 0; +} + +a { + font-size: 1rem; + border-radius: 0.5rem; + border: none; + outline: none; + position: relative; + font-weight: 700; + padding: 0.75rem 1.25rem; + z-index: 1; + text-decoration: none; + display: block; + cursor: pointer; + text-align: center; + overflow: hidden; + width: -moz-max-content; + width: max-content; +} +a.solid { + background-color: #37a2ff; + color: #03070b; +} +a.outline { + background: linear-gradient(45deg, #75bfff 2%, #1783e2 52%, #00335f 100%); +} +a.outline::before { + content: ""; + position: absolute; + inset: 4px; + background-color: #03070b; + border-radius: 0.25rem; + z-index: -1; +} +a.outline::after { + content: attr(data); + background: #37a2ff; + background-clip: text; + -webkit-background-clip: text; + color: transparent; +} + +a, +button { + transition: 0.5s all ease-in-out; +} +a:hover, +button:hover { + scale: 1.1; + box-shadow: 0 0 15px rgb(0, 91, 151); +} + +.container { + max-width: 1100px; + margin: auto; +} + +section { + padding: 1.5rem; +} + +.title { + padding: 1rem 0 0 1rem; + margin: 0; + position: relative; +} +.title::after { + content: ""; + position: absolute; + width: 2.5rem; + height: 2px; + inset-block-end: 0; + inset-inline-start: 2.5rem; + background: #37a2ff; +} + +.header-content h1 { + font-size: 6rem; + margin: 0; +} +.header-content h2 { + font-size: 1.75rem; + margin: 0; +} +.header-content p { + font-size: 0.85rem; +} + +.header-buttons { + margin-block-start: 3rem; + display: flex; + gap: 1rem; +} + +.divider { + height: 1px; + background: linear-gradient(45deg, #75bfff 2%, #1783e2 52%, #00335f 100%); + margin-block: 2rem; +} + +.primary { + color: #37a2ff; +} + +.left-arrow { + rotate: -90deg; +} + +.right-arrow { + rotate: 90deg; +} + +.typst-link { + margin-block-start: 2rem; +} + +#carousel-img { + height: 100%; + width: 100%; + flex: 1; + transition: 0.8s all ease; + background-size: contain; + background-repeat: no-repeat; + background-position: center; + display: block; + border-radius: 1rem; +} + +#carousel-title { + color: #03070b; + translate: 1rem 0; + width: 100%; +} +#carousel-title::after { + content: "\f178"; + font-family: FontAwesome; + font-size: 1rem; + margin-inline-start: 0.5rem; + transition: all 0.2s linear 0s; + opacity: 0; +} +#carousel-title:hover { + scale: none; + box-shadow: none; + translate: 0.7rem 0; +} +#carousel-title:hover::after { + opacity: 1; +} + +.carousel { + display: flex; + gap: 0.5rem; + align-items: center; + padding-inline: 0.5rem; +} +.carousel .card { + background-color: white; + height: 350px; + width: 100%; + border-radius: 0.75rem; + box-shadow: 0 0 100px 0px #37a2ff; + display: flex; + flex-direction: column; + align-items: center; +} +.carousel button { + height: 2.5rem; + width: 3rem; + border-radius: 50%; + border: none; + background: linear-gradient(45deg, #75bfff 2%, #1783e2 52%, #00335f 100%); + color: white; + cursor: pointer; +} + +@media (min-width: 550px) { + section, + .carousel { + padding: 3rem; + } + .carousel { + gap: 1rem; + } +} +@media (min-width: 900px) { + header { + display: flex; + justify-content: space-between; + align-items: center; + width: 100%; + margin-block-start: 2rem; + } + .header-content h1 { + font-size: 8rem; + } + .header-content h2 { + font-size: 2rem; + } + .carousel { + flex: 1; + } + .carousel .card { + height: 300px; + box-shadow: 0 0 200px 0px #37a2ff; + } +}/*# sourceMappingURL=index.css.map */ \ No newline at end of file diff --git a/index.css.map b/index.css.map new file mode 100644 index 0000000..2f153d8 --- /dev/null +++ b/index.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["index.scss","index.css"],"names":[],"mappings":"AAIA;EACE,iCAA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A,2BAAA;EACA,8BAAA;EACA,UAAA;ACNJ;ADSE;EACE,WAAA;EACA,gBAAA;EACA,mBAAA;ACPJ;ADQI;EACE,UAAA;ACNN;;ADWA;EACE,aAAA;EACA,WAAA;EACA,mBAAA;EACA,sBAAA;ACRF;ADSE;EACE,uBAAA;EACA,aAAA;EACA,WAAA;EACA,sBAAA;EACA,iCAAA;EACA,aAAA;EACA,sBAAA;EACA,mBAAA;ACPJ;ADUE;EACE,cAAA;EACA,WAAA;EACA,kBAAA;EACA,YAAA;EACA,yEAtLO;EAuLP,YAAA;EACA,eAAA;ACRJ;;ADYA;EACE;;IAEE,aAAA;ECTF;EDWA;IACE,SAAA;ECTF;AACF;ADYA;EACE;IACE,aAAA;IACA,8BAAA;IACA,mBAAA;IACA,WAAA;IACA,wBAAA;ECVF;EDaE;IACE,eAAA;ECXJ;EDaE;IACE,eAAA;ECXJ;EDeA;IACE,OAAA;ECbF;EDcE;IACE,aAAA;IACA,iCAAA;ECZJ;AACF","file":"index.css"} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..2afda30 --- /dev/null +++ b/index.html @@ -0,0 +1,88 @@ + + +
+ + + + + + + + + + + +A Typst drawing package by Johannes Wolf and fenjalien
+ ++ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ac + aliquet sapien, dignissim commodo lectus. Donec viverra erat et magna + viverra dapibus. Vestibulum neque sapien, ornare placerat feugiat eu, + tempor tristique sapien. Aenean justo velit, luctus vitae finibus nec, + feugiat eget turpis. Nulla elit metus, tincidunt in enim molestie, + rhoncus rutrum lorem. Nulla ac nunc quis lectus congue imperdiet sit + amet et nisi. Aliquam erat volutpat. Lorem ipsum dolor sit amet, + consectetur adipiscing elit. Proin volutpat erat eget hendrerit + ornare. Mauris vitae sem quis quam dignissim elementum ut sit amet + lacus. Etiam euismod lacinia turpis, id vestibulum arcu porttitor sit + amet. Proin imperdiet ullamcorper libero id congue. +
+ +