Website: Fix focus outline on screenshot link.
This commit is contained in:
parent
774d5ca7fd
commit
1ca069f17e
@ -15,7 +15,7 @@
|
|||||||
<a href="https://github.com/ccd0/4chan-x/issues">Report Bugs</a>
|
<a href="https://github.com/ccd0/4chan-x/issues">Report Bugs</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a href="img/screenshot.png"><img class="screenshot" src="img/screenshot.png" alt="screenshot"></a>
|
<a class="screenshot" href="img/screenshot.png"><img src="img/screenshot.png" alt="screenshot"></a>
|
||||||
<span class="hover"><img src="img/screenshot.png" alt="preview"></span>
|
<span class="hover"><img src="img/screenshot.png" alt="preview"></span>
|
||||||
<%=
|
<%=
|
||||||
content
|
content
|
||||||
|
|||||||
6
web.css
6
web.css
@ -28,14 +28,16 @@ h1 {
|
|||||||
background-color: #CCC;
|
background-color: #CCC;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
img.screenshot {
|
a.screenshot {
|
||||||
display: block;
|
display: block;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
}
|
||||||
|
a.screenshot > img {
|
||||||
width: 640px;
|
width: 640px;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
@media (min-width: 1120px) {
|
@media (min-width: 1120px) {
|
||||||
img.screenshot {
|
a.screenshot {
|
||||||
float: right;
|
float: right;
|
||||||
margin: 0 0 1em 1em;
|
margin: 0 0 1em 1em;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user