alliswell / less Goto Github PK
View Code? Open in Web Editor NEWA simple minimal WordPress theme built with only what is needed to survive
A simple minimal WordPress theme built with only what is needed to survive
The .font-size
mixin (style.less
, line 552) looks like this:
.font-size(@size){
@rem-value: (@size / 10);
@px-value: @size;
@lineHeight: (@size * 1.48);
line-height: @lineHeight+0px;
font-size: ~"@{px-value}px";
font-size: ~"@{rem-value}rem";
}
which, when compiled, causes the last two lines to look like this:
font-size: 10pxpx;
font-size: 10pxrem;
because the @size
being passed in contains a 'px'. It should be written this way:
.font-size(@size){
@rem-value: (@size / 10);
@px-value: @size;
@lineHeight: (@size * 1.48);
line-height: @lineHeight;
font-size: unit(@px-value,px);
font-size: unit(@rem-value,rem);
}
@alliswell I was just wondering If you would like to have a Jekyll version of this theme. I would personally like to, and I might be able to figure it, was just wondering if you would too?
Hi,
when I enable Less theme and turn on Google Captcha (reCAPTCHA) plugin at my site - captcha is not diplayed although is working..
If I change theme to default - it works.
Im not getting line breaks/P tags on the_excerpt but it works ok when viewing single post/page
Any idea ?
I noticed that the color for article the-content p is set but not for other elements like ul/li. Is this intentional or an oversight?
Thanks,
@mps
Hi,
I've updated my Gravatar logo, but it doesn't seem to be updating on my blog. Is there a way to force it to update?
Thanks.
Great minimal theme, love working with it! Just want to point out that it would be good to have a default 404 page, since incorrect links just go to a blank page with header+footer. I could add a simple 404 page and submit a PR if you want.
Hi!
Thanks for the theme! I am a rookie at CSS. I was wondering is it possible to put a header image, fixed width etc., on all pages through CSS?
awesome clean theme optimized for readability. thanks for that. just wondering if there is a quick way to enable some sort of navigation and search function? thanks again.
After installing with $ npm install -g less
I get the following error:
internal/modules/cjs/loader.js:626
throw err;
^
Error: Cannot find module 'tslib'
Require stack:
- /Users/johannes/.npm-global/lib/node_modules/less/bin/lessc
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:623:15)
at Function.Module._load (internal/modules/cjs/loader.js:527:27)
at Module.require (internal/modules/cjs/loader.js:681:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object.<anonymous> (/Users/johannes/.npm-global/lib/node_modules/less/bin/lessc:9:13)
at Module._compile (internal/modules/cjs/loader.js:774:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
at Module.load (internal/modules/cjs/loader.js:641:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:837:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/Users/johannes/.npm-global/lib/node_modules/less/bin/lessc' ]
Installing $ npm install -g tslib
lessc runs fine, $ lessc --version
> 3.11.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.