1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
|
<html>
<head>
<title>Flash Examples</title>
<style type="text/css" media="screen">
* {
margin: 0;
padding: 0;
}
body {
font-family: Helvetica;
font-size: 18px;
}
a {
color: #f09;
text-decoration: none;
padding: 0px 3px;
}
a:hover {
background: #f09;
color: #fff;
}
a:active {
text-decoration: underline;
}
h1 {
text-align: center;
}
code {
font-family: Bitstream Vera Sans Mono , monospace;
background: #D4EBF7;
}
form {
margin: 0.4em auto;
display: inline-block;
}
label {
line-height: 1em;
height: 1em;
}
label span {
display: block;
font-size: 12px;
margin-bottom: 1px;
}
label a {
font-weight: bold;
float: right;
margin-right: 79px;
line-height: 1.5em;
}
input[type="text"] {
padding: 2px;
font-size: 18px;
width: 610px;
margin-right: 10px;
}
input[type="submit"] {
cursor: pointer;
vertical-align: 20%;
}
.err, .ok {
margin: 0.3em 0;
padding: 5px 7px;
text-align: center;
color: #fff;
}
.ok {
background: #00A8FF;
}
.err {
background: #f10;
}
.err_on {
display: inline-block;
padding: 0px 3px;
color: #f10;
font-weight: bold;
}
.highlight {
background: #ffc;
padding: 10px;
margin-bottom: 10px;
}
#content {
width: 700px;
margin: 1em auto;
}
#result {
font-size: 48px;
margin: 10% auto 20%;
text-align: center;
display: block;
}
#result cite {
font-size: 14px;
display: block;
text-align: right;
}
#result cite code {
font-style: normal;
}
</style>
</head>
<body>
<div id="content">
<h1><code>Sinatra::Flash</code></h1>
<%= yield %>
</div>
</body>
</html>
|