Change to more minimalistic website design + few HTML modernizations
I didn't touch the actual man page pages yet, but they seem to have mostly survived my CSS changes. There's a LOT of general UI improvements to be done, while this commit is really just a different style of paint.
This commit is contained in:
parent
b531f71ab0
commit
3db1283a16
5 changed files with 152 additions and 204 deletions
21
www/man.js
21
www/man.js
|
|
@ -459,24 +459,3 @@ function dsResults(hr, obj) {
|
|||
'locations')));
|
||||
})();
|
||||
})();
|
||||
|
||||
|
||||
|
||||
|
||||
// The "more..." links on the homepage.
|
||||
(function(){
|
||||
var sys = byId('systems');
|
||||
if(!sys)
|
||||
return;
|
||||
var f = function() {
|
||||
var l = byName(this.parentNode, 'a');
|
||||
var show = hasClass(l[3], 'hidden');
|
||||
for(var i=3; i<l.length-1; i++)
|
||||
setClass(l[i], 'hidden', !show);
|
||||
setText(this, show ? '...less' : 'more...');
|
||||
return false
|
||||
};
|
||||
var l = byClass(sys, 'a', 'more');
|
||||
for(var i=0; i<l.length; i++)
|
||||
l[i].onclick = f;
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue