mirror of
https://github.com/neocities/neocities.git
synced 2025-07-31 14:56:11 +02:00
Fixed site portrait in news feed sidebar
This commit is contained in:
parent
570db1211b
commit
1c2433c670
2 changed files with 7 additions and 2 deletions
|
@ -448,6 +448,11 @@
|
|||
.large-portrait {
|
||||
border: 10px solid white;
|
||||
@include box-shadow(1px 1px 2px 1px rgba(0, 0, 0, 0.15));
|
||||
width: 322px;
|
||||
height: 241px;
|
||||
background-size: cover;
|
||||
float: left;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.site-portrait {
|
||||
border: 5px solid white;
|
||||
|
|
|
@ -90,9 +90,9 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<a href="//<%= site.host %>"><img src="<%= site.screenshot_url('index.html', '540x405') %>" class="large-portrait"></a>
|
||||
<a href="//<%= site.host %>" class="large-portrait" style="background-image:url(<%= site.screenshot_url('index.html', '540x405') %>);"></a>
|
||||
|
||||
<div style="margin-top: 20px; margin-bottom: 20px" class="txt-Center">
|
||||
<div style="margin-top: 20px; margin-bottom: 2em" class="txt-Center">
|
||||
<a href="/site/<%= site.username %>" class="btn-Action">View Site Profile</a>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue