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"; body {
html {
color: #000; color: #000;
background: #FFF; 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; margin: 0;
padding: 0 padding: 0;
} }
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset,
img { img {
border: 0; position: absolute;
} margin: 0;
padding: 0;
caption, top: 0;
th, left: 0;
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;
} }

View File

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