Source code of Leftypol imageboard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

144 lines
3.6 KiB

<!doctype html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
<link rel="stylesheet" media="screen" href="/stylesheets/dark_red.css">
<style type="text/css">
.sidebar {
grid-column: 1;
grid-row: 1 / 3;
width: 200px;
border-right-color: gray;
border-right-style: solid;
border-width: 2px;
margin-right: 15px;
}
.introduction {
grid-column: 2 / 9;
grid-row: 1;
width: 100%;
}
.content {
grid-column: 2 / 9;
grid-row: 2;
width: 100%;
}
body {
display: grid;
grid-template-columns: repeat(auto-fill,minmax(200px, 1fr));
gap: 20px;
height: 100vh;
}
.modlog {
width: 50%;
text-align: left;
}
fieldset {
margin: 10px;
}
legend {
width: 100%;
margin-left: -15px;
background: #8B0000;
border: 1px solid white;
color: #d0d3d4;
font-weight: bold;
padding: 5px 5px
}
ul {
margin: 0;
padding: 0
}
li {
list-style: none;
padding: 0 4px;
margin: 0 4px
}
li a.system {
font-weight: bold;
}
@media (max-width:768px) {
body{
display: grid;
grid-template-columns: none;
gap: 20px;
height: 100vh;
width: 100%;
}
.introduction {
grid-column: 1;
grid-row: 1;
width: 100%;
}
.sidebar {
grid-column: 1;
grid-row: 2;
width: 100%;
border-width: 2px;
}
.content {
grid-column: 1;
grid-row: 3;
width: 100%;
}
.modlog {
width: 100%;
text-align: center;
}
table {
table-layout: fixed;
}
table.modlog tr th {
white-space: normal;
word-wrap: break-word;
}
.boardlist {
display: none;
}
footer {
display: none;
}
}
</style>
<title>{{ settings.title }}</title>
<meta name="description" content="{{ metadescription|striptags }}">
<meta name="twitter:card" value="summary">
<meta name="twitter:title" content="{{ settings.title }}" />
<meta name="twitter:description" content="{{ metadescription|striptags }}" />
<meta name="twitter:image" content="{{ config.domain }}/{{ config.logo }}" />
<meta property="og:title" content="{{ settings.title }}" />
<meta property="og:type" content="article" />
<meta property="og:url" content="{{ config.domain }}" />
<meta property="og:image" content="{{ config.domain }}/{{ config.logo }}" />
<meta property="og:description" content="{{ metadescription|striptags }}" />
{{ metaextra }}
</head>
<body>
{% include 'themes/categories/' ~ settings.file_sidebar %}
{% include 'themes/categories/' ~ settings.file_news %}
</body>
</html>