altos-insights 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +48 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/footer.html +7 -0
- data/_includes/google-analytics.html +11 -0
- data/_includes/head.html +54 -0
- data/_includes/header.html +35 -0
- data/_layouts/default.html +47 -0
- data/_layouts/home.html +19 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +22 -0
- data/assets/css/font-awesome.min.css +4 -0
- data/assets/css/style.css +303 -0
- data/assets/css/style.css.map +7 -0
- data/assets/font/FontAwesome.otf +0 -0
- data/assets/font/Zooja.ttf +0 -0
- data/assets/font/altosinsights.eot +0 -0
- data/assets/font/altosinsights.woff +0 -0
- data/assets/font/fontawesome-webfont.eot +0 -0
- data/assets/font/fontawesome-webfont.svg +2671 -0
- data/assets/font/fontawesome-webfont.ttf +0 -0
- data/assets/font/fontawesome-webfont.woff +0 -0
- data/assets/font/fontawesome-webfont.woff2 +0 -0
- data/assets/img/1.png +0 -0
- data/assets/img/2.png +0 -0
- data/assets/img/3.png +0 -0
- data/assets/img/brendaandrade.jpg +0 -0
- data/assets/img/brendaandrade.png +0 -0
- data/assets/img/favicon/android-icon-144x144.png +0 -0
- data/assets/img/favicon/android-icon-192x192.png +0 -0
- data/assets/img/favicon/android-icon-36x36.png +0 -0
- data/assets/img/favicon/android-icon-48x48.png +0 -0
- data/assets/img/favicon/android-icon-72x72.png +0 -0
- data/assets/img/favicon/android-icon-96x96.png +0 -0
- data/assets/img/favicon/apple-icon-114x114.png +0 -0
- data/assets/img/favicon/apple-icon-120x120.png +0 -0
- data/assets/img/favicon/apple-icon-144x144.png +0 -0
- data/assets/img/favicon/apple-icon-152x152.png +0 -0
- data/assets/img/favicon/apple-icon-180x180.png +0 -0
- data/assets/img/favicon/apple-icon-57x57.png +0 -0
- data/assets/img/favicon/apple-icon-60x60.png +0 -0
- data/assets/img/favicon/apple-icon-72x72.png +0 -0
- data/assets/img/favicon/apple-icon-76x76.png +0 -0
- data/assets/img/favicon/apple-icon-precomposed.png +0 -0
- data/assets/img/favicon/apple-icon.png +0 -0
- data/assets/img/favicon/browserconfig.xml +2 -0
- data/assets/img/favicon/favicon-16x16.png +0 -0
- data/assets/img/favicon/favicon-32x32.png +0 -0
- data/assets/img/favicon/favicon-96x96.png +0 -0
- data/assets/img/favicon/favicon.ico +0 -0
- data/assets/img/favicon/manifest.json +41 -0
- data/assets/img/favicon/ms-icon-144x144.png +0 -0
- data/assets/img/favicon/ms-icon-150x150.png +0 -0
- data/assets/img/favicon/ms-icon-310x310.png +0 -0
- data/assets/img/favicon/ms-icon-70x70.png +0 -0
- data/assets/img/logo-altosinsights.png +0 -0
- data/assets/js/instafeed.min.js +2 -0
- data/assets/js/main.js +39 -0
- data/assets/main.scss +5 -0
- data/assets/scss/_colors.scss +3 -0
- data/assets/scss/_fonts.scss +16 -0
- data/assets/scss/_footer.scss +4 -0
- data/assets/scss/_header.scss +165 -0
- data/assets/scss/_main.scss +68 -0
- data/assets/scss/style.scss +127 -0
- metadata +165 -0
Binary file
|
Binary file
|
Binary file
|
data/assets/img/1.png
ADDED
Binary file
|
data/assets/img/2.png
ADDED
Binary file
|
data/assets/img/3.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,41 @@
|
|
1
|
+
{
|
2
|
+
"name": "App",
|
3
|
+
"icons": [
|
4
|
+
{
|
5
|
+
"src": "\/android-icon-36x36.png",
|
6
|
+
"sizes": "36x36",
|
7
|
+
"type": "image\/png",
|
8
|
+
"density": "0.75"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"src": "\/android-icon-48x48.png",
|
12
|
+
"sizes": "48x48",
|
13
|
+
"type": "image\/png",
|
14
|
+
"density": "1.0"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"src": "\/android-icon-72x72.png",
|
18
|
+
"sizes": "72x72",
|
19
|
+
"type": "image\/png",
|
20
|
+
"density": "1.5"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"src": "\/android-icon-96x96.png",
|
24
|
+
"sizes": "96x96",
|
25
|
+
"type": "image\/png",
|
26
|
+
"density": "2.0"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"src": "\/android-icon-144x144.png",
|
30
|
+
"sizes": "144x144",
|
31
|
+
"type": "image\/png",
|
32
|
+
"density": "3.0"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"src": "\/android-icon-192x192.png",
|
36
|
+
"sizes": "192x192",
|
37
|
+
"type": "image\/png",
|
38
|
+
"density": "4.0"
|
39
|
+
}
|
40
|
+
]
|
41
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,2 @@
|
|
1
|
+
// Generated by CoffeeScript 1.9.3
|
2
|
+
(function(){var e;e=function(){function e(e,t){var n,r;this.options={target:"instafeed",get:"popular",resolution:"thumbnail",sortBy:"none",links:!0,mock:!1,useHttp:!1};if(typeof e=="object")for(n in e)r=e[n],this.options[n]=r;this.context=t!=null?t:this,this.unique=this._genKey()}return e.prototype.hasNext=function(){return typeof this.context.nextUrl=="string"&&this.context.nextUrl.length>0},e.prototype.next=function(){return this.hasNext()?this.run(this.context.nextUrl):!1},e.prototype.run=function(t){var n,r,i;if(typeof this.options.clientId!="string"&&typeof this.options.accessToken!="string")throw new Error("Missing clientId or accessToken.");if(typeof this.options.accessToken!="string"&&typeof this.options.clientId!="string")throw new Error("Missing clientId or accessToken.");return this.options.before!=null&&typeof this.options.before=="function"&&this.options.before.call(this),typeof document!="undefined"&&document!==null&&(i=document.createElement("script"),i.id="instafeed-fetcher",i.src=t||this._buildUrl(),n=document.getElementsByTagName("head"),n[0].appendChild(i),r="instafeedCache"+this.unique,window[r]=new e(this.options,this),window[r].unique=this.unique),!0},e.prototype.parse=function(e){var t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w,E,S,x,T,N,C,k,L,A,O,M,_,D;if(typeof e!="object"){if(this.options.error!=null&&typeof this.options.error=="function")return this.options.error.call(this,"Invalid JSON data"),!1;throw new Error("Invalid JSON response")}if(e.meta.code!==200){if(this.options.error!=null&&typeof this.options.error=="function")return this.options.error.call(this,e.meta.error_message),!1;throw new Error("Error from Instagram: "+e.meta.error_message)}if(e.data.length===0){if(this.options.error!=null&&typeof this.options.error=="function")return this.options.error.call(this,"No images were returned from Instagram"),!1;throw new Error("No images were returned from Instagram")}this.options.success!=null&&typeof this.options.success=="function"&&this.options.success.call(this,e),this.context.nextUrl="",e.pagination!=null&&(this.context.nextUrl=e.pagination.next_url);if(this.options.sortBy!=="none"){this.options.sortBy==="random"?M=["","random"]:M=this.options.sortBy.split("-"),O=M[0]==="least"?!0:!1;switch(M[1]){case"random":e.data.sort(function(){return.5-Math.random()});break;case"recent":e.data=this._sortBy(e.data,"created_time",O);break;case"liked":e.data=this._sortBy(e.data,"likes.count",O);break;case"commented":e.data=this._sortBy(e.data,"comments.count",O);break;default:throw new Error("Invalid option for sortBy: '"+this.options.sortBy+"'.")}}if(typeof document!="undefined"&&document!==null&&this.options.mock===!1){m=e.data,A=parseInt(this.options.limit,10),this.options.limit!=null&&m.length>A&&(m=m.slice(0,A)),u=document.createDocumentFragment(),this.options.filter!=null&&typeof this.options.filter=="function"&&(m=this._filter(m,this.options.filter));if(this.options.template!=null&&typeof this.options.template=="string"){f="",d="",w="",D=document.createElement("div");for(c=0,N=m.length;c<N;c++){h=m[c],p=h.images[this.options.resolution];if(typeof p!="object")throw o="No image found for resolution: "+this.options.resolution+".",new Error(o);E=p.width,y=p.height,b="square",E>y&&(b="landscape"),E<y&&(b="portrait"),v=p.url,l=window.location.protocol.indexOf("http")>=0,l&&!this.options.useHttp&&(v=v.replace(/https?:\/\//,"//")),d=this._makeTemplate(this.options.template,{model:h,id:h.id,link:h.link,type:h.type,image:v,width:E,height:y,orientation:b,caption:this._getObjectProperty(h,"caption.text"),likes:h.likes.count,comments:h.comments.count,location:this._getObjectProperty(h,"location.name")}),f+=d}D.innerHTML=f,i=[],r=0,n=D.childNodes.length;while(r<n)i.push(D.childNodes[r]),r+=1;for(x=0,C=i.length;x<C;x++)L=i[x],u.appendChild(L)}else for(T=0,k=m.length;T<k;T++){h=m[T],g=document.createElement("img"),p=h.images[this.options.resolution];if(typeof p!="object")throw o="No image found for resolution: "+this.options.resolution+".",new Error(o);v=p.url,l=window.location.protocol.indexOf("http")>=0,l&&!this.options.useHttp&&(v=v.replace(/https?:\/\//,"//")),g.src=v,this.options.links===!0?(t=document.createElement("a"),t.href=h.link,t.appendChild(g),u.appendChild(t)):u.appendChild(g)}_=this.options.target,typeof _=="string"&&(_=document.getElementById(_));if(_==null)throw o='No element with id="'+this.options.target+'" on page.',new Error(o);_.appendChild(u),a=document.getElementsByTagName("head")[0],a.removeChild(document.getElementById("instafeed-fetcher")),S="instafeedCache"+this.unique,window[S]=void 0;try{delete window[S]}catch(P){s=P}}return this.options.after!=null&&typeof this.options.after=="function"&&this.options.after.call(this),!0},e.prototype._buildUrl=function(){var e,t,n;e="https://api.instagram.com/v1";switch(this.options.get){case"popular":t="media/popular";break;case"tagged":if(!this.options.tagName)throw new Error("No tag name specified. Use the 'tagName' option.");t="tags/"+this.options.tagName+"/media/recent";break;case"location":if(!this.options.locationId)throw new Error("No location specified. Use the 'locationId' option.");t="locations/"+this.options.locationId+"/media/recent";break;case"user":if(!this.options.userId)throw new Error("No user specified. Use the 'userId' option.");t="users/"+this.options.userId+"/media/recent";break;default:throw new Error("Invalid option for get: '"+this.options.get+"'.")}return n=e+"/"+t,this.options.accessToken!=null?n+="?access_token="+this.options.accessToken:n+="?client_id="+this.options.clientId,this.options.limit!=null&&(n+="&count="+this.options.limit),n+="&callback=instafeedCache"+this.unique+".parse",n},e.prototype._genKey=function(){var e;return e=function(){return((1+Math.random())*65536|0).toString(16).substring(1)},""+e()+e()+e()+e()},e.prototype._makeTemplate=function(e,t){var n,r,i,s,o;r=/(?:\{{2})([\w\[\]\.]+)(?:\}{2})/,n=e;while(r.test(n))s=n.match(r)[1],o=(i=this._getObjectProperty(t,s))!=null?i:"",n=n.replace(r,function(){return""+o});return n},e.prototype._getObjectProperty=function(e,t){var n,r;t=t.replace(/\[(\w+)\]/g,".$1"),r=t.split(".");while(r.length){n=r.shift();if(!(e!=null&&n in e))return null;e=e[n]}return e},e.prototype._sortBy=function(e,t,n){var r;return r=function(e,r){var i,s;return i=this._getObjectProperty(e,t),s=this._getObjectProperty(r,t),n?i>s?1:-1:i<s?1:-1},e.sort(r.bind(this)),e},e.prototype._filter=function(e,t){var n,r,i,s,o;n=[],r=function(e){if(t(e))return n.push(e)};for(i=0,o=e.length;i<o;i++)s=e[i],r(s);return n},e}(),function(e,t){return typeof define=="function"&&define.amd?define([],t):typeof module=="object"&&module.exports?module.exports=t():e.Instafeed=t()}(this,function(){return e})}).call(this);
|
data/assets/js/main.js
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
jQuery(document).ready(function($) {
|
2
|
+
var feed = new Instafeed({
|
3
|
+
get: 'user',
|
4
|
+
userId: '364180803',
|
5
|
+
accessToken: '364180803.ca3e263.4ed78f3f4bbf4772946cfbc780872817',
|
6
|
+
template: '<a href="{{link}}" target="_blank"><img src="{{image}}" class="img-insta"/></a>',
|
7
|
+
sortBy: 'most-recent',
|
8
|
+
limit: '4',
|
9
|
+
});
|
10
|
+
feed.run();
|
11
|
+
|
12
|
+
var $topo = $('.main');
|
13
|
+
var $menu = $('.menu');
|
14
|
+
var $filterSpacer = $('<div />', {
|
15
|
+
"class": "filter-drop-spacer",
|
16
|
+
"height": $menu.outerHeight()
|
17
|
+
});
|
18
|
+
|
19
|
+
$(window).scroll(function ()
|
20
|
+
{
|
21
|
+
if (!$menu.hasClass('video-scroll') && $(window).scrollTop() > $topo.offset().top)
|
22
|
+
{
|
23
|
+
$menu.before($filterSpacer);
|
24
|
+
$menu.addClass('fix');
|
25
|
+
}
|
26
|
+
else if ($menu.hasClass('fix') && $(window).scrollTop() < $filterSpacer.offset().top)
|
27
|
+
{
|
28
|
+
$menu.removeClass('fix');
|
29
|
+
$filterSpacer.remove();
|
30
|
+
}
|
31
|
+
|
32
|
+
});
|
33
|
+
|
34
|
+
$(".menu-mobile").on('click', function () {
|
35
|
+
$(this).toggleClass('act');
|
36
|
+
$(".menu-itens").toggleClass('menu-itens-active');
|
37
|
+
$(".menu-mobile").toggleClass('menu-mobile-active');
|
38
|
+
})
|
39
|
+
});
|
data/assets/main.scss
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
@import url('https://fonts.googleapis.com/css?family=Open+Sans|Source+Sans+Pro|Shadows+Into+Light+Two');
|
2
|
+
@font-face {
|
3
|
+
font-family: 'altosinsights';
|
4
|
+
font-style: normal;
|
5
|
+
src: url('http://localhost:8000/assets/font/altosinsights.eot');
|
6
|
+
src: local('http://localhost:8000/assets/font/altosinsights'), url('http://localhost:8000/assets/font/altosinsights.eot') format('embedded-opentype'), url('http://localhost:8000/assets/font/altosinsights.woff') format('woff');
|
7
|
+
}
|
8
|
+
@font-face {
|
9
|
+
font-family: 'Zooja';
|
10
|
+
src: local('http://localhost:8000/assets/font/Zooja.ttf');
|
11
|
+
}
|
12
|
+
|
13
|
+
$logo : 'Zooja', sans-serif;
|
14
|
+
$textos : 'Open Sans', sans-serif;
|
15
|
+
$titulos : 'altosinsights', sans-serif;
|
16
|
+
$especial : 'Shadows Into Light Two', cursive;
|
@@ -0,0 +1,165 @@
|
|
1
|
+
//vars
|
2
|
+
@import "colors";
|
3
|
+
@import "fonts";
|
4
|
+
|
5
|
+
header.topo{
|
6
|
+
width: 100%;
|
7
|
+
padding: 60px 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
.logo{
|
11
|
+
width: 100%;
|
12
|
+
max-width: 320px;
|
13
|
+
margin: 0 auto;
|
14
|
+
display: block;
|
15
|
+
transition: all .25s linear;
|
16
|
+
}
|
17
|
+
|
18
|
+
nav.menu{
|
19
|
+
display: flex;
|
20
|
+
//margin: 0 auto;
|
21
|
+
left: 0;
|
22
|
+
right: 0;
|
23
|
+
top: 0;
|
24
|
+
padding: 20px 0;
|
25
|
+
background: #fff;
|
26
|
+
border: 5px solid #f1f1f1;
|
27
|
+
font-family: $titulos;
|
28
|
+
font-size: 10px;
|
29
|
+
letter-spacing: 2px;
|
30
|
+
text-transform: uppercase;
|
31
|
+
ul{
|
32
|
+
display: flex;
|
33
|
+
margin: 0 auto;
|
34
|
+
}
|
35
|
+
li{
|
36
|
+
margin: 0 31px;
|
37
|
+
list-style: none;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
nav.menu-mobile{
|
42
|
+
height: 30px;
|
43
|
+
width: 30px;
|
44
|
+
cursor: pointer;
|
45
|
+
position: fixed;
|
46
|
+
left: 15px;
|
47
|
+
top: 20px;
|
48
|
+
z-index: 1;
|
49
|
+
&:after {
|
50
|
+
content: '';
|
51
|
+
position: absolute;
|
52
|
+
left: -50%;
|
53
|
+
top: -50%;
|
54
|
+
z-index: -1;
|
55
|
+
border: 30px solid $secundaria;
|
56
|
+
border-radius: 50%;
|
57
|
+
height: 0;
|
58
|
+
width: 0;
|
59
|
+
transition: all 150ms;
|
60
|
+
transform: scale(0);
|
61
|
+
}
|
62
|
+
> span {
|
63
|
+
background-color: $secundaria;
|
64
|
+
border-radius: 1px;
|
65
|
+
height: 3px;
|
66
|
+
width: 25px;
|
67
|
+
cursor: pointer;
|
68
|
+
position: absolute;
|
69
|
+
left: 0;
|
70
|
+
top: 50%;
|
71
|
+
margin-top: -1px;
|
72
|
+
transition: all 100ms;
|
73
|
+
&:after, &:before {
|
74
|
+
content: '';
|
75
|
+
background-color: $secundaria;
|
76
|
+
border-radius: 1px;
|
77
|
+
height: 3px;
|
78
|
+
width: 30px;
|
79
|
+
position: absolute;
|
80
|
+
left: 0;
|
81
|
+
transition: all 200ms;
|
82
|
+
}
|
83
|
+
&:after {
|
84
|
+
top: -7px;
|
85
|
+
}
|
86
|
+
&:before {
|
87
|
+
bottom: -7px;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
&.act {
|
91
|
+
&:after {
|
92
|
+
transform: scale(8);
|
93
|
+
opacity: 0;
|
94
|
+
}
|
95
|
+
> span {
|
96
|
+
height: 0;
|
97
|
+
&:after, &:before {
|
98
|
+
background-color: $secundaria;
|
99
|
+
top: 1px;
|
100
|
+
}
|
101
|
+
&:after {
|
102
|
+
transform: rotate(45deg);
|
103
|
+
}
|
104
|
+
&:before {
|
105
|
+
transform: rotate(-45deg);
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
nav.menu-mobile{
|
112
|
+
display: none;
|
113
|
+
.menu-itens{
|
114
|
+
width: 200px;
|
115
|
+
min-height: 100%;
|
116
|
+
background: #fff;
|
117
|
+
position: fixed;
|
118
|
+
top: 0;
|
119
|
+
left: -220px;
|
120
|
+
transition: all .25s linear;
|
121
|
+
text-align: center;
|
122
|
+
cursor: initial;
|
123
|
+
li.about{
|
124
|
+
background: transparent;
|
125
|
+
border: 0;
|
126
|
+
width: 50%;
|
127
|
+
margin: 0 auto;
|
128
|
+
padding: 20px 0 0;
|
129
|
+
}
|
130
|
+
li.about-text{
|
131
|
+
text-transform: initial;
|
132
|
+
padding: 0 15px;
|
133
|
+
border: 0;
|
134
|
+
background: transparent;
|
135
|
+
p{font-size: 10px;}
|
136
|
+
}
|
137
|
+
li{
|
138
|
+
margin: 5px;
|
139
|
+
padding: 20px 0;
|
140
|
+
background: #fff;
|
141
|
+
border: 5px solid #f1f1f1;
|
142
|
+
font-family: "altosinsights", sans-serif;
|
143
|
+
font-size: 10px;
|
144
|
+
letter-spacing: 2px;
|
145
|
+
text-transform: uppercase;
|
146
|
+
list-style: none;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
.menu-itens-active{
|
150
|
+
left: 0;
|
151
|
+
box-shadow: #666 1px 0 10px 0px;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
nav.menu-mobile-active{
|
156
|
+
left: 213px;
|
157
|
+
}
|
158
|
+
|
159
|
+
.social-media{
|
160
|
+
margin: 0 10px;
|
161
|
+
}
|
162
|
+
|
163
|
+
.categoria-image{
|
164
|
+
width: 287px;
|
165
|
+
}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
.main{
|
2
|
+
display: flex;
|
3
|
+
margin: 30px auto;
|
4
|
+
max-width: 1068px;
|
5
|
+
}
|
6
|
+
|
7
|
+
.post-list{
|
8
|
+
display: block;
|
9
|
+
max-width: 700px;
|
10
|
+
margin-right: 30px;
|
11
|
+
}
|
12
|
+
|
13
|
+
.post{
|
14
|
+
margin-bottom: 50px;
|
15
|
+
}
|
16
|
+
|
17
|
+
.sidebar{
|
18
|
+
display: block;
|
19
|
+
max-width: 337px;
|
20
|
+
h2{
|
21
|
+
margin-bottom: 20px;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
#instafeed{
|
26
|
+
width: 287px;
|
27
|
+
display: block;
|
28
|
+
margin-bottom: -40px;
|
29
|
+
}
|
30
|
+
|
31
|
+
.img-insta{
|
32
|
+
max-width: 136px;
|
33
|
+
width: 100%;
|
34
|
+
margin: 2px 3.5px;
|
35
|
+
transition: all .25s linear;
|
36
|
+
}
|
37
|
+
|
38
|
+
.img-insta:hover{
|
39
|
+
opacity: 0.8;
|
40
|
+
}
|
41
|
+
|
42
|
+
.post, .widget{
|
43
|
+
background: #fff;
|
44
|
+
border: 5px solid #f1f1f1;
|
45
|
+
padding: 20px;
|
46
|
+
}
|
47
|
+
|
48
|
+
.about{
|
49
|
+
text-align: center;
|
50
|
+
p{
|
51
|
+
margin: 10px 0px;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.thumb{
|
56
|
+
width: 100%;
|
57
|
+
height: 300px;
|
58
|
+
margin: 20px 0;
|
59
|
+
}
|
60
|
+
|
61
|
+
.more{
|
62
|
+
font-size: 16px;
|
63
|
+
text-transform: uppercase;
|
64
|
+
font-family: $especial;
|
65
|
+
font-weight: bold;
|
66
|
+
display: block;
|
67
|
+
margin: 20px 0;
|
68
|
+
}
|
@@ -0,0 +1,127 @@
|
|
1
|
+
//vars
|
2
|
+
@import "colors";
|
3
|
+
@import "fonts";
|
4
|
+
|
5
|
+
//elements
|
6
|
+
@import "header";
|
7
|
+
@import "main";
|
8
|
+
@import "footer";
|
9
|
+
|
10
|
+
//reset
|
11
|
+
*{
|
12
|
+
margin: 0;
|
13
|
+
padding: 0;
|
14
|
+
}
|
15
|
+
|
16
|
+
body{
|
17
|
+
background: $branco;
|
18
|
+
}
|
19
|
+
|
20
|
+
h1, h2, h3{
|
21
|
+
font-family: $titulos;
|
22
|
+
text-transform: uppercase;
|
23
|
+
letter-spacing: 2px;
|
24
|
+
color: $primaria;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1, h2{
|
28
|
+
font-size: 18px;
|
29
|
+
}
|
30
|
+
|
31
|
+
p{
|
32
|
+
font-family: $textos;
|
33
|
+
color: $secundaria;
|
34
|
+
font-size: 12px;
|
35
|
+
line-height: 1.625;
|
36
|
+
}
|
37
|
+
|
38
|
+
a{
|
39
|
+
color: $primaria;
|
40
|
+
transition: all .25s linear;
|
41
|
+
text-decoration: none;
|
42
|
+
}
|
43
|
+
|
44
|
+
a:hover{
|
45
|
+
color: $secundaria;
|
46
|
+
}
|
47
|
+
|
48
|
+
cite{
|
49
|
+
font-family: $textos;
|
50
|
+
font-style: normal;
|
51
|
+
color: $primaria;
|
52
|
+
margin: 20px 0 0;
|
53
|
+
display: block;
|
54
|
+
font-size: 12px;
|
55
|
+
}
|
56
|
+
|
57
|
+
//class
|
58
|
+
.img-responsive{
|
59
|
+
width: 100%;
|
60
|
+
}
|
61
|
+
|
62
|
+
.author{
|
63
|
+
font-family: $especial;
|
64
|
+
color: $primaria;
|
65
|
+
font-weight: bold;
|
66
|
+
}
|
67
|
+
|
68
|
+
.content{
|
69
|
+
padding-left: 0;
|
70
|
+
padding-right: 0;
|
71
|
+
}
|
72
|
+
|
73
|
+
.fix{
|
74
|
+
position: fixed;
|
75
|
+
z-index: 999;
|
76
|
+
box-shadow: #000 0 -20px 35px;
|
77
|
+
transition: all .25s linear;
|
78
|
+
}
|
79
|
+
|
80
|
+
|
81
|
+
@media screen and (max-width: 1280px){
|
82
|
+
.content{
|
83
|
+
padding-left: 5%;
|
84
|
+
padding-right: 5%;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
@media screen and (max-width: 1020px){
|
89
|
+
.sidebar{
|
90
|
+
display: none;
|
91
|
+
}
|
92
|
+
.post-list{
|
93
|
+
max-width: 700px;
|
94
|
+
margin: 0 auto;
|
95
|
+
}
|
96
|
+
.post-list h1, .post-list cite{
|
97
|
+
text-align: center;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
@media screen and (max-width: 780px){
|
102
|
+
nav.menu li{
|
103
|
+
margin: 0 20px;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
@media screen and (max-width: 580px){
|
108
|
+
.categorias{
|
109
|
+
display: none;
|
110
|
+
}
|
111
|
+
header.topo{
|
112
|
+
padding: 20px 0;
|
113
|
+
}
|
114
|
+
nav.menu, .filter-drop-spacer, ::-webkit-scrollbar{
|
115
|
+
display: none;
|
116
|
+
}
|
117
|
+
nav.menu-mobile{
|
118
|
+
display: block;
|
119
|
+
}
|
120
|
+
.main{
|
121
|
+
margin: 0 auto;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
@media screen and (max-width: 480px){
|
126
|
+
|
127
|
+
}
|