body {
- background-color: #fff;
- font-family: 'VT323', monospace;
+ background-color: white;
+ font-family: times, 'Times New Roman', serif;
+ font-smooth: never;
+ -webkit-font-smoothing: none;
}
-a.logo {
- display: block;
- margin: 20px;
- background-size: 100% 100%;
- height: 80px;
- width: 720px;
- background-image: url(/img/unlimited-pizza-animated-logo.gif);
+
+h1 a {
+ color: black;
+}
+
+h1 a:visited {
+ color: black;
}
-a.logo span {display:none}
em {color:#99a3a4}
.main-container {
h1,
h2,
h3 {
- text-transform: uppercase;
font-weight: 300;
}
-h1{
- font-size: 72px;
- line-height: 81px;
+h1 {
+ font-size: 3.33em;
+}
+
+h2 {
+ font-size: 1.61em;
}
a {
- color: #00dddd;
+ color: blue;
}
-.content {
- margin: 20px;
- font-size: 24px;
+a:visited {
+ color: purple;
}
ul {
list-style: square;
}
-.main-container section,
-.main-container aside{ text-align: left}
-
+li {
+ line-height: 1.82em;
+}
/* Guestbook */
.guestbook-feed, .guestbook-form ul {
.guestbook-form li {
display: block;
+ max-width: 28em;
}
.guestbook-form .guestbook-label {
- width: 8.571em;
- float: left;
- text-align: right;
- padding: 0.5em 1.071em;
text-transform: uppercase;
-}
-
-.guestbook-form .guestbook-control {
- float: left;
-}
-
-.guestbook-form .guestbook-control-group {
- clear: both;
-}
-
-.guestbook-form .comment-control {
- width: 42.857em;
- height: 10em;
-}
-
-.guestbook-content, .guestbook-form {
- clear: both;
- padding: 2.142em 0;
+ text-align: center;
+ max-width: 28em;
+ width: 100%;
+ text-style: italic;
}
.guestbook-feed .guestbook-post {
padding: 1.071em;
}
-.guestbook-post .author {
- font-weight: bold;
-}
-
/*
* The Recorder CSS
*/
-.pepperoni-widget {
- justify-content: space-between;
- display: flex;
-}
+.pepperoni-widget .record-clear,
.pepperoni-widget .record-button {
- display: flex;
- font-size: 1.538461em;
- padding: 15px 20px 30px;
- margin: 1em;
- height: 1em;
- background-color: #f1f1f1;
+ margin: 1em 0;
+ padding: 1em 0;
+ background-color: blue;
+ color: white;
cursor: pointer;
transition: background-color 0.2s ease, color 0.2s ease;
-}
-
-.record-info {
- margin: 1em 0;
+ display: block;
+ text-align: center;
}
.pepperoni-widget .record-button.recording {
- background-color: #ff00ff;
+ background-color: magenta;
color: white;
- padding: 20px 25px 25px 15px
}
+.guestbook-submit:hover,
+.pepperoni-widget .record-clear:hover,
.pepperoni-widget .record-button:hover {
- text-decoration: none;
- background-color: #fafafa;
-}
-
-.pepperoni-widget .record-button.recording:hover {
- background-color: #ff00ff;
- color: #f1f1f1;
-}
-
-.pepperoni-widget .record-progress {
- justify-content: space-between;
- display: flex;
- margin: 0.5em 0.76em;
+ background-color: red;
}
.record-progress-bar-container {
background-color: #f1f1f1;
- height: 2em;
- width: 15.385em;
- margin-right: 0.76em;
+ height: 4em;
}
.record-progress-bar {
- height: 2em;
- background-color: #d30058;
+ height: 4em;
+ background-color: cyan;
width: 0;
}
-.record-clear {
- margin-top: 0.1em;
- text-transform: uppercase;
- font-size: 1em;
- width: 4em;
- cursor: pointer;
-}
-
.record-clear:hover {
text-decoration: none;
}
.record-preview {
- margin: 0.76em;
- width: 15.385em;
- height: 2em;
+ max-width: 28em;
+ width: 100%;
+ height: 4em;
+ display: block;
+}
+
+.guestbook-control input {
+ width: 100%;
+ font-family: times, 'Times New Roman', serif;
}
.guestbook-submit {
- border-radius: 0;
+ background-color: magenta;
+ color: white;
+ display: block;
+ height: 4em;
+ font-size: 1em;
+ max-width: 28em;
+ padding: 0;
border: 0;
- background-color: #ff00ff;
- font-family: 'VT323', monospace;
- font-size: 24px;
- color: #fff;
- padding: 10px;
- margin-left: 15px;
+ cursor: pointer;
}
-.filter-switches label {
- display: inline;
- margin-right: 2em;
+.name-control {
+ max-width: 27.5em;
+ padding: 0.2em;
+ font-size: 1em;
+ display: block;
}
-.guestbook-control input {
- font-family: 'VT323', monospace;
- padding: 10px;
- font-size: 24px;
+.filter-switches {
+ padding: 1em 0;
+}
+
+.filter-switches input {
+ display: inline;
+ width: auto;
+ margin-left: 1em;
}
---
<div class="content">
+ <h2>Audio Guestbook</h2>
<div class="guestbook-form">
- <h1>Audio Guestbook</h1>
<p>
Record, change effects, leave a nice message, give yourself memos for the
future, hide riddles, broadcast spells.
<form method="post">
<ul>
<div class="guestbook-control-group">
- <li class="guestbook-label"><label for="name-control">Nombre / Name</label></li>
+ <li class="guestbook-label"><label for="name-control">Name</label></li>
<li class="guestbook-control"><input name="name" class="name-control" id="name-control" /></li>
</div>
<div class="guestbook-control-group">
</div>
<p><a href="/index.html">Back to /index.html</a>
<div class="guestbook-content">
- <h1>CLIPS</h1>
+ <h2>Clips</h2>
<ul class="guestbook-feed">
</ul>
</div>
Class(UnlimitedPizza, "Pepperoni").inherits(Widget)({
INNER_HTML : ' \
-<a class="record-button">⬤</a> \
+<a class="record-button">Record.</a> \
<div class="record-info"> \
<div class="record-progress"> \
<div class="record-progress-bar-container"> \
<div class="record-progress-bar"></div> \
</div> \
- <a class="record-clear">X</a> \
+ <a class="record-clear">Clear recording.</a> \
</div> \
<audio class="record-preview" controls></audio> \
<div class="filter-switches"> \
</div> \
</div> \
',
- PAUSE : '▐▐',
- RECORD : '⬤',
+ PAUSE : 'Pause.',
+ RECORD : 'Record.',
prototype : {
maxSize : 1048576,
recording : false,