53 lines
737 B
HTML
53 lines
737 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
body {
|
|
font-family: Ubuntu, sans-serif;
|
|
}
|
|
h1 {
|
|
text-align: center;
|
|
}
|
|
html {
|
|
margin-left: 20%;
|
|
margin-right: 20%;
|
|
}
|
|
div:target > h2 {
|
|
background-color: yellow;
|
|
}
|
|
.relativebox1 {
|
|
display:inline;position:relative;min-width: 320px;min-height:320px;
|
|
}
|
|
.relativebox1 img {
|
|
width: 320px;
|
|
height: 320px;
|
|
margin: 0;
|
|
}
|
|
|
|
.relativebox1 p {
|
|
margin: 0;
|
|
}
|
|
|
|
.relativebox1 h3 {
|
|
color: lightgrey;
|
|
position: absolute;
|
|
bottom: 0;
|
|
margin-bottom: 3px;
|
|
left: 0;
|
|
opacity: 0.4;
|
|
background-color: #000;
|
|
width: 100%;
|
|
}
|
|
|
|
.mr {
|
|
margin-right: 4%;
|
|
}
|
|
</style>
|
|
<title> {% block title %} {% endblock %}</title>
|
|
</head>
|
|
<body>
|
|
{% block content %}
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|