diff --git a/docs/assets/content1.png b/docs/assets/content1.png new file mode 100644 index 0000000..e9a3bbb Binary files /dev/null and b/docs/assets/content1.png differ diff --git a/docs/assets/content2.png b/docs/assets/content2.png new file mode 100644 index 0000000..563da7a Binary files /dev/null and b/docs/assets/content2.png differ diff --git a/docs/index.html b/docs/index.html index a204dce..93193cd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -13,19 +13,37 @@
- +

diji

Create a vanilla JS project in seconds


-
Get started Download
+
+
+
+ +
+
+

地基 (Dìjī) means foundation in Chinese

+

That's what diji is, just the foundation. It's not a framework, it's not even a static website generator. It's just a simple program that makes it quicker and easier to start a vanilla project.

+
+
+
+
+
+
+ +
+
+

Works everywhere

+

Either move it to your projects folder (for example documents) or add it to your $PATH and use it everywhere

+
+
+
-

diji

-

Generated with diji 1.0

-

Website content

diff --git a/docs/style.css b/docs/style.css index 7e83ee3..f3b86c9 100644 --- a/docs/style.css +++ b/docs/style.css @@ -3,6 +3,8 @@ body { font-family: 'Open Sans', sans-serif; +background-color: #18181b; +color: white; } html, @@ -14,13 +16,12 @@ body { .header { height: 100%; padding: 20px; - padding-top: 75px; - padding-bottom: 75px; + padding-top: 50px; + padding-bottom: 50px; margin: 0px; align-items: center; justify-content: center; display: flex; - flex: 0 0 100%; background: linear-gradient(#7D7D7D, #4A4A4A); } .headername { @@ -44,15 +45,120 @@ margin-top: 20px; .button { margin: 10px; padding: 10px; - padding-left: 20px; - padding-right: 20px; + width: 200px; background-color:rgba(255, 255, 255, 0.20); border-radius: 100px; color: white; text-decoration: none; font-size: 17pt; font-weight: 500; + display: inline-block } .getstarted { background-color: white; color: black; +} .logo { + margin-bottom: 20px; +} .contentpart { + height: 100%; + padding: 0px; + padding-top: 0px; + padding-bottom: 0px; + margin: 0px; + display: flex; + width: 100%; + + +} + +.contentpart2 { + height: 100%; + padding: 0px; + padding-top: 0px; + padding-bottom: 0px; + margin: 0px; + display: flex; + width: 100%; + background-color: #27272a; + + +} +.contentimage { + width: 350px; + margin-left: auto; + margin-right: 0px; + grid-column: 2; + display: block; +} + +.contentimage2 { + width: 350px; + margin-left: 0px; + margin-right: auto; + grid-column: 1; + display: block; +} + +.contenttext { + display: inline-block; + padding: 20px; + padding-bottom: 0px; + padding-left: 30px; + padding-right: 30px; + margin: 0px; +} .contentgrid { + width: 100%; +} .contenttext2 { + display: inline-block; + padding: 15px; + padding-bottom: 50px; + margin: 0px; + padding-left: 30px; + padding-right: 30px; + font-weight: 500; +} + +@media only screen and (min-width: 48em) { + .contentimage { + width: 500px; + } + .contentimage2 { + width: 500px; + } + .tablephoto { + grid-column: 2; + grid-row: 1; + }.tabletext { + grid-column: 1; + grid-row: 1; + } + + .tablephoto2 { + grid-column: 1; + grid-row: 1; + }.tabletext2 { + grid-column: 2; + grid-row: 1; + } + + .contenttext { + grid-column: 1; + + } + .contentgrid { + display: grid; + width: 100%; + grid-template-columns: 57% 43%; + grid-template-rows: 100%; + } + .contentgrid2 { + display: grid; + width: 100%; + grid-template-columns: 43% 57%; + grid-template-rows: 100%; + } + .contenttext { + vertical-align: top; + } .contenttext2 { + vertical-align: top; + } } \ No newline at end of file