opposition-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +48 -0
  4. data/_includes/.DS_Store +0 -0
  5. data/_includes/footer.html +12 -0
  6. data/_includes/head.html +21 -0
  7. data/_includes/header.html +13 -0
  8. data/_includes/scripts.html +7 -0
  9. data/_includes/sidebar.html +35 -0
  10. data/_layouts/.DS_Store +0 -0
  11. data/_layouts/default.html +20 -0
  12. data/_layouts/home.html +28 -0
  13. data/_layouts/page.html +39 -0
  14. data/_layouts/post.html +23 -0
  15. data/_sass/.DS_Store +0 -0
  16. data/_sass/base/_footer.scss +54 -0
  17. data/_sass/base/_header.scss +64 -0
  18. data/_sass/base/_reset.scss +65 -0
  19. data/_sass/base/_sidebar.scss +29 -0
  20. data/_sass/home/.DS_Store +0 -0
  21. data/_sass/home/_about.scss +125 -0
  22. data/_sass/home/_contact.scss +70 -0
  23. data/_sass/home/_home.scss +102 -0
  24. data/_sass/home/_partners.scss +136 -0
  25. data/_sass/home/_services.scss +100 -0
  26. data/_sass/home/_testimonial.scss +61 -0
  27. data/_sass/opposition.scss +139 -0
  28. data/_sass/page/_news.scss +91 -0
  29. data/_sass/post/_post.scss +19 -0
  30. data/assets/.DS_Store +0 -0
  31. data/assets/img/.DS_Store +0 -0
  32. data/assets/img/21savage.jpg +0 -0
  33. data/assets/img/Eye.svg +20 -0
  34. data/assets/img/Phoenix.svg +17 -0
  35. data/assets/img/about.jpg +0 -0
  36. data/assets/img/azae.png +0 -0
  37. data/assets/img/bird.jpg +0 -0
  38. data/assets/img/bird/.DS_Store +0 -0
  39. data/assets/img/bird/A-Rocks.png +0 -0
  40. data/assets/img/bird/B-Light.png +0 -0
  41. data/assets/img/bird/C-Particles.png +0 -0
  42. data/assets/img/bird/D-Particles.png +0 -0
  43. data/assets/img/bird/E-Phoenix.png +0 -0
  44. data/assets/img/bird/F-Fire.png +0 -0
  45. data/assets/img/bird/G-Dust.png +0 -0
  46. data/assets/img/bird/H-Stuff.png +0 -0
  47. data/assets/img/bird/bg.png +0 -0
  48. data/assets/img/contact.png +0 -0
  49. data/assets/img/hnhh.png +0 -0
  50. data/assets/img/home.jpg +0 -0
  51. data/assets/img/icon.gif +0 -0
  52. data/assets/img/logic.jpg +0 -0
  53. data/assets/img/logo.png +0 -0
  54. data/assets/img/logo.svg +32 -0
  55. data/assets/img/meechie.jpg +0 -0
  56. data/assets/img/opposition-blog-header.jpg +0 -0
  57. data/assets/img/opposition_seal.png +0 -0
  58. data/assets/img/s.png +0 -0
  59. data/assets/img/services-bg.jpg +0 -0
  60. data/assets/img/support.svg +31 -0
  61. data/assets/js/.DS_Store +0 -0
  62. data/assets/js/all.js +41 -0
  63. data/assets/js/form.js +114 -0
  64. data/assets/js/parallax.js +550 -0
  65. data/assets/main.scss +5 -0
  66. metadata +150 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0d034685bf51c0f843286eaf9ef9f7027153bdb9
4
+ data.tar.gz: cee418994e4fa8cb0315f31798b7f6553b0c2276
5
+ SHA512:
6
+ metadata.gz: ee3cb207dfdae2970ca83fbde81e133e96c2f20e6976298685da35d4032a4ae5b89c2d47194688ae515015a680795b7cde7d1c3fed5ccf50ef3b67d8b37a2883
7
+ data.tar.gz: 7721e9164304d126a020e145fe6486aa9577cbba519ab7d9751d8fe2e831ffbba41a482bd4e7d446942a98f1e37ace4f34b6819371b8f454ec39fb8cb7881b8c
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # opposition-theme
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your Jekyll site's `Gemfile`:
10
+
11
+ ```ruby
12
+ gem "opposition-theme"
13
+ ```
14
+
15
+ And add this line to your Jekyll site's `_config.yml`:
16
+
17
+ ```yaml
18
+ theme: opposition-theme
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install opposition-theme
28
+
29
+ ## Usage
30
+
31
+ TODO: Write usage instructions here. Describe your available layouts, includes, and/or sass.
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+ ## Development
38
+
39
+ To set up your environment to develop this theme, run `bundle install`.
40
+
41
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
42
+
43
+ When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
44
+
45
+ ## License
46
+
47
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
48
+
Binary file
@@ -0,0 +1,12 @@
1
+ <footer class="main-footer">
2
+ <div>
3
+ <span class="inquiries">For inquiries, concerns or feedback please contact us <a href="mailto:speak@opposition.tv">speak@opposition.tv</a></span>
4
+ <ul>
5
+ <li><a href="//bbtv.com/terms-of-service/">Terms of Service</a></li>
6
+ <li><a href="//bbtv.com/privacy-policy/">Privacy Policy</a></li>
7
+ <li>Copyright <script>document.write(new Date().getFullYear())</script></li>
8
+ </ul>
9
+ <a href="//support.google.com/youtube/answer/2952738?hl=en&rd=1" target="_blank" class="icon-YouTube-certified"></a>
10
+ <img class="opposition-logo" src="{{ '/assets/img/opposition_seal.png' | relative_url }}">
11
+ </div>
12
+ </footer>
@@ -0,0 +1,21 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+
6
+ <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
7
+ <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
8
+
9
+ <script src="https://use.typekit.net/jyx6xun.js"></script>
10
+ <script>try{Typekit.load({ async: true });}catch(e){}</script>
11
+
12
+ <link rel="stylesheet" href="https://s3.amazonaws.com/icomoon.io/33464/Oppositiontv/style.css?izyszw">
13
+
14
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
15
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
16
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
17
+
18
+ {% if jekyll.environment == 'production' and site.google_analytics %}
19
+ {% include google-analytics.html %}
20
+ {% endif %}
21
+ </head>
@@ -0,0 +1,13 @@
1
+ <header class="main-header">
2
+ <nav>
3
+ <ul>
4
+ <li class="about"><a href="/#about" class="page-link">About</a></li>
5
+ <li class="services"><a href="/#services" class="page-link">Services</a></li>
6
+ <li class="partners"><a href="/#partners" class="page-link">Partners</a></li>
7
+ <li class="logo"><a href="/#home" class="page-link"><span class="icon-Oppositionn-Logo"></span></a></li>
8
+ <li class="platform"><a href="/#platform" class="page-link">Platform</a></li>
9
+ <li class="news"><a href="/news">News</a></li>
10
+ <li class="contacts"><a href="/#contact" class="page-link">Contact</a></li>
11
+ </ul>
12
+ </nav>
13
+ </header>
@@ -0,0 +1,7 @@
1
+ <script
2
+ src="https://code.jquery.com/jquery-3.1.1.min.js"
3
+ integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
4
+ crossorigin="anonymous"></script>
5
+ <script src="{{ '/assets/js/parallax.js' | relative_url }}"></script>
6
+ <script src="{{ '/assets/js/all.js' | relative_url }}"></script>
7
+ <script src="{{ '/assets/js/form.js' | relative_url }}"></script>
@@ -0,0 +1,35 @@
1
+ <aside class="sidebar">
2
+ <div class="block categories">
3
+ <h3>Categories</h3>
4
+ <ul>
5
+ {% for category in site.categories %}
6
+ <li><a name="{{ category | first }}" class="category"><i class="icon-Phoenix"></i> {{ category | first }}</a>
7
+ <!-- <ul>
8
+ {% for posts in category %}
9
+ {% for post in posts %}
10
+ <li><a href="{{ post.url }}">{{ post.title }}</a></li>
11
+ {% endfor %}
12
+ {% endfor %}
13
+ </ul> -->
14
+ </li>
15
+ {% endfor %}
16
+ </ul>
17
+ </div>
18
+
19
+ <div class="block">
20
+ <h3>OPPOSITION</h3>
21
+ <p>Opposition connects true hip hop artists and icons to the crowds that get behind them.</p>
22
+ <a href="mailto:asd@asd.asd" class="submit">Join Us</a>
23
+ </div>
24
+
25
+ <div class="block">
26
+ <h3>Youtube</h3>
27
+ <script src="https://apis.google.com/js/platform.js"></script>
28
+ <div class="g-ytsubscribe" data-channel="artists" data-layout="full" data-count="default"></div>
29
+ </div>
30
+
31
+ <div class="block">
32
+ <h3>Twitter</h3>
33
+ <a class="twitter-timeline" data-height="500" data-link-color="#c1a468" href="https://twitter.com/WeAreOpposition">Tweets by WeAreOpposition</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
34
+ </div>
35
+ </aside>
Binary file
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+
8
+ {% include header.html %}
9
+
10
+ <main class="page-content" aria-label="Content">
11
+ <div class="wrapper">
12
+ {{ content }}
13
+ </div>
14
+ </main>
15
+
16
+ {% include footer.html %}
17
+
18
+ </body>
19
+
20
+ </html>
@@ -0,0 +1,28 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+
6
+
7
+ <!-- <div class="home">
8
+
9
+ <h1 class="page-heading">Posts</h1>
10
+
11
+ {{ content }}
12
+
13
+ <ul class="post-list">
14
+ {% for post in site.posts %}
15
+ <li>
16
+ {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
17
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
18
+
19
+ <h2>
20
+ <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
21
+ </h2>
22
+ </li>
23
+ {% endfor %}
24
+ </ul>
25
+
26
+ <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
27
+
28
+ </div> -->
@@ -0,0 +1,39 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <figure class="page-header" style="background-image: url('http://opposition.tv/wp-content/uploads/2017/05/opposition-header23.jpg')"></figure>
6
+
7
+ <div class="page">
8
+ <ul class="post-list">
9
+ {% for post in site.posts %}
10
+ <li>
11
+ <!-- <time>{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}</time> -->
12
+ <header>
13
+ <div class="post-details">
14
+ <time>
15
+ <h3 class="month">{{ post.date | date: "%b" }}</h3>
16
+ <h3 class="day">{{ post.date | date: "%-d" }}</h3>
17
+ </time>
18
+ <div class="social-media">
19
+ <a href="https://twitter.com/intent/tweet?text={{ post.title }}&url={{ site.url }}{{ post.url }}&via={{ site.twitter_username }}&related={{ site.twitter_username }}" class="social-media-button twitter-button" rel="nofollow" target="_blank" title="Share on Twitter"><i class="icon-twitter"></i></a>
20
+ <a href="https://facebook.com/sharer.php?u={{ site.url }}{{ post.url }}" class="social-media-button" rel="nofollow" target="_blank" title="Share on Facebook"><i class="icon-facebook"></i></a>
21
+ </div>
22
+ </div>
23
+
24
+ <h2><a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h2>
25
+ </header>
26
+
27
+ <figure>
28
+ <a class="post-link" href="{{ post.url | relative_url }}"><img src="http://opposition.tv/wp-content/uploads/2017/05/carange.png"></a>
29
+ </figure>
30
+
31
+ <div class="post-description">
32
+ <a href="{{ post.url | relative_url }}">{{ post.content | truncate: 330 }}</a>
33
+ </div>
34
+ </li>
35
+ {% endfor %}
36
+ </ul>
37
+
38
+ {% include sidebar.html %}
39
+ </div>
@@ -0,0 +1,23 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
6
+ <header class="page-header" style="background-image: url('http://opposition.tv/wp-content/uploads/2017/05/opposition-header23.jpg')">
7
+ <div class="header-title">
8
+ <h2>{{ page.title }}</h2>
9
+ {% for category in page.categories %}
10
+ <h3 class="category"><i class="icon-Phoenix"></i> {{ category }}</h3>
11
+ {% endfor %}
12
+ <time class="created-at">{{ page.date | date: "%B %d, %Y" }}</time>
13
+ </div>
14
+ </header>
15
+
16
+ <div class="wrapper">
17
+ <div class="post-format post-content">
18
+ {{ content }}
19
+ </div>
20
+
21
+ {% include sidebar.html %}
22
+ </div>
23
+ </article>
data/_sass/.DS_Store ADDED
Binary file
@@ -0,0 +1,54 @@
1
+ .main-footer {
2
+ background: #202020;
3
+ position: relative;
4
+ text-align: right;
5
+ padding: 10px 0;
6
+ div {
7
+ text-align: center;
8
+ }
9
+ .inquiries {
10
+ color: white;
11
+ font-weight: 200;
12
+ font-size: .7em;
13
+ a {
14
+ text-transform: uppercase;
15
+ }
16
+ }
17
+ ul {
18
+ padding: 30px 0;
19
+ }
20
+ li {
21
+ display: inline-block;
22
+ color: $accentFontColor;
23
+ padding: 0 10px;
24
+ border-right: 1px solid $accentFontColor;
25
+ &:last-child {
26
+ border: none;
27
+ }
28
+ }
29
+ .icon-YouTube-certified {
30
+ font-size: 4em;
31
+ }
32
+ .opposition-logo {
33
+ width: 70px;
34
+ }
35
+ }
36
+
37
+ @media only screen and (min-width: $windowSize) {
38
+ .main-footer {
39
+ .inquiries {
40
+ font-size: .85em;
41
+ }
42
+ ul {
43
+ padding: 0;
44
+ }
45
+ li {
46
+ padding: 0 10px;
47
+ }
48
+ .opposition-logo {
49
+ position: absolute;
50
+ top: 20px;
51
+ right: 30px;
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,64 @@
1
+ .main-header {
2
+ background: black;
3
+ position: fixed;
4
+ top: 0;
5
+ left: 0;
6
+ width: 100%;
7
+ padding: 30px 0;
8
+ z-index: 5;
9
+ nav {
10
+ text-align: center;
11
+ padding: 10px 0;
12
+ }
13
+ li {
14
+ display: none;
15
+ vertical-align: middle;
16
+ margin: 15px 25px 0 25px;
17
+ }
18
+ a {
19
+ font-family: $titleFont;
20
+ color: $accentFontColor;
21
+ text-transform: uppercase;
22
+ }
23
+ .logo {
24
+ display: inline-block;
25
+ position: absolute;
26
+ top: 10px;
27
+ left: 50%;
28
+ transform: translate(-50%, 0);
29
+ margin: 0;
30
+ }
31
+ .icon-Oppositionn-Logo {
32
+ font-size: 4em;
33
+ color: $accentFontColor;
34
+ }
35
+ .home {
36
+ margin-left: 0;
37
+ }
38
+ .partners {
39
+ margin-right: 80px;
40
+ }
41
+ .contact {
42
+ a {
43
+ @include button;
44
+ }
45
+ }
46
+ }
47
+
48
+ @media only screen and (min-width: $windowSize) {
49
+ .main-header {
50
+ display: inline-block;
51
+ padding: 0;
52
+ nav {
53
+ padding: 20px 0;
54
+ }
55
+ li {
56
+ display: inline-block;
57
+ }
58
+ .logo {
59
+ top: 50%;
60
+ left: 50%;
61
+ transform: translate(-50%, -50%);
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,65 @@
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ color: $mainFontColor;
5
+ font-family: $base-font-family;
6
+ }
7
+ h1, h2, h3, h4, h5 {
8
+ @include title;
9
+ }
10
+ h2 {
11
+ font-size: 2em;
12
+ letter-spacing: .1em;
13
+ }
14
+ p {
15
+ letter-spacing: .06em;
16
+ font-weight: 300;
17
+ }
18
+ a {
19
+ text-decoration: none;
20
+ color: $accentFontColor;
21
+ transition: .3s all;
22
+ &:hover {
23
+ color: lighten($accentFontColor, 30%);
24
+ transition: .3s all;
25
+ &:before {
26
+ color: lighten($accentFontColor, 30%);
27
+ transition: .3s all;
28
+ }
29
+ span {
30
+ color: lighten($accentFontColor, 30%);
31
+ transition: .3s all;
32
+ }
33
+ }
34
+ }
35
+ li {
36
+ list-style: none;
37
+ }
38
+
39
+ .social-media {
40
+ li {
41
+ display: inline-block;
42
+ }
43
+ a {
44
+ display: inline-block;
45
+ }
46
+ span {
47
+ @include link-border;
48
+ font-size: 1em;
49
+ padding: 8px;
50
+ border-radius: 50%;
51
+ }
52
+ }
53
+
54
+ .grecaptcha-badge {
55
+ display: none;
56
+ }
57
+
58
+ @media only screen and (min-width: $windowSize) {
59
+ h1, h2, h3, h4, h5 {
60
+ @include title;
61
+ }
62
+ h2 {
63
+ font-size: 2em;
64
+ }
65
+ }