mirror of
https://github.com/aljazceru/cryptoanarchywiki.github.io.git
synced 2025-12-17 05:04:21 +01:00
added project,social share,google analytics
This commit is contained in:
71
static/css/projects.css
Normal file
71
static/css/projects.css
Normal file
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
* //////////////////////////////////
|
||||
* Project Elements
|
||||
* //////////////////////////////////
|
||||
*/
|
||||
.project-outer {
|
||||
display: inline-block;
|
||||
width: 30%;
|
||||
vertical-align: top;
|
||||
margin: 0 10px;
|
||||
}
|
||||
.project-img img {
|
||||
width: 100%;
|
||||
}
|
||||
h3.project-headlines {
|
||||
margin: 5px 0;
|
||||
font-size: 20px;
|
||||
border-bottom: 1px #EEE solid;
|
||||
}
|
||||
span.tags {
|
||||
font-size: 10px;
|
||||
border-bottom: 1px #888 dotted;
|
||||
margin: 0 5px;
|
||||
}
|
||||
span.tags:first-child{ margin-left: 0; }
|
||||
span.tags:last-child{ margin-right: 0; }
|
||||
|
||||
.project-footer {
|
||||
clear: both;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
.project-footer .project-link {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
float: left;
|
||||
}
|
||||
.project-footer .project-timeline {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
float: right;
|
||||
font-size: 13px;
|
||||
font-style: italic;
|
||||
}
|
||||
.project-inner > a {
|
||||
display: block;
|
||||
}
|
||||
.project-img {
|
||||
width: 230px;
|
||||
height: 200px;
|
||||
display: block;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
}
|
||||
/** Project Tag Filters **/
|
||||
.tag-group{
|
||||
margin: 0 0 25px 0;
|
||||
}
|
||||
span.tag-cloud {
|
||||
margin: 0 2px;
|
||||
cursor: pointer;
|
||||
font-size: 75%;
|
||||
padding: .2em .6em .3em;
|
||||
font-weight: 700;
|
||||
display: inline;
|
||||
}
|
||||
.tag-cloud.active{
|
||||
background: #ccc;
|
||||
}
|
||||
.project-item.not-show{ display: none; }
|
||||
163
static/css/thickbox.css
Normal file
163
static/css/thickbox.css
Normal file
@@ -0,0 +1,163 @@
|
||||
/* ----------------------------------------------------------------------------------------------------------------*/
|
||||
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
|
||||
/* ----------------------------------------------------------------------------------------------------------------*/
|
||||
*{padding: 0; margin: 0;}
|
||||
|
||||
/* ----------------------------------------------------------------------------------------------------------------*/
|
||||
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
|
||||
/* ----------------------------------------------------------------------------------------------------------------*/
|
||||
#TB_window {
|
||||
font: 12px Arial, Helvetica, sans-serif;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
#TB_secondLine {
|
||||
font: 10px Arial, Helvetica, sans-serif;
|
||||
color:#666666;
|
||||
}
|
||||
|
||||
#TB_window a:link {color: #666666;}
|
||||
#TB_window a:visited {color: #666666;}
|
||||
#TB_window a:hover {color: #000;}
|
||||
#TB_window a:active {color: #666666;}
|
||||
#TB_window a:focus{color: #666666;}
|
||||
|
||||
/* ----------------------------------------------------------------------------------------------------------------*/
|
||||
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
|
||||
/* ----------------------------------------------------------------------------------------------------------------*/
|
||||
#TB_overlay {
|
||||
position: fixed;
|
||||
z-index:100;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
height:100%;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.TB_overlayMacFFBGHack {background: url(/static/img/macFFBgHack.png) repeat;}
|
||||
.TB_overlayBG {
|
||||
background-color:#000;
|
||||
filter:alpha(opacity=75);
|
||||
-moz-opacity: 0.75;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
* html #TB_overlay { /* ie6 hack */
|
||||
position: absolute;
|
||||
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
|
||||
}
|
||||
|
||||
#TB_window {
|
||||
position: fixed;
|
||||
background: #ffffff;
|
||||
z-index: 102;
|
||||
color:#000000;
|
||||
display:none;
|
||||
border: 4px solid #525252;
|
||||
text-align:left;
|
||||
top:50%;
|
||||
left:50%;
|
||||
}
|
||||
|
||||
* html #TB_window { /* ie6 hack */
|
||||
position: absolute;
|
||||
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
|
||||
}
|
||||
|
||||
#TB_window img#TB_Image {
|
||||
display:block;
|
||||
margin: 15px 0 0 15px;
|
||||
border-right: 1px solid #ccc;
|
||||
border-bottom: 1px solid #ccc;
|
||||
border-top: 1px solid #666;
|
||||
border-left: 1px solid #666;
|
||||
}
|
||||
|
||||
#TB_caption{
|
||||
height:25px;
|
||||
padding:7px 30px 10px 25px;
|
||||
float:left;
|
||||
}
|
||||
|
||||
#TB_closeWindow{
|
||||
height:25px;
|
||||
padding:11px 25px 10px 0;
|
||||
float:right;
|
||||
}
|
||||
|
||||
#TB_closeAjaxWindow{
|
||||
padding:7px 10px 5px 0;
|
||||
margin-bottom:1px;
|
||||
text-align:right;
|
||||
float:right;
|
||||
}
|
||||
|
||||
#TB_ajaxWindowTitle{
|
||||
float:left;
|
||||
padding:7px 0 5px 10px;
|
||||
margin-bottom:1px;
|
||||
}
|
||||
|
||||
#TB_title{
|
||||
background-color:#e8e8e8;
|
||||
height:27px;
|
||||
}
|
||||
|
||||
#TB_ajaxContent{
|
||||
clear:both;
|
||||
padding:2px 15px 15px 15px;
|
||||
overflow:auto;
|
||||
text-align:left;
|
||||
line-height:1.4em;
|
||||
}
|
||||
|
||||
#TB_ajaxContent.TB_modal{
|
||||
padding:15px;
|
||||
}
|
||||
|
||||
#TB_ajaxContent p{
|
||||
padding:5px 0px 5px 0px;
|
||||
}
|
||||
|
||||
#TB_load{
|
||||
position: fixed;
|
||||
display:none;
|
||||
height:13px;
|
||||
width:208px;
|
||||
z-index:103;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
|
||||
}
|
||||
|
||||
* html #TB_load { /* ie6 hack */
|
||||
position: absolute;
|
||||
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
|
||||
}
|
||||
|
||||
#TB_HideSelect{
|
||||
z-index:99;
|
||||
position:fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-color:#fff;
|
||||
border:none;
|
||||
filter:alpha(opacity=0);
|
||||
-moz-opacity: 0;
|
||||
opacity: 0;
|
||||
height:100%;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
* html #TB_HideSelect { /* ie6 hack */
|
||||
position: absolute;
|
||||
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
|
||||
}
|
||||
|
||||
#TB_iframeContent{
|
||||
clear:both;
|
||||
border:none;
|
||||
margin-bottom:-1px;
|
||||
margin-top:1px;
|
||||
_margin-bottom:1px;
|
||||
}
|
||||
BIN
static/img/loadingAnimation.gif
Normal file
BIN
static/img/loadingAnimation.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
BIN
static/img/macFFBgHack.png
Normal file
BIN
static/img/macFFBgHack.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 207 B |
41
static/js/projects.js
Normal file
41
static/js/projects.js
Normal file
@@ -0,0 +1,41 @@
|
||||
(function($){
|
||||
$(document).ready(function(){
|
||||
$(document).on('click','.tag-filter',function(){
|
||||
var $this = $(this);
|
||||
|
||||
$('span.tag-filter').removeClass("active");
|
||||
$this.addClass("active");
|
||||
|
||||
|
||||
$('.tag-group').children().each(function(){
|
||||
if( $(this).data('tag') == $this.data('tag')){
|
||||
$(this).addClass("active");
|
||||
}
|
||||
});
|
||||
|
||||
if( $(this).hasClass('all'))
|
||||
$('.project-item').showAll();
|
||||
else
|
||||
$('.project-item').filterTags( $(this).data('tag') );
|
||||
});
|
||||
});
|
||||
|
||||
$.fn.extend({
|
||||
filterTags: function(tagName) {
|
||||
this.removeClass('not-show');
|
||||
return this.each(function() {
|
||||
var itemTagArray = JSON.parse( $(this).attr('data-tags') );
|
||||
if($.inArray(tagName, itemTagArray) === -1){
|
||||
$(this).addClass('not-show');
|
||||
}
|
||||
});
|
||||
},
|
||||
showAll: function(){
|
||||
return this.each(function() {
|
||||
if($(this).hasClass('not-show')){
|
||||
$(this).removeClass('not-show');
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
})(jQuery)
|
||||
10
static/js/thickbox-compressed.js
Normal file
10
static/js/thickbox-compressed.js
Normal file
File diff suppressed because one or more lines are too long
BIN
static/projects/placeholder.jpg
Normal file
BIN
static/projects/placeholder.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 136 KiB |
Reference in New Issue
Block a user