commit 4a68641768971704ab173c94d55385035e62a285 Author: russellballestrini Date: Sat Oct 22 20:02:31 2016 -0400 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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..11041c7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.egg-info diff --git a/remarkbox_westworld/__init__.py b/remarkbox_westworld/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/remarkbox_westworld/__init__.pyc b/remarkbox_westworld/__init__.pyc new file mode 100644 index 0000000..27f74c2 Binary files /dev/null and b/remarkbox_westworld/__init__.pyc differ diff --git a/remarkbox_westworld/static/theme/css/westworld.css b/remarkbox_westworld/static/theme/css/westworld.css new file mode 100644 index 0000000..5321284 --- /dev/null +++ b/remarkbox_westworld/static/theme/css/westworld.css @@ -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; +} diff --git a/remarkbox_westworld/static/theme/img/westworld2-bg.jpg b/remarkbox_westworld/static/theme/img/westworld2-bg.jpg new file mode 100644 index 0000000..f30bafd Binary files /dev/null and b/remarkbox_westworld/static/theme/img/westworld2-bg.jpg differ diff --git a/remarkbox_westworld/static/theme/img/westworld2-bg2.png b/remarkbox_westworld/static/theme/img/westworld2-bg2.png new file mode 100644 index 0000000..91a0e09 Binary files /dev/null and b/remarkbox_westworld/static/theme/img/westworld2-bg2.png differ diff --git a/remarkbox_westworld/templates/base.j2 b/remarkbox_westworld/templates/base.j2 new file mode 100644 index 0000000..f77de37 --- /dev/null +++ b/remarkbox_westworld/templates/base.j2 @@ -0,0 +1,65 @@ + + + + {% block title %}{{ request.server_name }}{% endblock %} + + + + + + + + + {% block stylesheets -%} + + {%- endblock %} + + + + + + + +
+{%- for message, level in request.session.pop_flash() %} +
+ + {{message}} +
+{%- endfor %} +
+ + +

+WESTWORLD Forum +

+ +
+{%- block menu %} + home | + new thread | + + {%- if request.user %} + {{request.user.name}} [logout] + {% else %} + login-or-register + {%- endif %} +{%- endblock %} +
+ +
+
+
+
+ +
+{% block content %} +{% endblock %} +
+ + + + + diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..1a2541a --- /dev/null +++ b/setup.py @@ -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, +) +