cosmetic tweaks: lowercase first character, image alignment css, newest projects first
This commit is contained in:
parent
6e9715e451
commit
a4262f8f8f
@ -1,3 +0,0 @@
|
||||
assorted old projects
|
||||
|
||||
A longer description goes here.
|
@ -127,6 +127,7 @@ class CProject {
|
||||
if ($file == 'README.txt') {
|
||||
$this->longdesc = file_get_contents($this->dir.'README.txt');
|
||||
$this->shortdesc = array_shift(explode("\n", $this->longdesc));
|
||||
$this->shortdesc[0] = strtolower($this->shortdesc[0]); // cosmetic lowercase
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -178,7 +179,7 @@ class CProject {
|
||||
|
||||
<div class="projinfo">
|
||||
|
||||
<div class="projbody">
|
||||
<div class="projbody projbody_<?=(count($this->images) ? 'half' : 'full')?>w">
|
||||
|
||||
<strong>ABOUT</strong>
|
||||
|
||||
@ -263,7 +264,7 @@ function buildall() {
|
||||
// List projects
|
||||
|
||||
$ls = scandir(BASEDIR.'data');
|
||||
sort($ls);
|
||||
rsort($ls);
|
||||
$projects = array();
|
||||
foreach($ls as $dirname) {
|
||||
if ($dirname[0] == '.') continue;
|
||||
|
@ -63,7 +63,12 @@ html, body {
|
||||
.projbody {
|
||||
position:absolute;
|
||||
left:0;
|
||||
right: 64px;
|
||||
}
|
||||
.projbody_halfw {
|
||||
right: 74px;
|
||||
}
|
||||
.projbody_fullw {
|
||||
right:0;
|
||||
}
|
||||
.projimg {
|
||||
position:absolute;
|
||||
|
Reference in New Issue
Block a user