diff --git a/src/_data/arts.json b/src/_data/arts.json index 4d3607e..daa21d9 100644 --- a/src/_data/arts.json +++ b/src/_data/arts.json @@ -1,43 +1,53 @@ [ { "artId":"ghost", - "bgColor":"Bgc-$artGhost" + "bgColor":"Bgc-$artGhost", + "showInMain": true }, { "artId":"flushed-emoji", - "bgColor":"Bgc-$artFlushedEmoji" + "bgColor":"Bgc-$artFlushedEmoji", + "showInMain": true }, { "artId":"penrose-triangle", - "bgColor":"Bgc-$artPenroseTriangle" + "bgColor":"Bgc-$artPenroseTriangle", + "showInMain": true }, { "artId":"exploding-head", - "bgColor":"Bgc-$artExplodingHead" + "bgColor":"Bgc-$artExplodingHead", + "showInMain": true }, { "artId":"clown-emoji", - "bgColor":"Bgc-$artClownEmoji" + "bgColor":"Bgc-$artClownEmoji", + "showInMain": false }, { "artId":"mushroom", - "bgColor":"Bgc-$artMushroom" + "bgColor":"Bgc-$artMushroom", + "showInMain": false }, { "artId":"robot-hare", - "bgColor":"Bgc-$artRobotHare" + "bgColor":"Bgc-$artRobotHare", + "showInMain": true }, { "artId":"funny-cake", - "bgColor":"Bgc-$artFunnyCake" + "bgColor":"Bgc-$artFunnyCake", + "showInMain": false }, { "artId":"cat", - "bgColor":"Bgc-$artCat" + "bgColor":"Bgc-$artCat", + "showInMain": false }, { "artId":"corgi", - "bgColor":"Bgc-$artCorgi" + "bgColor":"Bgc-$artCorgi", + "showInMain": true } ] \ No newline at end of file diff --git a/src/_data/extLinks.json b/src/_data/extLinks.json index c67127c..f6b6530 100644 --- a/src/_data/extLinks.json +++ b/src/_data/extLinks.json @@ -8,10 +8,5 @@ "name":"Github", "icon":"github", "link":"https://github.com/mlutcss/mlut" - }, - { - "name":"Documentation", - "icon":"book", - "link":"https://docs.mlut.style/" } ] diff --git a/src/_data/features.json b/src/_data/features.json index 861586e..16c06e3 100644 --- a/src/_data/features.json +++ b/src/_data/features.json @@ -1,32 +1,27 @@ [ - { - "title": "Short and consistent naming ", - "text": "The abbreviations are based on the popularity of CSS properties and are compiled according to a single algorithm. If you know CSS, you almost know mlut", - "img": "lightning", - "bg": "-Gdl120d,$primary800,$primary750", - "bgH":"-Gdl120d,$primary700,$primary650_h", - "imgBg": "-Gdl120d,$primaryBright600,$primaryBright650", - "headC":"C-$primary300", - "textC":"C-$primary400" - }, - { - "title": "Rich and native syntax", - "text": "It is like Vim for CSS. Conveniently create complex styles with a powerful syntax that is conceptually close to CSS", - "img": "angled-brackets", - "bg": "-Gdl120d,$secondary800,$secondary750", - "bgH":"-Gdl120d,$secondary700,$secondary650_h", - "imgBg": "-Gdl120d,$secondaryBright600,$secondaryBright650", - "headC":"C-$secondary300", - "textC":"C-$secondary400" - }, - { - "title": "Written in Sass", - "text": "Leverage the full power of the preprocessor in your handwritten CSS and easily link it to utility classes", - "img": "sass", - "bg": "-Gdl120d,$tertiary800,$tertiary750", - "bgH":"-Gdl120d,$tertiary700,$tertiary650_h", - "imgBg": "-Gdl120d,$tertiaryBright600,$tertiaryBright650", - "headC":"C-$tertiary300", - "textC":"C-$tertiary400" - } + { + "title": "Rich syntax", + "text": "Powerful, Vim-like syntax for complex styles. Achieve more with less code while staying conceptually close to native CSS logic.", + "img": "curly-braces", + "sizeSVG": "W34 H27 lg_W37 lg_H30", + "padding": "P4u lg_P36;40", + "gridPosition": "lg_Gc1 lg_Grs1 lg_Gre3 lg_As-st", + "extraContent": "rich-syntax" + }, + { + "title": "Easy naming", + "text": "Abbreviations are generated by a single algorithm based on CSS property popularity. If you know CSS, you already know mlut.", + "img": "ease-name", + "sizeSVG": "W30 H30 lg_W32 lg_H32", + "padding": "P4u lg_P16;20", + "gridPosition": "lg_Gc2" + }, + { + "title": "Sass availability", + "text": "Full Sass power at your fingertips. Easily integrate preprocessor logic with utility classes for maximum flexibility.", + "img": "sass-availability", + "sizeSVG": "W36 H27 lg_W40 lg_H30", + "padding": "P4u lg_P16;20", + "gridPosition": "lg_Gc2" + } ] diff --git a/src/_data/navLinks.json b/src/_data/navLinks.json index 1bfd6cf..cd663bc 100644 --- a/src/_data/navLinks.json +++ b/src/_data/navLinks.json @@ -1,6 +1,6 @@ [ { - "link":"/#features", + "link":"/#key-features", "text":"Features" }, { @@ -11,6 +11,10 @@ "link":"/arts", "text":"Art" }, + { + "link":"https://docs.mlut.style/", + "text":"Docs" + }, { "link":"https://play.mlut.style/", "text":"Sandbox" diff --git a/src/_includes/components/code-block.ejs b/src/_includes/components/code-block.ejs index cdb304d..741943c 100644 --- a/src/_includes/components/code-block.ejs +++ b/src/_includes/components/code-block.ejs @@ -1,6 +1,6 @@ <% if(it.src) {%> -
<%- include(it.src)%>
+ <%- include(it.src)%>
Invalid source
diff --git a/src/_includes/components/embedded/rich-syntax.ejs b/src/_includes/components/embedded/rich-syntax.ejs new file mode 100644 index 0000000..9507f3a --- /dev/null +++ b/src/_includes/components/embedded/rich-syntax.ejs @@ -0,0 +1,31 @@ +
+ @:ah_01_h
+
+
+ @media (any-hover) {
+ .\@\:ah_01_h:hover {
+ opacity: 1
+ }
+ }
+
+