1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-03 19:56:22 -07:00

fixed database handling, fixed http handles, fixed configuration handling, added preliminary templating, etc

This commit is contained in:
Joshua Merrell 2013-04-20 01:21:40 -07:00
parent e6f6124a1f
commit 68b8c03980
45 changed files with 2742 additions and 632 deletions

View file

@ -124,7 +124,8 @@ body {
font-family:sans-serif;
font-size:75%;
margin:8px;
width:90%;
width:100%;
height: 100%;
}
body,html {

View file

@ -22,6 +22,10 @@
font-size:50px;
}
#site-slogan {
font-size:25px;
}
#top-pane {
height:75px;
left:0;

View file

@ -4,7 +4,7 @@ body {
background: #EEF2FF;
color: #000;
margin: 0;
width: 90%;
/*width: 90%;*/
}
#topmenu li {
display: block;
@ -38,6 +38,8 @@ div#loginbox {
top:50%;
margin-left: -100px;
margin-top: -35px;
padding-top:5px;
padding-bottom:5px;
text-align: center;
border: solid 1px;
}

127
html/css/global/front.css Normal file
View file

@ -0,0 +1,127 @@
#footer {
clear:both;
position:absolute;
width: 100%;
left: 0px;
bottom: 0%;
text-align: center;
}
#main {
position:absolute;
top:124px;
left:16%;
height: 100%;
right:21%;
width:auto;
}
#menu {
position:absolute;
}
#side-pane {
position:absolute;
top: 106px;
width:15%;
margin-right: 16px;
}
#site-title {
font-size:50px;
text-align: center;
}
#tab-bar {
margin-left: 16px;
clear:both;
}
#topmenu {
position:absolute;
top: 0px;
left: 0px;
width: 100%;
display: block;
z-index:10;}
.topmenu-item {
display: block;
float: left;
text-align: center;
}
.plus {
width: 12px;
text-align: center;
float:right;
padding: 0px 4px 0px 4px;
}
.tab {
padding-right: 5px;
padding-left: 5px;
display: block;
float: left;
}
.section-body {
overflow: hidden;
margin-right: 0px;
margin-bottom:8px;
right:0px;
min-height: 48px;
}
.section-block {
padding-bottom: 8px;
}
#top-pane {
left:0;
position:absolute;
text-align:center;
top:32px;
width:100%;
z-index: 1;
}
#content {
clear:left;
margin-left:0!important;
padding-left:0!important;
text-align:justify;
}
#recent-posts {
float:right;
margin-top: 98px;
overflow: hidden;
right: 8px;
width:20%;
}
#recent-posts img {
float: left;
padding-right: 8px;
}
#recent-posts .section-body {
padding-top: 8px;
}
.section-title-block {
display:block;
}
a.permalink {
float: right;
}
ul.boardmenu {
list-style:none;
margin:0;
padding-left:0;
}

0
html/css/global/img.css Normal file
View file

View file

@ -0,0 +1,27 @@
.loginbox {
width:300px;
height: 120px;
position: absolute;
left:50%;
top:50%;
margin-left: -150px;
margin-top: -60px;
padding-top:5px;
padding-bottom:5px;
text-align: center;
border: solid 1px;
}
.loginbox input {
width:175px;
height: 30%;
}
#footer {
clear:both;
position:absolute;
width: 100%;
left: 0px;
bottom: 0%;
text-align: center;
}

0
html/css/global/txt.css Normal file
View file

BIN
html/css/int-sprites.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View file

@ -1,76 +1,52 @@
#main {
border-bottom:10px!important;
height:85%;
left:16%;
position:absolute;
top:96px;
width:auto;
}
#menu {
border:0;
height:100%;
left:0;
margin-left:5px;
padding:0;
position:absolute;
top:75px;
width:15%;
#footer {
font-size:12px;
}
#site-title {
background: inherit;
clear: both;
color: #e1b400;
font-family: sans-serif;
font-size:50px;
text-align: center;
width: 100%;
}
#top-pane {
height:75px;
left:0;
position:absolute;
#current-tab {
background-color: #404040;
}
.tab {
background-color: #202020;
border: 1px solid #424242;
text-align:center;
top:0;
width:100%;
}
.section-body {
background-color:#606060;
padding-left:8px;
padding-right: 8px;
padding-bottom: 8px;
}
.section-title-block {
height:19px;
background-color:#202020;
border-radius: 4px 4px 0px 0px;
padding-left:8px;
padding-right: 8px;
}
#topmenu {
left:20%;
padding-bottom:5;
position:absolute;
top:78px;
z-index: 2;
box-shadow: 0 2px 2px 3px #101010;
background-color: #202020;
height: 26px;
}
#topmenu li {
background-color:#404040;
border:1px solid #9295a4;
border-left:none;
border-bottom: none;
display:block;
float:left;
margin-top:-7px;
padding:3px 10px 2px;
.topmenu-item {
padding: 4px;
}
#topmenu li.current {
background-color:#202020;
border-bottom:none;
margin-top:-8px;
padding-top:2px;
.topmenu-item:hover {
background-color: #404040;
}
#topmenu li.first {
border-left:1px solid #9295a4;
}
#topmenu a {
.content {
margin-left:0!important;
padding-left:0!important;
text-align:justify;
}
.menu {
@ -78,44 +54,26 @@
text-align:center;
}
.newssub {
position:absolute;
background-color: #202020;
}
.permalink {
display:block;
text-align:right;
}
.permalink a {
a.permalink {
background: inherit;
color: #f90;
font-family: sans-serif;
text-decoration: none;
}
.permalink a:hover {
a.permalink:hover {
background: inherit;
color: #ffd43f;
font-family: sans-serif;
}
.plus {
background:#404040;
border-radius: 15px;
color:#000;
cursor:pointer;
float:right;
font-size:12px;
height:inherit;
font-weight:400;
margin:0;
padding:1px 4px 2px;
}
.plus:hover {
background:#c5c9e0;
border:1px solid #c97;
cursor:pointer;
}
a {
@ -132,79 +90,24 @@ a:hover {
}
body {
background:#EEF2FF;
color:#000;
font-family:sans-serif;
font-size:75%;
margin:8px;
width:90%;
}
body,html {
margin:0;
padding:0;
background: #32353d;
background: #EEF2FF;
background-attachment: fixed;
background-image: url(images/pipes_bg.png);
color: #d8d0b9;
font-family:sans-serif;
font-size: 12pt;
}
h1 {
color:#000;
font-size:150%;
margin:0;
text-align:center;
}
h1,h2 {
h2 {
background-color: #202020;
-moz-box-shadow: 2px 2px 3px 4px #101010;
-webkit-box-shadow: 2px 2px 3px 4px #101010;
box-shadow: 0 2px 2px 3px #101010;
border-radius: 8px;
text-align:left;
padding-left: 4px;
padding-right: 4px;
}
h1,h3,.menu {
font-family:Verdana,Tahoma,sans-serif;
}
h2 {
border-radius: 8px;
font-size:100%;
margin:1em 0 0;
}
h2 a {
color:#550;
text-decoration:none;
}
h3 {
color:#800;
font-size:medium;
font-weight:400;
margin:0;
text-align:center;
}
li {
margin:0;
}
li a {
display:block;
width:100%;
}
ul.boardmenu li:hover,ul.modmenulink li:hover {
ul.boardmenu li:hover {
background:#404040;
}
ul.boardmenu,ul.modmenulink,div#topmenu ul {
list-style:none;
margin:0;
padding-left:0;
}

106
html/css/pipes/manage.css Normal file
View file

@ -0,0 +1,106 @@
#footer {
font-size:12px;
}
#current-tab {
background-color: #404040;
}
.tab {
background-color: #202020;
border: 1px solid #424242;
text-align:center;
}
.section-body {
background-color:#606060;
padding-left:8px;
padding-right: 8px;
padding-bottom: 8px;
}
.section-title-block {
height:19px;
background-color:#202020;
border-radius: 4px 4px 0px 0px;
padding-left:8px;
padding-right: 8px;
}
#topmenu {
box-shadow: 0 2px 2px 3px #101010;
background-color: #202020;
height: 26px;
}
.topmenu-item {
padding: 4px;
}
.topmenu-item:hover {
background-color: #404040;
}
#topmenu a {
}
.loginbox {
}
.loginbox input {
height:20%;
}
.menu {
margin-top:1em;
text-align:center;
}
.plus {
background:#404040;
color:#000;
height:inherit;
font-weight:400;
}
.plus:hover {
background:#c5c9e0;
cursor:pointer;
}
a {
background: inherit;
color: #f90;
font-family: sans-serif;
text-decoration: none;
}
a:hover {
background: inherit;
color: #ffd43f;
font-family: sans-serif;
}
body {
background: #EEF2FF;
background-attachment: fixed;
background-image: url(images/pipes_bg.png);
color: #d8d0b9;
font-family:sans-serif;
font-size: 12pt;
}
h2 {
background-color: #202020;
-moz-box-shadow: 2px 2px 3px 4px #101010;
-webkit-box-shadow: 2px 2px 3px 4px #101010;
box-shadow: 0 2px 2px 3px #101010;
border-radius: 8px;
padding-left: 4px;
padding-right: 4px;
}
ul.boardmenu li:hover {
background:#404040;
}