diff --git a/.gitignore b/.gitignore index 466a2e5..192aa4e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ *.db - +*~ diff --git a/login.php b/login.php index 2b1a479..d4a8af5 100644 --- a/login.php +++ b/login.php @@ -72,23 +72,37 @@ if(isset($_POST["reg"])){ - Login + Login | LibreCat -

Login

+ +
+ + + +
+

Login

" id="logname" name="logname"/>
- $logErrorMsg

\n"; ?> + $logErrorMsg

\n"; ?>
-

Register

+
+ + + +
+

Register

" id="regname" name="regname"/>

" id="invite" name="invite"/>
- $regErrorMsg

\n"; ?> + $regErrorMsg

\n"; ?>
+
+ +
diff --git a/themes/minimalpunk/colors.php~ b/themes/minimalpunk/colors.php~ deleted file mode 100644 index bb672ba..0000000 --- a/themes/minimalpunk/colors.php~ +++ /dev/null @@ -1,4 +0,0 @@ - diff --git a/themes/minimalpunk/css/login.css b/themes/minimalpunk/css/login.css new file mode 100644 index 0000000..187bf82 --- /dev/null +++ b/themes/minimalpunk/css/login.css @@ -0,0 +1,28 @@ + +#main-container{ + display: flex; +} + +.section{ + flex: 50%; + margin: 30px; + margin-bottom: 60px; + padding: 10px; + text-align: center; +} + .section input{ + margin: 10px; + width: auto; + } + +.title{ + font-weight: bold; + font-size: 2pc; + margin-bottom: 20px; +} + +@media screen and (max-width: 900px){ + #main-container{ + display: block; + } +} diff --git a/themes/minimalpunk/css/main.css b/themes/minimalpunk/css/main.css new file mode 100644 index 0000000..eb45ea6 --- /dev/null +++ b/themes/minimalpunk/css/main.css @@ -0,0 +1,38 @@ + +@font-face{ + font-family: liberation-sans; + src: url(/themes/minimalpunk/assets/liberation-sans-Regular.ttf) format("truetype"); +} +@font-face{ + font-family: liberation-sans; + font-weight: bold; + src: url(/themes/minimalpunk/assets/liberation-sans-Bold.ttf) format("truetype"); +} + +body{ + font-family: liberation-sans; + background-color: ; + color: white; +} + +a{ + color: white; +} + +input{ + background-color: ; + color: white; + border: none; + padding: 10px 20px; +} + +body{ + background-image: url("/themes/minimalpunk/assets/logo_1000px.png"): + background-size: 100px 100px; +} + +#header{ + text-align: right; + padding: 20px; + background-color: ; +} diff --git a/themes/minimalpunk/css/main.css.php b/themes/minimalpunk/css/main.css.php index e0ee5cb..52326c8 100644 --- a/themes/minimalpunk/css/main.css.php +++ b/themes/minimalpunk/css/main.css.php @@ -30,4 +30,3 @@ body{ background-image: url("/themes/minimalpunk/assets/logo_1000px.png"): background-size: 100px 100px; } - diff --git a/themes/minimalpunk/css/reset.css b/themes/minimalpunk/css/reset.css index ed11813..d678be9 100644 --- a/themes/minimalpunk/css/reset.css +++ b/themes/minimalpunk/css/reset.css @@ -46,3 +46,4 @@ table { border-collapse: collapse; border-spacing: 0; } + diff --git a/themes/minimalpunk/main.php b/themes/minimalpunk/main.php index a71fef8..a5606aa 100644 --- a/themes/minimalpunk/main.php +++ b/themes/minimalpunk/main.php @@ -1,6 +1,13 @@ '); -echo(''); -echo(''); -echo(''); +echo("\n\t"); + +// For some reason inclusion of .css.php fails sometimes on browser, so I have +// to do this workaround +echo(""); + +echo("\n\t"); +echo("\n"); ?>