Browse Source

...

pull/40/head
Savetheinternet 13 years ago
parent
commit
8998173e00
  1. 4
      install.php
  2. 4
      main.js
  3. 58
      style.css

4
install.php

@ -1,6 +1,6 @@
<?php <?php
// Installation/upgrade file // Installation/upgrade file
define('VERSION', 'v0.9.2-dev-3'); define('VERSION', 'v0.9.2');
require 'inc/functions.php'; require 'inc/functions.php';
require 'inc/display.php'; require 'inc/display.php';
@ -57,7 +57,7 @@
query(sprintf("ALTER TABLE `posts_%s` CHANGE `name` `name` VARCHAR( 35 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL", $_board['uri'])) or error(db_error()); query(sprintf("ALTER TABLE `posts_%s` CHANGE `name` `name` VARCHAR( 35 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL", $_board['uri'])) or error(db_error());
} }
case 'v0.9.2-dev-2': case 'v0.9.2-dev-2':
// Upgrade to v0.9.2-dev-3 // Upgrade to v0.9.2-dev-3 (v0.9.2)
$boards = listBoards(); $boards = listBoards();
foreach($boards as &$_board) { foreach($boards as &$_board) {

4
main.js

@ -53,8 +53,8 @@ function citeReply(id) {
var selectedstyle = 'Yotsuba B'; var selectedstyle = 'Yotsuba B';
var styles = [ var styles = [
['Yotsuba B', '/board/default.css'], ['Yotsuba B', '/default.css'],
['Yotsuba', '/board/yotsuba.css'] ['Yotsuba', '/yotsuba.css']
]; ];
var saved = {}; var saved = {};

58
style.css

@ -40,29 +40,29 @@ h2 {
font-size: 11pt; font-size: 11pt;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
} }
h1 { h1 {
font-family: tahoma; font-family: tahoma;
letter-spacing: -2px; letter-spacing: -2px;
font-size: 20pt; font-size: 20pt;
margin-bottom: 0; margin-bottom: 0;
} }
div.title, h1 { div.title, h1 {
color: #AF0A0F; color: #AF0A0F;
text-align: center; text-align: center;
} }
div.title { div.title {
font-size: 8pt; font-size: 8pt;
margin-bottom: 2em; margin-bottom: 2em;
} }
form { form {
margin-bottom: 4em; margin-bottom: 4em;
} }
form table { form table {
margin: auto; margin: auto;
} }
form table input { form table input {
height: auto; height: auto;
} }
input[type="text"], input[type="password"], textarea { input[type="text"], input[type="password"], textarea {
border: 1px solid #a9a9a9; border: 1px solid #a9a9a9;
@ -71,17 +71,17 @@ input[type="text"], input[type="password"], textarea {
text-transform: none; text-transform: none;
word-spacing: normal; word-spacing: normal;
} }
form table tr td { form table tr td {
text-align: left; text-align: left;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
} }
form table tr th { form table tr th {
text-align: left; text-align: left;
padding: 4px; padding: 4px;
} }
form table tr th { form table tr th {
background: #98E; background: #98E;
} }
form table tr td div { form table tr td div {
text-align: center; text-align: center;

Loading…
Cancel
Save