simplify css

This commit is contained in:
Celogeek 2023-04-16 15:19:57 +02:00
parent a7a29d6326
commit 8d24f95579
Signed by: celogeek
SSH Key Fingerprint: SHA256:njNJLzoLQdbV9PC6ehcruRb0QnEgxABoCYZ+0+aUIYc
2 changed files with 9 additions and 82 deletions

View File

@ -1,87 +1,14 @@
@charset "UTF-8";
html {
body {
color: #000;
background: #FFF;
}
body {
font-size: 1em;
text-align: center;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
th,
td {
margin: 0;
padding: 0
padding: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset,
img {
border: 0;
}
caption,
th,
var {
font-style: normal;
font-weight: normal;
}
li {
list-style: none;
}
caption,
th {
text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
-webkit-hyphens:none;
font-weight: normal;
}
h1 {
font-size: 200%;
}
h2 {
font-size: 150%;
}
h3 {
font-size: 120%;
}
sup {
vertical-align: text-top;
}
sub {
vertical-align: text-bottom;
position: absolute;
margin: 0;
padding: 0;
top: 0;
left: 0;
}

View File

@ -7,8 +7,8 @@
<meta name="viewport" content="width={{ .Info.ViewWidth }}, height={{ .Info.ViewHeight }}"/>
</head>
<body>
<div style="position:absolute; top:{{ .Top }}px">
<img style="width:{{ .Image.Width }}px; height:{{ .Image.Height }}px" src="../Images/{{ .Image.Id }}_p{{ .Image.Part}}.jpg"/>
<div>
<img style="width:{{ .Image.Width }}px; height:{{ .Image.Height }}px; top:{{ .Top }}px" src="../Images/{{ .Image.Id }}_p{{ .Image.Part}}.jpg"/>
</div>
</body>
</html>