-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from jmhobbs/simple-styles
Base styles.
- Loading branch information
Showing
5 changed files
with
75 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
html, body { | ||
margin: 0; | ||
padding: 0.5em 1em; | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; | ||
color: #546267; | ||
background: #BFBFBF; | ||
} | ||
textarea { | ||
background: #FFFFFF; | ||
color: #191A26; | ||
border: 1px solid #191A26; | ||
display: block; | ||
width: 100%; | ||
min-height: 5em; | ||
font-size: 1.25em; | ||
margin: 0.5em 0; | ||
} | ||
input[type=submit] { | ||
background: #546267; | ||
color: #FFFFFF; | ||
font-size: 1.25em; | ||
float: right; | ||
margin: 0.5em 0; | ||
border: none; | ||
padding: 0.5em; | ||
} | ||
|
||
h2 > a { | ||
color: #ED2C26; | ||
text-decoration: none; | ||
} | ||
|
||
h2 > a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
blockquote { | ||
background: #FFFFFF; | ||
padding: 2em; | ||
font-size: 1.25em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
<!Doctype html> | ||
<!doctype html> | ||
<html> | ||
<body> | ||
<form method="POST"> | ||
<label> Message: <textarea name="umsg"> </textarea> </label> | ||
<input type="submit" name="send-msg" value="Send Message"/> | ||
</form> | ||
</body> | ||
</html> | ||
<head> | ||
<link rel="stylesheet" href="/basic.css" /> | ||
</head> | ||
<body> | ||
<form method="POST"> | ||
<h1>Message</h1> | ||
<textarea name="umsg"></textarea> | ||
<input type="submit" name="send-msg" value="Send" /> | ||
</form> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
<!Doctype html> | ||
<!doctype html> | ||
<html> | ||
|
||
<body> | ||
<p> Here's your secret message: </p> <br> | ||
<h3> {{ . }} </h3> | ||
</body> | ||
|
||
</html> | ||
<head> | ||
<link rel="stylesheet" href="/basic.css" /> | ||
</head> | ||
<body> | ||
<h1>Here's your secret message:</h1> | ||
<blockquote>{{ . }}</blockquote> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<!Doctype html> | ||
<!doctype html> | ||
<html> | ||
|
||
<body> | ||
<head> | ||
<link rel="stylesheet" href="/basic.css" /> | ||
</head> | ||
<body> | ||
{{$data := .}} | ||
<p> Here's your secret message id: </p> <br> | ||
<a href="{{$data.URLMsg}}?secret={{$data.SecretKey}}"> {{$data.MsgKey}} </a> | ||
</body> | ||
|
||
</html> | ||
<h1>Here's your secret message id:</h1> | ||
<h2><a href="{{$data.URLMsg}}?secret={{$data.SecretKey}}"> {{$data.MsgKey}}</a></h2> | ||
</body> | ||
</html> |