go-examples/photoblog/templates/footer.html

88 lines
1.6 KiB
HTML
Raw Permalink Normal View History

2017-07-29 14:51:12 +00:00
</main>
</body>
2017-07-29 14:51:12 +00:00
<style>
.error {
color: red;
}
ul.photos {
list-style-type: none;
}
img {
border: 1px solid #ddd;
border-radius: 4px;
padding: 5px;
width: 400px;
}
main {
width: 800px;
margin: auto;
}
header {
margin: 0;
padding: 0;
}
body {
margin:0;
font-family: Verdana,sans-serif;
}
header ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
header li {
float: left;
}
header p {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
margin: 0
}
header a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
div.form-container {
border-radius: 5px;
background-color: #f2f2f2;
padding: 20px;
}
input[type=submit] {
width: 50%;
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 4px;
cursor: pointer;
}
input[type=submit]:hover {
background-color: #45a049;
}
input[type=text], input[type=password] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
a.mainlink {
color: #4CAF50;
}
.form-container a {
color: #4CAF50;
padding-left: 100px;
}
</style>
</html>