-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove prev-selector highlighting - Fix highlighting issues (fix #3) - Fix formatter removing indentation
- Loading branch information
Showing
11 changed files
with
131 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,6 @@ | |
|
||
# Project | ||
package-lock.json -diff | ||
|
||
# Linguist | ||
*.nvss linguist-language=Less |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
# Packages | ||
node_modules/ | ||
test/ | ||
|
||
# Compiled output | ||
formatters/*.js | ||
formatters/*.d.ts | ||
syntaxes/*.json | ||
*.vsix | ||
|
||
# Local files | ||
*.local.* | ||
*.js | ||
*.d.ts | ||
*.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
// NovaSheets // | ||
@var base-font-size = 2em | ||
@var theme color = #7f5d4a | ||
@var url = url("https://example.com") | ||
@var border| size | type | ||
$[size] $[type] $(theme color) | ||
@endvar | ||
|
||
body {border: $( border | size = $(base-font-size) | type = solid ); padding: 4em / 2;} | ||
.title { | ||
margin-left: 1em; font-size: $(base-font-size); border-bottom: $( border | type = dotted | size = 1px ); | ||
&:hover {font-size: $(base-font-size) * 125e-2;} | ||
} | ||
.display, | ||
.content { | ||
padding: 1/2em 1em; | ||
p { | ||
font-family: "sans-serif"; | ||
&-styled {color: $(theme color);} | ||
} | ||
} | ||
|
||
a { | ||
$( @breakpoint | 500px | | ||
.selector {color: red;} | ||
| | ||
.other {color: green;} | ||
) | ||
} | ||
|
||
/*[ $(@pi) ]*/ | ||
|
||
@font-face {font-family: 'Valken'; src: local('Valken'), url('/assets/fonts/valken.ttf') format('truetype');} | ||
|
||
@var underline = {content: ""; display: block; width: 0; height: 2px; margin-left: 25%; background: #fff; transition: 0.7s;} | ||
|
||
// Elements | ||
html {scroll-behavior: smooth;} | ||
body {background: linear-gradient(135deg, #14a, #15d); overflow-x: hidden;} | ||
footer {margin-top: 0;} | ||
|
||
// Pseudo-elements | ||
h2::before, h2::after {$(underline)!; width: 50%;} | ||
h2:hover::before, h2:hover::after {width: 70%; margin-left: 20%;} | ||
a[href]:hover {opacity: 1;} | ||
|
||
// Top tile | ||
#nixinova { | ||
background: $<body><background>; | ||
img {position: absolute; max-width: 50%; filter: brightness(0) invert(1); font-size: 10.4vw; font-family: 'Valken';} | ||
&-news img:hover {opacity: 0.6; transition: 0.2s;} | ||
} | ||
|
||
// Tile containers | ||
.showcase-container { | ||
border-top: 2px solid; text-align: center; | ||
hr {width: 50%;} | ||
h2 {font-size: 8vh;} | ||
img {max-width: 50%;} | ||
ul {padding-left: 0; list-style-type: none; font-size: 2.5em;} | ||
li { | ||
padding: 0.4em; | ||
::after {$(underline)!} | ||
:hover::after {width: 50%;} | ||
a {display: inline-block; color: #eee;} | ||
} | ||
} | ||
.content-container { | ||
@ 900px {display: flex;} | ||
div {margin: auto;} | ||
.title @ 900px {width: 50vw;} | ||
.contents @ 900px {width: 40vw; text-align: left;} | ||
} | ||
.image-background {background: fixed #333 center; background-blend-mode: overlay; background-size: cover;} | ||
|
||
$( @replace | text | /a/ | 3 ) | ||
|
||
/* Copyright © Nixinova 2021 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters