Black

How to compile stylesheet.css - Black

How to compile stylesheet.css

by Arty » Sun Mar 29, 2015 9:06 pm

Unlike other styles, this style uses Sass for stylesheet. What is it? I'll explain later in this post. What matters is in this style you should never edit stylesheet.css!

Instead you should edit .scss files. Those are Sass files with syntax compatible with CSS. You can open them with any CSS file editor or basic text editor. File stylesheet.css is generated from many smaller .scss files.

After editing and .scss file, you must recompile stylesheet.css. It is very easy to do and there is a tutorial that explains how to do it: how to compile theme.

Tutorial explains how to compile stylesheet using ether phpBB extension, an app or command line. It also explains how to automatically recompile stylesheet when you edit any .scss file.

---------------------------

So what is Sass? It is basically advanced CSS with variables, conditional statements that makes writing complex CSS a very simple job. See http://sass-lang.com/
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework
User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin
Contact:

Re: How to compile stylesheet.css

by Arty » Sun Jun 14, 2015 4:13 pm

Compiling themes is now many many times easier!

I wrote an extension for phpBB that compiles Sass themes: http://www.artodia.com/threads/sass-com ... -3-1.2186/

Install extension on your forum and compile themes from admin control panel. You no longer need to install any additional software.
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework
User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin
Contact:

Re: How to compile stylesheet.css

by Ripper® » Sat Oct 17, 2015 10:53 pm

I have a small issue with altering the style.
http://www.terry-zone.com/forum/viewforum.php?f=2
I need the flames to be the background of the entire outer page (not behind the forum content in the tables, in other words) instead of just the small section it is. I cannot seem to find where to change the overall background.
User avatar
Ripper®
Registered User
Posts: 830
Joined: Sun Feb 20, 2005 2:54 am
Contact:

Re: How to compile stylesheet.css

by Ripper® » Sat Oct 17, 2015 11:07 pm

Nevermind. I got it after reading through this and downloading the compiler.
User avatar
Ripper®
Registered User
Posts: 830
Joined: Sun Feb 20, 2005 2:54 am
Contact: