1
0
Fork 0
mirror of synced 2024-06-02 02:25:20 +12:00

use em tag as selector for img

This commit is contained in:
Nick Sweeting 2020-11-23 04:48:00 -05:00
parent 4f42dfc3dc
commit a307e42896
2 changed files with 6 additions and 4 deletions

View file

@ -52,7 +52,7 @@ ls archive/*/index.html # or just browse
```
<div align="center">
<img src="https://i.imgur.com/lUuicew.png" width="400px" alt="logo">
<em><img src="https://i.imgur.com/lUuicew.png" width="400px" alt="logo"></em>
<br/>
<a href="https://archivebox.zervice.io">DEMO: archivebox.zervice.io/</a>

View file

@ -26,13 +26,15 @@ header h2 {
#main_content div[align=center] h1 {
display: none;
}
#main_content div[align=center] img[alt=logo] {
#main_content img {
box-shadow: 4px 4px 4px rgba(0,0,0,0.1);
border-radius: 8px;
}
#main_content em img {
display: block;
margin-top: -83px;
border: 0px;
padding: 0px;
box-shadow: 4px 4px 4px rgba(0,0,0,0.1);
border-radius: 8px;
margin-bottom: 20px;
}