diff options
author | elijah <elijah@riseup.net> | 2015-07-23 14:17:51 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-07-23 14:17:51 -0700 |
commit | dd592044bba259a9d4922690d9d146d542165f30 (patch) | |
tree | 2627074baf18dd282781fd40273da9184dae9336 | |
parent | 002e764c4b8f03f472d7d6d3473289653dd897a5 (diff) |
added customization example
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | config/customization.example/locales/en.yml | 2 | ||||
-rw-r--r-- | config/customization.example/locales/es.yml | 2 | ||||
-rw-r--r-- | config/customization.example/public/favicon.ico | bin | 0 -> 1014 bytes | |||
-rw-r--r-- | config/customization.example/public/img/masthead.png | bin | 0 -> 76967 bytes | |||
-rw-r--r-- | config/customization.example/stylesheets/tail.scss | 43 | ||||
-rw-r--r-- | config/customization.example/views/home/_masthead.html.haml | 4 | ||||
-rw-r--r-- | config/customization.example/views/pages/privacy-policy.en.md | 3 | ||||
-rw-r--r-- | config/customization.example/views/pages/privacy-policy.es.md | 3 |
9 files changed, 58 insertions, 0 deletions
@@ -21,6 +21,7 @@ test/dummy/tmp/* # ignore the disabled customization directories that # i keep around for testing purposes. config/customization.* +!config/customization.example # ignore all deploy specific configuration config/couchdb.yml diff --git a/config/customization.example/locales/en.yml b/config/customization.example/locales/en.yml new file mode 100644 index 0000000..3c5f370 --- /dev/null +++ b/config/customization.example/locales/en.yml @@ -0,0 +1,2 @@ +en: + login_info: Authenticate to change your "Prehistoric Computer" settings.
\ No newline at end of file diff --git a/config/customization.example/locales/es.yml b/config/customization.example/locales/es.yml new file mode 100644 index 0000000..3b056fe --- /dev/null +++ b/config/customization.example/locales/es.yml @@ -0,0 +1,2 @@ +es: + login_info: Autenticar a cambiar la configuración de "Computer Prehistoria."
\ No newline at end of file diff --git a/config/customization.example/public/favicon.ico b/config/customization.example/public/favicon.ico Binary files differnew file mode 100644 index 0000000..61e3374 --- /dev/null +++ b/config/customization.example/public/favicon.ico diff --git a/config/customization.example/public/img/masthead.png b/config/customization.example/public/img/masthead.png Binary files differnew file mode 100644 index 0000000..1449153 --- /dev/null +++ b/config/customization.example/public/img/masthead.png diff --git a/config/customization.example/stylesheets/tail.scss b/config/customization.example/stylesheets/tail.scss new file mode 100644 index 0000000..4c51a34 --- /dev/null +++ b/config/customization.example/stylesheets/tail.scss @@ -0,0 +1,43 @@ +$custom-color: #66bbaa; + +a { + color: $custom-color; +} + +// +// MASTHEAD +// + +#masthead { + background-color: $custom-color; + border-bottom: none; + + // make the masthead clickable by replacing the + // site name link with the masthead image: + .title { + padding: 0px; + .sitename a { + display: block; + background: url(/img/masthead.png) 0 0 no-repeat; + font-size: 0px; + height: 100px; + background-size: auto 100px; + } + } +} + +// make the home page masthead slightly larger +body.home #masthead { + .sitename a { + height: 150px; + background-size: auto 150px; + } +} + +// +// FOOTER +// + +#footer .links { + background-color: $custom-color; +}
\ No newline at end of file diff --git a/config/customization.example/views/home/_masthead.html.haml b/config/customization.example/views/home/_masthead.html.haml new file mode 100644 index 0000000..fde5915 --- /dev/null +++ b/config/customization.example/views/home/_masthead.html.haml @@ -0,0 +1,4 @@ +#masthead + .title + %span.sitename + %a{:href => home_path}= APP_CONFIG[:domain] diff --git a/config/customization.example/views/pages/privacy-policy.en.md b/config/customization.example/views/pages/privacy-policy.en.md new file mode 100644 index 0000000..a02337d --- /dev/null +++ b/config/customization.example/views/pages/privacy-policy.en.md @@ -0,0 +1,3 @@ +# Custom Privacy Policy + +This is our privacy policy.
\ No newline at end of file diff --git a/config/customization.example/views/pages/privacy-policy.es.md b/config/customization.example/views/pages/privacy-policy.es.md new file mode 100644 index 0000000..167f3a1 --- /dev/null +++ b/config/customization.example/views/pages/privacy-policy.es.md @@ -0,0 +1,3 @@ +# Custom Política de Privacidad + +Esta es nuestra política de privacidad.
\ No newline at end of file |