Skip to content

Commit

Permalink
Test adoc to html action (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
Serdaro committed Mar 5, 2024
1 parent d608cad commit 75b3644
Show file tree
Hide file tree
Showing 9 changed files with 182 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/adoc-html.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Adoc to HTML

on:
workflow_dispatch:

jobs:
test:

runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 20
- name: Convert adoc
run: |
npm i asciidoctor
asciidoctor ../../docs/modules/whats-new/whats-new.adoc
mv ../../docs/modules/whats-new/whats-new.adoc ../../docs/modules/whats-new/index.adoc
Binary file added docs/modules/whats-new/assets/glove.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/modules/whats-new/assets/stars-L.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/modules/whats-new/assets/stars-M.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/modules/whats-new/assets/stars-S.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/modules/whats-new/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/modules/whats-new/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/modules/whats-new/favicon.ico
Binary file not shown.
152 changes: 152 additions & 0 deletions docs/modules/whats-new/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
@import url("https://rsms.me/inter/inter-ui.css");

body {
position: relative;
margin: 0;
padding: 0;
font-family: "Inter UI", sans-serif;
text-align: center;
color: white;
}

.titan-background {
position: absolute;
width: 100%;
background-image: linear-gradient(-180deg, #000000 0%, #200835 100%);
overflow: hidden;
z-index: 1;
/* Make the rubber band scroll not show empty white space */
top: -10%;
height: 120%;
min-height: 120vh;
margin-bottom: -20%;
}

.stars {
position: absolute;
top: 0;
width: 300vw;
height: 100vh;
transform: translate(0%, 0%);
background-size: contain;
background-repeat: repeat;
transform-origin: top left;
}

.stars-L {
background-image: url("assets/stars-L.svg");
background-size: 890px;
height: 750px;
animation: panning-stars 200s linear infinite alternate;
}

.stars-M {
background-image: url("assets/stars-M.svg");
height: 530px;
animation: panning-stars 300s linear infinite alternate;
}

.stars-S {
background-image: url("assets/stars-S.svg");
height: 370px;
animation: panning-stars 400s linear infinite alternate;
}

@keyframes panning-stars {
from {
transform: translate(-20%, 0%);
}
to {
transform: translate(-80%, -40%);
}
}

.marvellous-container {
position: relative;
z-index: 2;
padding: 104px 0 24px 0;
width: 95%;
max-width: 600px;
margin: auto;
}

h1 {
display: block;
font-size: 80px;
margin: 0 0 24px 0;
}

@media (max-width: 500px) {
h1 {
font-size: 16vw;
}
}

h2 {
font-weight: 500;
font-size: 24px;
}

h3 {
font-weight: 300;
font-size: 24px;
}

a {
color: inherit;
text-decoration: underline;
}

.title-marvel {
font-weight: bolder;
color: #020103;
letter-spacing: -6.7px;
text-transform: uppercase;
padding: 0 16px;
background: #9b00f5;
}

.title-studios {
position: relative;
display: inline-block;
font-weight: bold;
color: #9b00f5;
letter-spacing: -4.5px;
text-transform: uppercase;
padding: 0 16px;
border-color: #9b00f5;
border-top: 8px solid;
border-bottom: 8px solid;
line-height: 1;
}

code {
display: block;
box-sizing: border-box;
text-align: left;
font-size: 18px;
width: 100%;
padding: 16px 24px;
background: rgba(44, 37, 44, 0.8);
border: 1px solid #7f797f;
border-radius: 8px;
margin-bottom: 16px;
}

.header {
margin-bottom: 104px;
}

.installation-instructions,
.usage-instructions {
margin-top: 64px;
}

.footer {
margin-top: 224px;
}

.footer img {
height: 104px;
width: auto;
}

0 comments on commit 75b3644

Please sign in to comment.