diff --git a/index.php b/index.php index fe6e1a2..51adabf 100644 --- a/index.php +++ b/index.php @@ -1,7 +1,25 @@ - + -

LibreCat

+ + + + + +
+ +

LibreCat

+

Welcome to LibreCat!

+

+ LibreCat is a project born out of the lack of Free and + Opens Source solution for a Q&A service. It is licensed + under the GPLv3 license and is based on PHP and SQLite3. + No JS is used. +

+
+ + diff --git a/themes/minimalpunk/css/index.css b/themes/minimalpunk/css/index.css new file mode 100644 index 0000000..c78aebf --- /dev/null +++ b/themes/minimalpunk/css/index.css @@ -0,0 +1,23 @@ +.main-container{ + text-align: center; + padding: 40px; + width: 70%; + margin: auto; +} + +.title{ + font-weight: bold; + font-size: 4pc; + margin-bottom: 40px; +} + +.frontpage-logo{ + margin-bottom: 50px; + width: 300px; +} + +.site-description{ + margin-bottom: 10px; + font-size: 1.25pc; + text-align: left; +} diff --git a/themes/minimalpunk/index.php b/themes/minimalpunk/index.php new file mode 100644 index 0000000..c92e151 --- /dev/null +++ b/themes/minimalpunk/index.php @@ -0,0 +1,4 @@ + diff --git a/themes/minimalpunk/login.php b/themes/minimalpunk/login.php index 3ae133e..e9e6b46 100644 --- a/themes/minimalpunk/login.php +++ b/themes/minimalpunk/login.php @@ -1,3 +1,8 @@ "); +include("css/login.css"); +echo(""); + ?> diff --git a/themes/minimalpunk/main.php b/themes/minimalpunk/main.php index a5606aa..93b3eb2 100644 --- a/themes/minimalpunk/main.php +++ b/themes/minimalpunk/main.php @@ -1,12 +1,16 @@ "); + include($path); + echo(""); +} + echo("\n\t"); -// For some reason inclusion of .css.php fails sometimes on browser, so I have -// to do this workaround -echo(""); +include_css("css/main.css"); echo("\n\t"); echo("\n");