new file: .gitignore

new file:   remarkbox_westworld/__init__.py
	new file:   remarkbox_westworld/__init__.pyc
	new file:   remarkbox_westworld/static/theme/css/westworld.css
	new file:   remarkbox_westworld/static/theme/img/westworld2-bg.jpg
	new file:   remarkbox_westworld/static/theme/img/westworld2-bg2.png
	new file:   remarkbox_westworld/templates/base.j2
	new file:   setup.py
This commit is contained in:
russellballestrini 2016-10-22 20:02:31 -04:00
commit 4a68641768
8 changed files with 205 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.egg-info

View file

Binary file not shown.

View file

@ -0,0 +1,117 @@
body {
color: #ffffff;
line-height: 1.3;
background-image: url("/static/theme/img/westworld2-bg.jpg");
background-repeat: no-repeat;
background-color: #000004;
background-position: center -120px;
background-attachment: local;
margin: 30px;
font-family: 'Raleway', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Montserrat', sans-serif;
}
a, a:visited, a:hover {
color: #ffffff;
opacity: 0.75;
}
a:hover {
opacity: 1.0;
}
ul {
list-style: none;
}
li {
margin-bottom: 10px;
}
.brand a {
text-decoration: None;
color: #ffffff;
opacity: 1.0;
}
.brand {
color: white;
font-weight: bold;
letter-spacing: 10px;
font-size: 2.5em;
font-family: 'Montserrat', sans-serif;
}
.title {
font-size: 1.6em;
}
.author-and-date {
color: #ffffff;
}
.action {
color: #ffffff;
}
.main {
width: 68%;
margin: auto;
border-radius: 6px;
padding: 16px;
/*background: rgba(14, 21, 29, .95);*/
background: rgb(14, 21, 29);
}
.poweredby {
opacity: .70;
}
.textarea_remark, #thread_title_input, #email_input, #email_input2 {
color: #ffffff;
background-color: #203342;
border-color: #203342;
}
.preview {
border-color: #203342;
}
#alerts {
width: 36%;
margin: auto;
right: 50%;
margin-right: -18%;
position: fixed;
z-index: 100;
}
.close {
margin-left: 10px;
float: left;
}
.alert {
text-align: center;
color: #ffffff;
font-weight: bold;
border-radius: 6px;
margin-bottom: 6px;
padding: 6px;
}
.alert-warning, .alert-error {
background-color: #CB0003;
}
.alert-success, .alert-notice {
background-color: #517DA4;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View file

@ -0,0 +1,65 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% block title %}{{ request.server_name }}{% endblock %}</title>
<meta charset="utf-8" />
<script type="text/javascript" src="/static/js/jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="/static/js/custom.js"></script>
<script type="text/javascript" src="/static/js/iframe-resizer/iframeResizer.contentWindow.min.js"></script>
<link rel="stylesheet" href="/static/css/common.css">
{% block stylesheets -%}
<link rel="stylesheet" href="/static/css/embed.css">
{%- endblock %}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:700">
<link rel="stylesheet" href="/static/theme/css/westworld.css">
<link rel="stylesheet" href="/static/css/pygments.css">
</head>
<body>
<div id="alerts">
{%- for message, level in request.session.pop_flash() %}
<div class="alert alert-{{level}}" onclick="this.style.display='none'" name="alert">
<label class="close" alt="dismiss" title="dismiss">x</label>
{{message}}
</div>
{%- endfor %}
</div>
<h1 class="brand"><a href="/">
WESTWORLD <span style="font-size: .5em; letter-spacing: 5px;">Forum</span></a>
</h1>
<div id="remarkbox-menu">
{%- block menu %}
<a href="/">home</a> |
<a href="/new">new thread</a> |
{%- if request.user %}
{{request.user.name}} <a href="/logout">[logout]</a>
{% else %}
<a href="/login-or-register">login-or-register</a>
{%- endif %}
{%- endblock %}
</div>
<br>
<br>
<br>
<br>
<div class="main">
{% block content %}
{% endblock %}
</div>
<div id="remarkbox-footer">
<br />
</div>
</body>
</html>

22
setup.py Normal file
View file

@ -0,0 +1,22 @@
import os
from setuptools import setup, find_packages
setup(name='remarkbox_westworld',
version='0.0.1',
description='remarkbox westworld theme',
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='Russell Ballestrini',
author_email='russell@ballestrini.net',
url='http://russell.ballestrini.net',
keywords='remarkbox theme',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
)