mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:42:02 +08:00
linting (#16360)
This commit is contained in:
parent
86a783b3ad
commit
b20307377a
|
@ -1,4 +1,5 @@
|
|||
body.crawler {
|
||||
font-family: "Times New Roman", Times, serif;
|
||||
> header {
|
||||
width: 100%;
|
||||
top: 0;
|
||||
|
@ -15,6 +16,7 @@ body.crawler {
|
|||
}
|
||||
|
||||
div#main-outlet {
|
||||
padding: 10px;
|
||||
div.post {
|
||||
word-break: break-word;
|
||||
img {
|
||||
|
@ -28,7 +30,17 @@ body.crawler {
|
|||
table-layout: fixed;
|
||||
overflow: hidden;
|
||||
margin-bottom: 1em;
|
||||
td {
|
||||
padding: 10px 0;
|
||||
&.posters {
|
||||
padding: 10px 20px;
|
||||
}
|
||||
}
|
||||
th:first-of-type {
|
||||
padding-left: 0;
|
||||
}
|
||||
@media (max-width: 850px) {
|
||||
table-layout: auto;
|
||||
td {
|
||||
word-break: break-all;
|
||||
&.posters {
|
||||
|
|
|
@ -25,11 +25,7 @@
|
|||
<%= theme_lookup("header") %>
|
||||
<header>
|
||||
<a href="<%= path "/" %>">
|
||||
<%- if SiteSetting.site_logo_url.present? %>
|
||||
<img src="<%=SiteSetting.site_logo_url%>" alt="<%=SiteSetting.title%>" id="site-logo" style="max-width: 150px;">
|
||||
<%- else %>
|
||||
<h1><%=SiteSetting.title%></h1>
|
||||
<% end %>
|
||||
<h1><%=SiteSetting.title%></h1>
|
||||
</a>
|
||||
</header>
|
||||
<div id="main-outlet" class="wrap">
|
||||
|
|
Loading…
Reference in New Issue
Block a user