Styles and such

This commit is contained in:
Adam Backstrom 2012-05-30 16:03:20 -04:00
parent b67f1bafb7
commit 347fd6f3c9
3 changed files with 27 additions and 23 deletions

View File

@ -25,7 +25,7 @@ abstract class AbstractAction
public function esc_raw() public function esc_raw()
{ {
return nl2br( htmlentities( $this->value ) ); return htmlentities( $this->value );
} }
abstract public function decode(); abstract public function decode();

View File

@ -2,26 +2,8 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title></title> <title>PHP Tools</title>
<style> <link rel="stylesheet" type="text/css" href="style.css">
body {
font-family: Verdana, Arial, sans-serif;
font-size: 67.5%;
}
textarea {
height: 200px;
width: 100%;
}
h2 {
clear: both;
}
.col {
margin-right: 1.8%;
width: 45%;
float: left;
padding: 10px;
}
</style>
</head> </head>
<body> <body>
@ -35,8 +17,6 @@ require_once 'functions.php';
<h1>PHP Tools</h1> <h1>PHP Tools</h1>
<h2>Expand Serialized</h2>
<?php <?php
$action = null; $action = null;

24
style.css Normal file
View File

@ -0,0 +1,24 @@
body {
font-family: Verdana, Arial, sans-serif;
font-size: 67.5%;
}
textarea {
font-family: Inconsolata, Consolas, Monaco, monospace;
font-size: 1.2em;
white-space: pre;
word-wrap: normal;
height: 200px;
width: 100%;
}
h2 {
clear: both;
}
.col {
margin-right: 1.8%;
width: 45%;
float: left;
padding: 10px;
}