on master help sign in
Add Less file for syntax tests
c3f85c8sharkdp
tests/syntax-tests/highlighted/Less/example.lessnew file+43
@@ -0,0 +1,43 @@
1+// Load fonts
2+@import url(https://fonts.googleapis.com/css?family=Lustria|Lato:700);
3+
4+// Color scheme https://kuler.adobe.com/Salmon-on-Ice-color-theme-2291686/
5+@dk: #3E454C; // dark
6+@hl: #2185C5; // highlight
7+@hll: #7ECEFD; // lighter highlight
8+@lt: #FFF6E5; // light
9+@ct: #FF7F66; // contrast
10+
11+// Sizes
12+@contentWidth: 750px;
13+@marginTop: 50px;
14+@marginSide: 100px;
15+
16+// Fonts and Text
17+@font: 'Lustria', serif;
18+@headerFont: 'Lato', sans;
19+
20+@fontSize: 19px;
21+@fontSizeH1: 50px;
22+@fontSizeH2: 30px;
23+@parSep: 40px;
24+
25+@linkSizeFactor: 0.8;
26+
27+// Sizes for small devices
28+@smallMarginTop: 25px;
29+@smallMarginSide: 25px;
30+@smallFontSize: 18px;
31+@smallFontSizeH1: 40px;
32+@smallFontSizeH2: 28px;
33+@smallParSep: 25px;
34+
35+#wrapper {
36+ width: 100%;
37+ margin: auto;
38+ min-height: 100%;
39+ height: auto !important;
40+ height: 100%;
41+ overflow: hidden !important;
42+ position: relative;
43+}
tests/syntax-tests/source/Less/example.lessnew file+43
@@ -0,0 +1,43 @@
1+// Load fonts
2+@import url(https://fonts.googleapis.com/css?family=Lustria|Lato:700);
3+
4+// Color scheme https://kuler.adobe.com/Salmon-on-Ice-color-theme-2291686/
5+@dk: #3E454C; // dark
6+@hl: #2185C5; // highlight
7+@hll: #7ECEFD; // lighter highlight
8+@lt: #FFF6E5; // light
9+@ct: #FF7F66; // contrast
10+
11+// Sizes
12+@contentWidth: 750px;
13+@marginTop: 50px;
14+@marginSide: 100px;
15+
16+// Fonts and Text
17+@font: 'Lustria', serif;
18+@headerFont: 'Lato', sans;
19+
20+@fontSize: 19px;
21+@fontSizeH1: 50px;
22+@fontSizeH2: 30px;
23+@parSep: 40px;
24+
25+@linkSizeFactor: 0.8;
26+
27+// Sizes for small devices
28+@smallMarginTop: 25px;
29+@smallMarginSide: 25px;
30+@smallFontSize: 18px;
31+@smallFontSizeH1: 40px;
32+@smallFontSizeH2: 28px;
33+@smallParSep: 25px;
34+
35+#wrapper {
36+ width: 100%;
37+ margin: auto;
38+ min-height: 100%;
39+ height: auto !important;
40+ height: 100%;
41+ overflow: hidden !important;
42+ position: relative;
43+}