From 480f94db4d0d9776008eefc814eca54e5d512c16 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Mar 29 2018 06:20:12 +0000 Subject: Add the new theme for the Fedora Magazine --- diff --git a/Vagrantfile b/Vagrantfile index d4a61e3..0c63b07 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -4,8 +4,7 @@ PORT = 5055 Vagrant.configure(2) do |config| - config.vm.box_url = "https://download.fedoraproject.org/pub/fedora/linux/releases/25/CloudImages/x86_64/images/Fedora-Cloud-Base-Vagrant-25-1.3.x86_64.vagrant-libvirt.box" - config.vm.box = "f25-cloud-libvirt" + config.vm.box = "fedora/27-cloud-base" config.vm.network "forwarded_port", guest: 80, host: PORT config.vm.synced_folder ".", "/vagrant", type: "sshfs" @@ -14,7 +13,7 @@ Vagrant.configure(2) do |config| config.vm.provision "shell", inline: "systemctl start mariadb.service" config.vm.provision "shell", inline: "pushd /tmp/; wget http://wordpress.org/latest.tar.gz; tar -xvzf latest.tar.gz -C /var/www/html; popd;" - config.vm.provision "shell", inline: "mysql -h localhost -u root -e \"uninstall plugin cracklib_password_check;\"" + #config.vm.provision "shell", inline: "mysql -h localhost -u root -e \"uninstall plugin cracklib_password_check;\"" config.vm.provision "shell", inline: "mysql -h localhost -u root -e \"CREATE USER wordpress@localhost IDENTIFIED BY 'chahL5oomaiHiezie8thei)h5';\"" config.vm.provision "shell", inline: "mysql -h localhost -u root -e \"CREATE DATABASE wordpress_blog;\"" config.vm.provision "shell", inline: "mysql -h localhost -u root -e \"GRANT ALL ON wordpress_blog.* TO wordpress@localhost;\"" diff --git a/fedoramagazine-old/404.php b/fedoramagazine-old/404.php new file mode 100644 index 0000000..ea433ef --- /dev/null +++ b/fedoramagazine-old/404.php @@ -0,0 +1,37 @@ + + +
+ +
+ +
+ +
+ +
+ +

+ +
+ +
+ +

+ + + +
+ +
+ +
+ + + +
+ +
+ +
+ + diff --git a/fedoramagazine-old/archive.php b/fedoramagazine-old/archive.php new file mode 100644 index 0000000..8a606b5 --- /dev/null +++ b/fedoramagazine-old/archive.php @@ -0,0 +1,80 @@ + + +
+ +
+ + +

+ +

+ +

+ +

+ +

+ + +

display_name; ?>

+ +
+ + + ' . $tag_description . '
' ); + ?> + +
+ +
+ + + +
+ + + + + +
+ +
> + + + +
+ +
+ +
+ + + +
+ + max_num_pages > 1 ) : ?> + +
+ + + + + +
+ +
+ +
+ + + + + +
+ + + + \ No newline at end of file diff --git a/fedoramagazine-old/baskerville-editor-style.css b/fedoramagazine-old/baskerville-editor-style.css new file mode 100644 index 0000000..e307f4a --- /dev/null +++ b/fedoramagazine-old/baskerville-editor-style.css @@ -0,0 +1,144 @@ +/*--------------------------------------------------------------------------------- + + Editor styles for Baskerville + +---------------------------------------------------------------------------------*/ + +body#tinymce.wp-editor { + font-family: 'Roboto', Helvetica, sans-serif; + font-size: 16px; +} + +body#tinymce.wp-editor a { color: #13C4A5; } +body#tinymce.wp-editor a:hover { color: #13C4A5; text-decoration: underline; } + +/* headlines */ + +body#tinymce.wp-editor h1, body#tinymce.wp-editor h2, body#tinymce.wp-editor h3, body#tinymce.wp-editor h4, body#tinymce.wp-editor h5, body#tinymce.wp-editor h6 { + color: #444; + line-height: 120%; +} + +body#tinymce.wp-editor h1, +body#tinymce.wp-editor h2, +body#tinymce.wp-editor h3, +body#tinymce.wp-editor h4, +body#tinymce.wp-editor h5, +body#tinymce.wp-editor h6 { font-family: 'Roboto Slab', sans-serif; } + +body#tinymce.wp-editor h1 { font-size: 2em; font-weight: 700; } + +body#tinymce.wp-editor h2 { font-size: 1.75em; font-weight: 700; } + +body#tinymce.wp-editor h3 { font-size: 1.5em; font-weight: 700; } + +body#tinymce.wp-editor h4 { font-size: 1.25em; } + +body#tinymce.wp-editor h5 { font-size: 1.1em; } + +/* blockquote */ + +body#tinymce.wp-editor blockquote { + padding: 1.1em; + line-height: 150%; + color: #666; +} + +body#tinymce.wp-editor blockquote:before, +body#tinymce.wp-editor blockquote:after { + content: ""; + display: block; + width: 128px; + height: 3px; + background: #eee; + margin: 40px auto; +} + +body#tinymce.wp-editor blockquote p { + font-size: 1.2em; + line-height: 160%; + font-weight: 300; + text-align: center; +} + +body#tinymce.wp-editor blockquote p:first-child { margin-top: 0; } +body#tinymce.wp-editor blockquote p:last-child { margin-bottom: 0; } + +body#tinymce.wp-editor cite { + font-family: 'Roboto Slab', sans-serif; + font-size: 0.9rem; + font-weight: bold; + text-transform: uppercase; + line-height: 140%; + text-align: center; + display: block; + margin-top: 1.1em; + font-style: normal; +} + +body#tinymce.wp-editor cite:before { content: "— " } + +body#tinymce.wp-editor blockquote cite em { font-style: italic; font-weight: bold; } + +/* media */ + +body#tinymce.wp-editor .alignright { margin-left: 20px; } + +body#tinymce.wp-editor .alignleft { margin-right: 20px; } + +body#tinymce.wp-editor .wp-caption { + padding: 0; + border: none; + background: none; +} + +body#tinymce.wp-editor .wp-caption-dd { + font-size: 0.85em; + padding-top: 0.5em; + color: #888; + text-align: center; + padding: 10px 0; +} + +/* tables */ + +body#tinymce.wp-editor table { + border-collapse: collapse; + border-spacing: 0; + empty-cells: show; + font-size: 0.9em; + width: 100%; + margin-bottom: 1.1em; + border: none; +} + +body#tinymce.wp-editor th, +body#tinymce.wp-editor td { + padding: 2%; + margin: 0; + overflow: visible; + line-height: 120%; + border: none; + border-bottom: 1px solid #DDD; + font-size: 1em; +} + +body#tinymce.wp-editor caption { + color: #444; + text-align: center; + padding: 2%; +} + +body#tinymce.wp-editor thead { + vertical-align: bottom; + white-space: nowrap; +} + +body#tinymce.wp-editor th { + font-weight: bold; + color: #444; +} + +body#tinymce.wp-editor table tbody > tr:nth-child(odd) > td { background: #f9f9f9; } + + diff --git a/fedoramagazine-old/changelog.txt b/fedoramagazine-old/changelog.txt new file mode 100644 index 0000000..c7fe406 --- /dev/null +++ b/fedoramagazine-old/changelog.txt @@ -0,0 +1,97 @@ +*** Baskerville changelog *** + + +Version 1.15 (2014-09-26) +------------------------- +- Added styling for email input fields in the post content +- Fixed so that images smaller than the featured media area is centered +- Fixed the display of Disqus comments +- Fixed so that other post types (ie the Jetpack portfolio post type) is displayed correctly + + +Version 1.14 (2014-08-06) +------------------------- +- Optimized style.css +- Fixed so that the scaling effect on featured images works in non-webkit browsers + + +Version 1.13 (2014-08-05) +------------------------- +- Fixed an issue which would prevent WordPress Mediaelement.js style from loading +- Minor CSS tweaks and fixes + + +Version 1.12 (2014-08-02) +------------------------- +- Fixed a bug which made it so that the author email was always visible in the post meta, even if it had been set as hidden in the settings + + +Version 1.11 (2014-07-31) +------------------------- +– Added form styling to the post content CSS to better support Contact Form 7 and other form based plugins +- Added a function to prevent WordPress built-in medieaelement.js styles from kicking in +- Improved the Masonry function in global.js to be leaner and meaner +– Replaced the Masonry files included with the theme with the ones packaded with WordPress + + +Version 1.10 (2014-07-31) +------------------------- +- Fixed so that plugins can add post thumbnail sizes when Baskerville is active + + +Version 1.09 (2014-07-19) +------------------------- +- Fixed so that the post-image size is the same as the maximum width of the container + + +Version 1.08 (2014-06-25) +------------------------- +- Removed a stray closing div from footer.php +- Replaced the search field in the header with get_search_form(); +- Added sanitize_callback to theme customization in functions.php + + +Version 1.07 (2014-06-12) +------------------------- +- Replaced esc_attr() with the_title_attribute() in link title attributes +- Fixed a bug where the audio player would overflow in some browsers + + +Version 1.06 (2014-06-11) +------------------------- +- Escaped the_title() in link title attributes +- Increased the contrast of the post-excerpt element + + +Version 1.05 (2014-06-09) +------------------------- +- Fixed a bug where template-archives.php would always display comments + + +Version 1.04 (2014-06-08) +------------------------- +- Minor fixes and touch-ups to template-contributors.php +- Realized that the image post format was missing, added it in + + +Version 1.03 (2014-06-08) +------------------------- +- Fixed a bug in the search form in the header +- Upped the resolution of home-g.png, author-w.png and the post-nav icons in the /2x/ folder +- Adjusted font sizes and line heights of elements @ 600px + + +Version 1.02 (2014-06-07) +------------------------- +- Added yet another missing text domain + + +Version 1.01 (2014-06-07) +------------------------- +- Added support for custom background +- Added missing text domains in template-contributors.php +- Minor adjustments to style.css + + +Version 1.00 (2014-06-07) +------------------------- \ No newline at end of file diff --git a/fedoramagazine-old/comments.php b/fedoramagazine-old/comments.php new file mode 100644 index 0000000..79aba4b --- /dev/null +++ b/fedoramagazine-old/comments.php @@ -0,0 +1,107 @@ + + + + +
+ + + +
+ +

+ + comments_by_type['comment']) . ' '; + echo _n( 'Comment' , 'Comments' , count($wp_query->comments_by_type['comment']), 'baskerville' ); ?> + +

+ + + +

+ + + +
+ +
+ +
    + 'comment', 'callback' => 'baskerville_comment' ) ); ?> +
+ + + +
+ +
+ +

+ + comments_by_type['pings']) . ' '; + echo _n( 'Pingback', 'Pingbacks', count($wp_query->comments_by_type['pings']), 'baskerville' ); ?> + +

+ +
    + 'pings', 'callback' => 'baskerville_comment' ) ); ?> +
+ +
+ +
+ + + + 1 && get_option( 'page_comments' ) ) : ?> + + + + + +
+ + + + + +

+ + + + + '

' . __( 'Your email address will not be published.', 'baskerville' ) . '

', + + 'comment_notes_after' => + '

All Comments are moderated. It may take some time for your first post to get through the queue. If your posts seem to never show up, please contact us directly. Please follow the Fedora Code of Conduct when commenting. Also note that Fedora Magazine is not a help forum. If you need help with an issue or want to discuss it, consult this wiki page for help on where to do that.

', + + 'comment_field' => + '

', + + 'fields' => apply_filters( 'comment_form_default_fields', array( + + 'author' => + '

' . + '' . ' ' . ( $req ? '*' : '' ) . '

', + + 'email' => + '

' . ' ' . ( $req ? '*' : '' ) . '

', + + 'url' => + '

' . '

') + ), + ); + + comment_form($comments_args); + ?> diff --git a/fedoramagazine-old/content-aside.php b/fedoramagazine-old/content-aside.php new file mode 100644 index 0000000..a8afa18 --- /dev/null +++ b/fedoramagazine-old/content-aside.php @@ -0,0 +1,33 @@ +post_content != "") : ?> + +
+ + + +
+ + + + + +
+ + + + + +
+ +
+ +
\ No newline at end of file diff --git a/fedoramagazine-old/content-audio.php b/fedoramagazine-old/content-audio.php new file mode 100644 index 0000000..2ada0cb --- /dev/null +++ b/fedoramagazine-old/content-audio.php @@ -0,0 +1,55 @@ +ID, 'audio_url', true); ?> + +
+ +

+ + + +
+ + + +
+ + + +
+ + + +post_content != "") : ?> + +
+ + + +
+ + + +
+ + + + + +
+ +
+ +
\ No newline at end of file diff --git a/fedoramagazine-old/content-gallery.php b/fedoramagazine-old/content-gallery.php new file mode 100644 index 0000000..58105ee --- /dev/null +++ b/fedoramagazine-old/content-gallery.php @@ -0,0 +1,45 @@ +
+ +

+ + + +
+ + + +post_content != "") : ?> + +
+ + + +
+ + + +
+ + + + + +
+ +
+ +
\ No newline at end of file diff --git a/fedoramagazine-old/content-image.php b/fedoramagazine-old/content-image.php new file mode 100644 index 0000000..ccd96de --- /dev/null +++ b/fedoramagazine-old/content-image.php @@ -0,0 +1,49 @@ + + + + + + + + +
+ + post_excerpt) ) : ?> + +

post_excerpt; ?>

+ + + +
+ +
+ + + + + +
+ +
+ +
\ No newline at end of file diff --git a/fedoramagazine-old/content-link.php b/fedoramagazine-old/content-link.php new file mode 100644 index 0000000..6012622 --- /dev/null +++ b/fedoramagazine-old/content-link.php @@ -0,0 +1,50 @@ +ID, 'link_url', true); ?> +ID, 'link_title', true); ?> + +
+ +

+ + + +
+ +
+ +

+ + + +
+ +post_content != "") : ?> + +
+ + + +
+ + + +
+ + + + + +
+ +
+ +
\ No newline at end of file diff --git a/fedoramagazine-old/content-quote.php b/fedoramagazine-old/content-quote.php new file mode 100644 index 0000000..c7c253d --- /dev/null +++ b/fedoramagazine-old/content-quote.php @@ -0,0 +1,54 @@ +ID, 'quote_content', true); ?> +ID, 'quote_attribution', true); ?> + +
+ +

+ + + +
+ +
+ +
+ + + + + + + +
+ +post_content != "") : ?> + +
+ + + +
+ + + +
+ + + + + +
+ +
+ +
\ No newline at end of file diff --git a/fedoramagazine-old/content-status.php b/fedoramagazine-old/content-status.php new file mode 100644 index 0000000..c6d8f4b --- /dev/null +++ b/fedoramagazine-old/content-status.php @@ -0,0 +1,31 @@ +post_content != "") : ?> + +
+ + + +
+ + + +
+ + + + + +
+ +
+ +
\ No newline at end of file diff --git a/fedoramagazine-old/content-video.php b/fedoramagazine-old/content-video.php new file mode 100644 index 0000000..93ca963 --- /dev/null +++ b/fedoramagazine-old/content-video.php @@ -0,0 +1,65 @@ +
+ +

+ + + +
+ +ID, 'video_url', true); if ( $video_url != '' ) : ?> + + + + + +post_content != "") : ?> + +
+ + + +
+ + + +
+ + + + + +
+ +
+ +
\ No newline at end of file diff --git a/fedoramagazine-old/content.php b/fedoramagazine-old/content.php new file mode 100644 index 0000000..e5f3dcf --- /dev/null +++ b/fedoramagazine-old/content.php @@ -0,0 +1,59 @@ + + + + + + + + +
+ +

+ + + +
+ +
+ + + +
+ +
+ + + + + +
+ +
+ +
diff --git a/fedoramagazine-old/favicon.ico b/fedoramagazine-old/favicon.ico new file mode 100644 index 0000000..adc42c8 Binary files /dev/null and b/fedoramagazine-old/favicon.ico differ diff --git a/fedoramagazine-old/fonts/font-awesome/css/font-awesome.css b/fedoramagazine-old/fonts/font-awesome/css/font-awesome.css new file mode 100644 index 0000000..ee906a8 --- /dev/null +++ b/fedoramagazine-old/fonts/font-awesome/css/font-awesome.css @@ -0,0 +1,2337 @@ +/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */ +/* FONT PATH + * -------------------------- */ +@font-face { + font-family: 'FontAwesome'; + src: url('../fonts/fontawesome-webfont.eot?v=4.7.0'); + src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg'); + font-weight: normal; + font-style: normal; +} +.fa { + display: inline-block; + font: normal normal normal 14px/1 FontAwesome; + font-size: inherit; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +/* makes the font 33% larger relative to the icon container */ +.fa-lg { + font-size: 1.33333333em; + line-height: 0.75em; + vertical-align: -15%; +} +.fa-2x { + font-size: 2em; +} +.fa-3x { + font-size: 3em; +} +.fa-4x { + font-size: 4em; +} +.fa-5x { + font-size: 5em; +} +.fa-fw { + width: 1.28571429em; + text-align: center; +} +.fa-ul { + padding-left: 0; + margin-left: 2.14285714em; + list-style-type: none; +} +.fa-ul > li { + position: relative; +} +.fa-li { + position: absolute; + left: -2.14285714em; + width: 2.14285714em; + top: 0.14285714em; + text-align: center; +} +.fa-li.fa-lg { + left: -1.85714286em; +} +.fa-border { + padding: .2em .25em .15em; + border: solid 0.08em #eeeeee; + border-radius: .1em; +} +.fa-pull-left { + float: left; +} +.fa-pull-right { + float: right; +} +.fa.fa-pull-left { + margin-right: .3em; +} +.fa.fa-pull-right { + margin-left: .3em; +} +/* Deprecated as of 4.4.0 */ +.pull-right { + float: right; +} +.pull-left { + float: left; +} +.fa.pull-left { + margin-right: .3em; +} +.fa.pull-right { + margin-left: .3em; +} +.fa-spin { + -webkit-animation: fa-spin 2s infinite linear; + animation: fa-spin 2s infinite linear; +} +.fa-pulse { + -webkit-animation: fa-spin 1s infinite steps(8); + animation: fa-spin 1s infinite steps(8); +} +@-webkit-keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +.fa-rotate-90 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"; + -webkit-transform: rotate(90deg); + -ms-transform: rotate(90deg); + transform: rotate(90deg); +} +.fa-rotate-180 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} +.fa-rotate-270 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; + -webkit-transform: rotate(270deg); + -ms-transform: rotate(270deg); + transform: rotate(270deg); +} +.fa-flip-horizontal { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"; + -webkit-transform: scale(-1, 1); + -ms-transform: scale(-1, 1); + transform: scale(-1, 1); +} +.fa-flip-vertical { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"; + -webkit-transform: scale(1, -1); + -ms-transform: scale(1, -1); + transform: scale(1, -1); +} +:root .fa-rotate-90, +:root .fa-rotate-180, +:root .fa-rotate-270, +:root .fa-flip-horizontal, +:root .fa-flip-vertical { + filter: none; +} +.fa-stack { + position: relative; + display: inline-block; + width: 2em; + height: 2em; + line-height: 2em; + vertical-align: middle; +} +.fa-stack-1x, +.fa-stack-2x { + position: absolute; + left: 0; + width: 100%; + text-align: center; +} +.fa-stack-1x { + line-height: inherit; +} +.fa-stack-2x { + font-size: 2em; +} +.fa-inverse { + color: #ffffff; +} +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ +.fa-glass:before { + content: "\f000"; +} +.fa-music:before { + content: "\f001"; +} +.fa-search:before { + content: "\f002"; +} +.fa-envelope-o:before { + content: "\f003"; +} +.fa-heart:before { + content: "\f004"; +} +.fa-star:before { + content: "\f005"; +} +.fa-star-o:before { + content: "\f006"; +} +.fa-user:before { + content: "\f007"; +} +.fa-film:before { + content: "\f008"; +} +.fa-th-large:before { + content: "\f009"; +} +.fa-th:before { + content: "\f00a"; +} +.fa-th-list:before { + content: "\f00b"; +} +.fa-check:before { + content: "\f00c"; +} +.fa-remove:before, +.fa-close:before, +.fa-times:before { + content: "\f00d"; +} +.fa-search-plus:before { + content: "\f00e"; +} +.fa-search-minus:before { + content: "\f010"; +} +.fa-power-off:before { + content: "\f011"; +} +.fa-signal:before { + content: "\f012"; +} +.fa-gear:before, +.fa-cog:before { + content: "\f013"; +} +.fa-trash-o:before { + content: "\f014"; +} +.fa-home:before { + content: "\f015"; +} +.fa-file-o:before { + content: "\f016"; +} +.fa-clock-o:before { + content: "\f017"; +} +.fa-road:before { + content: "\f018"; +} +.fa-download:before { + content: "\f019"; +} +.fa-arrow-circle-o-down:before { + content: "\f01a"; +} +.fa-arrow-circle-o-up:before { + content: "\f01b"; +} +.fa-inbox:before { + content: "\f01c"; +} +.fa-play-circle-o:before { + content: "\f01d"; +} +.fa-rotate-right:before, +.fa-repeat:before { + content: "\f01e"; +} +.fa-refresh:before { + content: "\f021"; +} +.fa-list-alt:before { + content: "\f022"; +} +.fa-lock:before { + content: "\f023"; +} +.fa-flag:before { + content: "\f024"; +} +.fa-headphones:before { + content: "\f025"; +} +.fa-volume-off:before { + content: "\f026"; +} +.fa-volume-down:before { + content: "\f027"; +} +.fa-volume-up:before { + content: "\f028"; +} +.fa-qrcode:before { + content: "\f029"; +} +.fa-barcode:before { + content: "\f02a"; +} +.fa-tag:before { + content: "\f02b"; +} +.fa-tags:before { + content: "\f02c"; +} +.fa-book:before { + content: "\f02d"; +} +.fa-bookmark:before { + content: "\f02e"; +} +.fa-print:before { + content: "\f02f"; +} +.fa-camera:before { + content: "\f030"; +} +.fa-font:before { + content: "\f031"; +} +.fa-bold:before { + content: "\f032"; +} +.fa-italic:before { + content: "\f033"; +} +.fa-text-height:before { + content: "\f034"; +} +.fa-text-width:before { + content: "\f035"; +} +.fa-align-left:before { + content: "\f036"; +} +.fa-align-center:before { + content: "\f037"; +} +.fa-align-right:before { + content: "\f038"; +} +.fa-align-justify:before { + content: "\f039"; +} +.fa-list:before { + content: "\f03a"; +} +.fa-dedent:before, +.fa-outdent:before { + content: "\f03b"; +} +.fa-indent:before { + content: "\f03c"; +} +.fa-video-camera:before { + content: "\f03d"; +} +.fa-photo:before, +.fa-image:before, +.fa-picture-o:before { + content: "\f03e"; +} +.fa-pencil:before { + content: "\f040"; +} +.fa-map-marker:before { + content: "\f041"; +} +.fa-adjust:before { + content: "\f042"; +} +.fa-tint:before { + content: "\f043"; +} +.fa-edit:before, +.fa-pencil-square-o:before { + content: "\f044"; +} +.fa-share-square-o:before { + content: "\f045"; +} +.fa-check-square-o:before { + content: "\f046"; +} +.fa-arrows:before { + content: "\f047"; +} +.fa-step-backward:before { + content: "\f048"; +} +.fa-fast-backward:before { + content: "\f049"; +} +.fa-backward:before { + content: "\f04a"; +} +.fa-play:before { + content: "\f04b"; +} +.fa-pause:before { + content: "\f04c"; +} +.fa-stop:before { + content: "\f04d"; +} +.fa-forward:before { + content: "\f04e"; +} +.fa-fast-forward:before { + content: "\f050"; +} +.fa-step-forward:before { + content: "\f051"; +} +.fa-eject:before { + content: "\f052"; +} +.fa-chevron-left:before { + content: "\f053"; +} +.fa-chevron-right:before { + content: "\f054"; +} +.fa-plus-circle:before { + content: "\f055"; +} +.fa-minus-circle:before { + content: "\f056"; +} +.fa-times-circle:before { + content: "\f057"; +} +.fa-check-circle:before { + content: "\f058"; +} +.fa-question-circle:before { + content: "\f059"; +} +.fa-info-circle:before { + content: "\f05a"; +} +.fa-crosshairs:before { + content: "\f05b"; +} +.fa-times-circle-o:before { + content: "\f05c"; +} +.fa-check-circle-o:before { + content: "\f05d"; +} +.fa-ban:before { + content: "\f05e"; +} +.fa-arrow-left:before { + content: "\f060"; +} +.fa-arrow-right:before { + content: "\f061"; +} +.fa-arrow-up:before { + content: "\f062"; +} +.fa-arrow-down:before { + content: "\f063"; +} +.fa-mail-forward:before, +.fa-share:before { + content: "\f064"; +} +.fa-expand:before { + content: "\f065"; +} +.fa-compress:before { + content: "\f066"; +} +.fa-plus:before { + content: "\f067"; +} +.fa-minus:before { + content: "\f068"; +} +.fa-asterisk:before { + content: "\f069"; +} +.fa-exclamation-circle:before { + content: "\f06a"; +} +.fa-gift:before { + content: "\f06b"; +} +.fa-leaf:before { + content: "\f06c"; +} +.fa-fire:before { + content: "\f06d"; +} +.fa-eye:before { + content: "\f06e"; +} +.fa-eye-slash:before { + content: "\f070"; +} +.fa-warning:before, +.fa-exclamation-triangle:before { + content: "\f071"; +} +.fa-plane:before { + content: "\f072"; +} +.fa-calendar:before { + content: "\f073"; +} +.fa-random:before { + content: "\f074"; +} +.fa-comment:before { + content: "\f075"; +} +.fa-magnet:before { + content: "\f076"; +} +.fa-chevron-up:before { + content: "\f077"; +} +.fa-chevron-down:before { + content: "\f078"; +} +.fa-retweet:before { + content: "\f079"; +} +.fa-shopping-cart:before { + content: "\f07a"; +} +.fa-folder:before { + content: "\f07b"; +} +.fa-folder-open:before { + content: "\f07c"; +} +.fa-arrows-v:before { + content: "\f07d"; +} +.fa-arrows-h:before { + content: "\f07e"; +} +.fa-bar-chart-o:before, +.fa-bar-chart:before { + content: "\f080"; +} +.fa-twitter-square:before { + content: "\f081"; +} +.fa-facebook-square:before { + content: "\f082"; +} +.fa-camera-retro:before { + content: "\f083"; +} +.fa-key:before { + content: "\f084"; +} +.fa-gears:before, +.fa-cogs:before { + content: "\f085"; +} +.fa-comments:before { + content: "\f086"; +} +.fa-thumbs-o-up:before { + content: "\f087"; +} +.fa-thumbs-o-down:before { + content: "\f088"; +} +.fa-star-half:before { + content: "\f089"; +} +.fa-heart-o:before { + content: "\f08a"; +} +.fa-sign-out:before { + content: "\f08b"; +} +.fa-linkedin-square:before { + content: "\f08c"; +} +.fa-thumb-tack:before { + content: "\f08d"; +} +.fa-external-link:before { + content: "\f08e"; +} +.fa-sign-in:before { + content: "\f090"; +} +.fa-trophy:before { + content: "\f091"; +} +.fa-github-square:before { + content: "\f092"; +} +.fa-upload:before { + content: "\f093"; +} +.fa-lemon-o:before { + content: "\f094"; +} +.fa-phone:before { + content: "\f095"; +} +.fa-square-o:before { + content: "\f096"; +} +.fa-bookmark-o:before { + content: "\f097"; +} +.fa-phone-square:before { + content: "\f098"; +} +.fa-twitter:before { + content: "\f099"; +} +.fa-facebook-f:before, +.fa-facebook:before { + content: "\f09a"; +} +.fa-github:before { + content: "\f09b"; +} +.fa-unlock:before { + content: "\f09c"; +} +.fa-credit-card:before { + content: "\f09d"; +} +.fa-feed:before, +.fa-rss:before { + content: "\f09e"; +} +.fa-hdd-o:before { + content: "\f0a0"; +} +.fa-bullhorn:before { + content: "\f0a1"; +} +.fa-bell:before { + content: "\f0f3"; +} +.fa-certificate:before { + content: "\f0a3"; +} +.fa-hand-o-right:before { + content: "\f0a4"; +} +.fa-hand-o-left:before { + content: "\f0a5"; +} +.fa-hand-o-up:before { + content: "\f0a6"; +} +.fa-hand-o-down:before { + content: "\f0a7"; +} +.fa-arrow-circle-left:before { + content: "\f0a8"; +} +.fa-arrow-circle-right:before { + content: "\f0a9"; +} +.fa-arrow-circle-up:before { + content: "\f0aa"; +} +.fa-arrow-circle-down:before { + content: "\f0ab"; +} +.fa-globe:before { + content: "\f0ac"; +} +.fa-wrench:before { + content: "\f0ad"; +} +.fa-tasks:before { + content: "\f0ae"; +} +.fa-filter:before { + content: "\f0b0"; +} +.fa-briefcase:before { + content: "\f0b1"; +} +.fa-arrows-alt:before { + content: "\f0b2"; +} +.fa-group:before, +.fa-users:before { + content: "\f0c0"; +} +.fa-chain:before, +.fa-link:before { + content: "\f0c1"; +} +.fa-cloud:before { + content: "\f0c2"; +} +.fa-flask:before { + content: "\f0c3"; +} +.fa-cut:before, +.fa-scissors:before { + content: "\f0c4"; +} +.fa-copy:before, +.fa-files-o:before { + content: "\f0c5"; +} +.fa-paperclip:before { + content: "\f0c6"; +} +.fa-save:before, +.fa-floppy-o:before { + content: "\f0c7"; +} +.fa-square:before { + content: "\f0c8"; +} +.fa-navicon:before, +.fa-reorder:before, +.fa-bars:before { + content: "\f0c9"; +} +.fa-list-ul:before { + content: "\f0ca"; +} +.fa-list-ol:before { + content: "\f0cb"; +} +.fa-strikethrough:before { + content: "\f0cc"; +} +.fa-underline:before { + content: "\f0cd"; +} +.fa-table:before { + content: "\f0ce"; +} +.fa-magic:before { + content: "\f0d0"; +} +.fa-truck:before { + content: "\f0d1"; +} +.fa-pinterest:before { + content: "\f0d2"; +} +.fa-pinterest-square:before { + content: "\f0d3"; +} +.fa-google-plus-square:before { + content: "\f0d4"; +} +.fa-google-plus:before { + content: "\f0d5"; +} +.fa-money:before { + content: "\f0d6"; +} +.fa-caret-down:before { + content: "\f0d7"; +} +.fa-caret-up:before { + content: "\f0d8"; +} +.fa-caret-left:before { + content: "\f0d9"; +} +.fa-caret-right:before { + content: "\f0da"; +} +.fa-columns:before { + content: "\f0db"; +} +.fa-unsorted:before, +.fa-sort:before { + content: "\f0dc"; +} +.fa-sort-down:before, +.fa-sort-desc:before { + content: "\f0dd"; +} +.fa-sort-up:before, +.fa-sort-asc:before { + content: "\f0de"; +} +.fa-envelope:before { + content: "\f0e0"; +} +.fa-linkedin:before { + content: "\f0e1"; +} +.fa-rotate-left:before, +.fa-undo:before { + content: "\f0e2"; +} +.fa-legal:before, +.fa-gavel:before { + content: "\f0e3"; +} +.fa-dashboard:before, +.fa-tachometer:before { + content: "\f0e4"; +} +.fa-comment-o:before { + content: "\f0e5"; +} +.fa-comments-o:before { + content: "\f0e6"; +} +.fa-flash:before, +.fa-bolt:before { + content: "\f0e7"; +} +.fa-sitemap:before { + content: "\f0e8"; +} +.fa-umbrella:before { + content: "\f0e9"; +} +.fa-paste:before, +.fa-clipboard:before { + content: "\f0ea"; +} +.fa-lightbulb-o:before { + content: "\f0eb"; +} +.fa-exchange:before { + content: "\f0ec"; +} +.fa-cloud-download:before { + content: "\f0ed"; +} +.fa-cloud-upload:before { + content: "\f0ee"; +} +.fa-user-md:before { + content: "\f0f0"; +} +.fa-stethoscope:before { + content: "\f0f1"; +} +.fa-suitcase:before { + content: "\f0f2"; +} +.fa-bell-o:before { + content: "\f0a2"; +} +.fa-coffee:before { + content: "\f0f4"; +} +.fa-cutlery:before { + content: "\f0f5"; +} +.fa-file-text-o:before { + content: "\f0f6"; +} +.fa-building-o:before { + content: "\f0f7"; +} +.fa-hospital-o:before { + content: "\f0f8"; +} +.fa-ambulance:before { + content: "\f0f9"; +} +.fa-medkit:before { + content: "\f0fa"; +} +.fa-fighter-jet:before { + content: "\f0fb"; +} +.fa-beer:before { + content: "\f0fc"; +} +.fa-h-square:before { + content: "\f0fd"; +} +.fa-plus-square:before { + content: "\f0fe"; +} +.fa-angle-double-left:before { + content: "\f100"; +} +.fa-angle-double-right:before { + content: "\f101"; +} +.fa-angle-double-up:before { + content: "\f102"; +} +.fa-angle-double-down:before { + content: "\f103"; +} +.fa-angle-left:before { + content: "\f104"; +} +.fa-angle-right:before { + content: "\f105"; +} +.fa-angle-up:before { + content: "\f106"; +} +.fa-angle-down:before { + content: "\f107"; +} +.fa-desktop:before { + content: "\f108"; +} +.fa-laptop:before { + content: "\f109"; +} +.fa-tablet:before { + content: "\f10a"; +} +.fa-mobile-phone:before, +.fa-mobile:before { + content: "\f10b"; +} +.fa-circle-o:before { + content: "\f10c"; +} +.fa-quote-left:before { + content: "\f10d"; +} +.fa-quote-right:before { + content: "\f10e"; +} +.fa-spinner:before { + content: "\f110"; +} +.fa-circle:before { + content: "\f111"; +} +.fa-mail-reply:before, +.fa-reply:before { + content: "\f112"; +} +.fa-github-alt:before { + content: "\f113"; +} +.fa-folder-o:before { + content: "\f114"; +} +.fa-folder-open-o:before { + content: "\f115"; +} +.fa-smile-o:before { + content: "\f118"; +} +.fa-frown-o:before { + content: "\f119"; +} +.fa-meh-o:before { + content: "\f11a"; +} +.fa-gamepad:before { + content: "\f11b"; +} +.fa-keyboard-o:before { + content: "\f11c"; +} +.fa-flag-o:before { + content: "\f11d"; +} +.fa-flag-checkered:before { + content: "\f11e"; +} +.fa-terminal:before { + content: "\f120"; +} +.fa-code:before { + content: "\f121"; +} +.fa-mail-reply-all:before, +.fa-reply-all:before { + content: "\f122"; +} +.fa-star-half-empty:before, +.fa-star-half-full:before, +.fa-star-half-o:before { + content: "\f123"; +} +.fa-location-arrow:before { + content: "\f124"; +} +.fa-crop:before { + content: "\f125"; +} +.fa-code-fork:before { + content: "\f126"; +} +.fa-unlink:before, +.fa-chain-broken:before { + content: "\f127"; +} +.fa-question:before { + content: "\f128"; +} +.fa-info:before { + content: "\f129"; +} +.fa-exclamation:before { + content: "\f12a"; +} +.fa-superscript:before { + content: "\f12b"; +} +.fa-subscript:before { + content: "\f12c"; +} +.fa-eraser:before { + content: "\f12d"; +} +.fa-puzzle-piece:before { + content: "\f12e"; +} +.fa-microphone:before { + content: "\f130"; +} +.fa-microphone-slash:before { + content: "\f131"; +} +.fa-shield:before { + content: "\f132"; +} +.fa-calendar-o:before { + content: "\f133"; +} +.fa-fire-extinguisher:before { + content: "\f134"; +} +.fa-rocket:before { + content: "\f135"; +} +.fa-maxcdn:before { + content: "\f136"; +} +.fa-chevron-circle-left:before { + content: "\f137"; +} +.fa-chevron-circle-right:before { + content: "\f138"; +} +.fa-chevron-circle-up:before { + content: "\f139"; +} +.fa-chevron-circle-down:before { + content: "\f13a"; +} +.fa-html5:before { + content: "\f13b"; +} +.fa-css3:before { + content: "\f13c"; +} +.fa-anchor:before { + content: "\f13d"; +} +.fa-unlock-alt:before { + content: "\f13e"; +} +.fa-bullseye:before { + content: "\f140"; +} +.fa-ellipsis-h:before { + content: "\f141"; +} +.fa-ellipsis-v:before { + content: "\f142"; +} +.fa-rss-square:before { + content: "\f143"; +} +.fa-play-circle:before { + content: "\f144"; +} +.fa-ticket:before { + content: "\f145"; +} +.fa-minus-square:before { + content: "\f146"; +} +.fa-minus-square-o:before { + content: "\f147"; +} +.fa-level-up:before { + content: "\f148"; +} +.fa-level-down:before { + content: "\f149"; +} +.fa-check-square:before { + content: "\f14a"; +} +.fa-pencil-square:before { + content: "\f14b"; +} +.fa-external-link-square:before { + content: "\f14c"; +} +.fa-share-square:before { + content: "\f14d"; +} +.fa-compass:before { + content: "\f14e"; +} +.fa-toggle-down:before, +.fa-caret-square-o-down:before { + content: "\f150"; +} +.fa-toggle-up:before, +.fa-caret-square-o-up:before { + content: "\f151"; +} +.fa-toggle-right:before, +.fa-caret-square-o-right:before { + content: "\f152"; +} +.fa-euro:before, +.fa-eur:before { + content: "\f153"; +} +.fa-gbp:before { + content: "\f154"; +} +.fa-dollar:before, +.fa-usd:before { + content: "\f155"; +} +.fa-rupee:before, +.fa-inr:before { + content: "\f156"; +} +.fa-cny:before, +.fa-rmb:before, +.fa-yen:before, +.fa-jpy:before { + content: "\f157"; +} +.fa-ruble:before, +.fa-rouble:before, +.fa-rub:before { + content: "\f158"; +} +.fa-won:before, +.fa-krw:before { + content: "\f159"; +} +.fa-bitcoin:before, +.fa-btc:before { + content: "\f15a"; +} +.fa-file:before { + content: "\f15b"; +} +.fa-file-text:before { + content: "\f15c"; +} +.fa-sort-alpha-asc:before { + content: "\f15d"; +} +.fa-sort-alpha-desc:before { + content: "\f15e"; +} +.fa-sort-amount-asc:before { + content: "\f160"; +} +.fa-sort-amount-desc:before { + content: "\f161"; +} +.fa-sort-numeric-asc:before { + content: "\f162"; +} +.fa-sort-numeric-desc:before { + content: "\f163"; +} +.fa-thumbs-up:before { + content: "\f164"; +} +.fa-thumbs-down:before { + content: "\f165"; +} +.fa-youtube-square:before { + content: "\f166"; +} +.fa-youtube:before { + content: "\f167"; +} +.fa-xing:before { + content: "\f168"; +} +.fa-xing-square:before { + content: "\f169"; +} +.fa-youtube-play:before { + content: "\f16a"; +} +.fa-dropbox:before { + content: "\f16b"; +} +.fa-stack-overflow:before { + content: "\f16c"; +} +.fa-instagram:before { + content: "\f16d"; +} +.fa-flickr:before { + content: "\f16e"; +} +.fa-adn:before { + content: "\f170"; +} +.fa-bitbucket:before { + content: "\f171"; +} +.fa-bitbucket-square:before { + content: "\f172"; +} +.fa-tumblr:before { + content: "\f173"; +} +.fa-tumblr-square:before { + content: "\f174"; +} +.fa-long-arrow-down:before { + content: "\f175"; +} +.fa-long-arrow-up:before { + content: "\f176"; +} +.fa-long-arrow-left:before { + content: "\f177"; +} +.fa-long-arrow-right:before { + content: "\f178"; +} +.fa-apple:before { + content: "\f179"; +} +.fa-windows:before { + content: "\f17a"; +} +.fa-android:before { + content: "\f17b"; +} +.fa-linux:before { + content: "\f17c"; +} +.fa-dribbble:before { + content: "\f17d"; +} +.fa-skype:before { + content: "\f17e"; +} +.fa-foursquare:before { + content: "\f180"; +} +.fa-trello:before { + content: "\f181"; +} +.fa-female:before { + content: "\f182"; +} +.fa-male:before { + content: "\f183"; +} +.fa-gittip:before, +.fa-gratipay:before { + content: "\f184"; +} +.fa-sun-o:before { + content: "\f185"; +} +.fa-moon-o:before { + content: "\f186"; +} +.fa-archive:before { + content: "\f187"; +} +.fa-bug:before { + content: "\f188"; +} +.fa-vk:before { + content: "\f189"; +} +.fa-weibo:before { + content: "\f18a"; +} +.fa-renren:before { + content: "\f18b"; +} +.fa-pagelines:before { + content: "\f18c"; +} +.fa-stack-exchange:before { + content: "\f18d"; +} +.fa-arrow-circle-o-right:before { + content: "\f18e"; +} +.fa-arrow-circle-o-left:before { + content: "\f190"; +} +.fa-toggle-left:before, +.fa-caret-square-o-left:before { + content: "\f191"; +} +.fa-dot-circle-o:before { + content: "\f192"; +} +.fa-wheelchair:before { + content: "\f193"; +} +.fa-vimeo-square:before { + content: "\f194"; +} +.fa-turkish-lira:before, +.fa-try:before { + content: "\f195"; +} +.fa-plus-square-o:before { + content: "\f196"; +} +.fa-space-shuttle:before { + content: "\f197"; +} +.fa-slack:before { + content: "\f198"; +} +.fa-envelope-square:before { + content: "\f199"; +} +.fa-wordpress:before { + content: "\f19a"; +} +.fa-openid:before { + content: "\f19b"; +} +.fa-institution:before, +.fa-bank:before, +.fa-university:before { + content: "\f19c"; +} +.fa-mortar-board:before, +.fa-graduation-cap:before { + content: "\f19d"; +} +.fa-yahoo:before { + content: "\f19e"; +} +.fa-google:before { + content: "\f1a0"; +} +.fa-reddit:before { + content: "\f1a1"; +} +.fa-reddit-square:before { + content: "\f1a2"; +} +.fa-stumbleupon-circle:before { + content: "\f1a3"; +} +.fa-stumbleupon:before { + content: "\f1a4"; +} +.fa-delicious:before { + content: "\f1a5"; +} +.fa-digg:before { + content: "\f1a6"; +} +.fa-pied-piper-pp:before { + content: "\f1a7"; +} +.fa-pied-piper-alt:before { + content: "\f1a8"; +} +.fa-drupal:before { + content: "\f1a9"; +} +.fa-joomla:before { + content: "\f1aa"; +} +.fa-language:before { + content: "\f1ab"; +} +.fa-fax:before { + content: "\f1ac"; +} +.fa-building:before { + content: "\f1ad"; +} +.fa-child:before { + content: "\f1ae"; +} +.fa-paw:before { + content: "\f1b0"; +} +.fa-spoon:before { + content: "\f1b1"; +} +.fa-cube:before { + content: "\f1b2"; +} +.fa-cubes:before { + content: "\f1b3"; +} +.fa-behance:before { + content: "\f1b4"; +} +.fa-behance-square:before { + content: "\f1b5"; +} +.fa-steam:before { + content: "\f1b6"; +} +.fa-steam-square:before { + content: "\f1b7"; +} +.fa-recycle:before { + content: "\f1b8"; +} +.fa-automobile:before, +.fa-car:before { + content: "\f1b9"; +} +.fa-cab:before, +.fa-taxi:before { + content: "\f1ba"; +} +.fa-tree:before { + content: "\f1bb"; +} +.fa-spotify:before { + content: "\f1bc"; +} +.fa-deviantart:before { + content: "\f1bd"; +} +.fa-soundcloud:before { + content: "\f1be"; +} +.fa-database:before { + content: "\f1c0"; +} +.fa-file-pdf-o:before { + content: "\f1c1"; +} +.fa-file-word-o:before { + content: "\f1c2"; +} +.fa-file-excel-o:before { + content: "\f1c3"; +} +.fa-file-powerpoint-o:before { + content: "\f1c4"; +} +.fa-file-photo-o:before, +.fa-file-picture-o:before, +.fa-file-image-o:before { + content: "\f1c5"; +} +.fa-file-zip-o:before, +.fa-file-archive-o:before { + content: "\f1c6"; +} +.fa-file-sound-o:before, +.fa-file-audio-o:before { + content: "\f1c7"; +} +.fa-file-movie-o:before, +.fa-file-video-o:before { + content: "\f1c8"; +} +.fa-file-code-o:before { + content: "\f1c9"; +} +.fa-vine:before { + content: "\f1ca"; +} +.fa-codepen:before { + content: "\f1cb"; +} +.fa-jsfiddle:before { + content: "\f1cc"; +} +.fa-life-bouy:before, +.fa-life-buoy:before, +.fa-life-saver:before, +.fa-support:before, +.fa-life-ring:before { + content: "\f1cd"; +} +.fa-circle-o-notch:before { + content: "\f1ce"; +} +.fa-ra:before, +.fa-resistance:before, +.fa-rebel:before { + content: "\f1d0"; +} +.fa-ge:before, +.fa-empire:before { + content: "\f1d1"; +} +.fa-git-square:before { + content: "\f1d2"; +} +.fa-git:before { + content: "\f1d3"; +} +.fa-y-combinator-square:before, +.fa-yc-square:before, +.fa-hacker-news:before { + content: "\f1d4"; +} +.fa-tencent-weibo:before { + content: "\f1d5"; +} +.fa-qq:before { + content: "\f1d6"; +} +.fa-wechat:before, +.fa-weixin:before { + content: "\f1d7"; +} +.fa-send:before, +.fa-paper-plane:before { + content: "\f1d8"; +} +.fa-send-o:before, +.fa-paper-plane-o:before { + content: "\f1d9"; +} +.fa-history:before { + content: "\f1da"; +} +.fa-circle-thin:before { + content: "\f1db"; +} +.fa-header:before { + content: "\f1dc"; +} +.fa-paragraph:before { + content: "\f1dd"; +} +.fa-sliders:before { + content: "\f1de"; +} +.fa-share-alt:before { + content: "\f1e0"; +} +.fa-share-alt-square:before { + content: "\f1e1"; +} +.fa-bomb:before { + content: "\f1e2"; +} +.fa-soccer-ball-o:before, +.fa-futbol-o:before { + content: "\f1e3"; +} +.fa-tty:before { + content: "\f1e4"; +} +.fa-binoculars:before { + content: "\f1e5"; +} +.fa-plug:before { + content: "\f1e6"; +} +.fa-slideshare:before { + content: "\f1e7"; +} +.fa-twitch:before { + content: "\f1e8"; +} +.fa-yelp:before { + content: "\f1e9"; +} +.fa-newspaper-o:before { + content: "\f1ea"; +} +.fa-wifi:before { + content: "\f1eb"; +} +.fa-calculator:before { + content: "\f1ec"; +} +.fa-paypal:before { + content: "\f1ed"; +} +.fa-google-wallet:before { + content: "\f1ee"; +} +.fa-cc-visa:before { + content: "\f1f0"; +} +.fa-cc-mastercard:before { + content: "\f1f1"; +} +.fa-cc-discover:before { + content: "\f1f2"; +} +.fa-cc-amex:before { + content: "\f1f3"; +} +.fa-cc-paypal:before { + content: "\f1f4"; +} +.fa-cc-stripe:before { + content: "\f1f5"; +} +.fa-bell-slash:before { + content: "\f1f6"; +} +.fa-bell-slash-o:before { + content: "\f1f7"; +} +.fa-trash:before { + content: "\f1f8"; +} +.fa-copyright:before { + content: "\f1f9"; +} +.fa-at:before { + content: "\f1fa"; +} +.fa-eyedropper:before { + content: "\f1fb"; +} +.fa-paint-brush:before { + content: "\f1fc"; +} +.fa-birthday-cake:before { + content: "\f1fd"; +} +.fa-area-chart:before { + content: "\f1fe"; +} +.fa-pie-chart:before { + content: "\f200"; +} +.fa-line-chart:before { + content: "\f201"; +} +.fa-lastfm:before { + content: "\f202"; +} +.fa-lastfm-square:before { + content: "\f203"; +} +.fa-toggle-off:before { + content: "\f204"; +} +.fa-toggle-on:before { + content: "\f205"; +} +.fa-bicycle:before { + content: "\f206"; +} +.fa-bus:before { + content: "\f207"; +} +.fa-ioxhost:before { + content: "\f208"; +} +.fa-angellist:before { + content: "\f209"; +} +.fa-cc:before { + content: "\f20a"; +} +.fa-shekel:before, +.fa-sheqel:before, +.fa-ils:before { + content: "\f20b"; +} +.fa-meanpath:before { + content: "\f20c"; +} +.fa-buysellads:before { + content: "\f20d"; +} +.fa-connectdevelop:before { + content: "\f20e"; +} +.fa-dashcube:before { + content: "\f210"; +} +.fa-forumbee:before { + content: "\f211"; +} +.fa-leanpub:before { + content: "\f212"; +} +.fa-sellsy:before { + content: "\f213"; +} +.fa-shirtsinbulk:before { + content: "\f214"; +} +.fa-simplybuilt:before { + content: "\f215"; +} +.fa-skyatlas:before { + content: "\f216"; +} +.fa-cart-plus:before { + content: "\f217"; +} +.fa-cart-arrow-down:before { + content: "\f218"; +} +.fa-diamond:before { + content: "\f219"; +} +.fa-ship:before { + content: "\f21a"; +} +.fa-user-secret:before { + content: "\f21b"; +} +.fa-motorcycle:before { + content: "\f21c"; +} +.fa-street-view:before { + content: "\f21d"; +} +.fa-heartbeat:before { + content: "\f21e"; +} +.fa-venus:before { + content: "\f221"; +} +.fa-mars:before { + content: "\f222"; +} +.fa-mercury:before { + content: "\f223"; +} +.fa-intersex:before, +.fa-transgender:before { + content: "\f224"; +} +.fa-transgender-alt:before { + content: "\f225"; +} +.fa-venus-double:before { + content: "\f226"; +} +.fa-mars-double:before { + content: "\f227"; +} +.fa-venus-mars:before { + content: "\f228"; +} +.fa-mars-stroke:before { + content: "\f229"; +} +.fa-mars-stroke-v:before { + content: "\f22a"; +} +.fa-mars-stroke-h:before { + content: "\f22b"; +} +.fa-neuter:before { + content: "\f22c"; +} +.fa-genderless:before { + content: "\f22d"; +} +.fa-facebook-official:before { + content: "\f230"; +} +.fa-pinterest-p:before { + content: "\f231"; +} +.fa-whatsapp:before { + content: "\f232"; +} +.fa-server:before { + content: "\f233"; +} +.fa-user-plus:before { + content: "\f234"; +} +.fa-user-times:before { + content: "\f235"; +} +.fa-hotel:before, +.fa-bed:before { + content: "\f236"; +} +.fa-viacoin:before { + content: "\f237"; +} +.fa-train:before { + content: "\f238"; +} +.fa-subway:before { + content: "\f239"; +} +.fa-medium:before { + content: "\f23a"; +} +.fa-yc:before, +.fa-y-combinator:before { + content: "\f23b"; +} +.fa-optin-monster:before { + content: "\f23c"; +} +.fa-opencart:before { + content: "\f23d"; +} +.fa-expeditedssl:before { + content: "\f23e"; +} +.fa-battery-4:before, +.fa-battery:before, +.fa-battery-full:before { + content: "\f240"; +} +.fa-battery-3:before, +.fa-battery-three-quarters:before { + content: "\f241"; +} +.fa-battery-2:before, +.fa-battery-half:before { + content: "\f242"; +} +.fa-battery-1:before, +.fa-battery-quarter:before { + content: "\f243"; +} +.fa-battery-0:before, +.fa-battery-empty:before { + content: "\f244"; +} +.fa-mouse-pointer:before { + content: "\f245"; +} +.fa-i-cursor:before { + content: "\f246"; +} +.fa-object-group:before { + content: "\f247"; +} +.fa-object-ungroup:before { + content: "\f248"; +} +.fa-sticky-note:before { + content: "\f249"; +} +.fa-sticky-note-o:before { + content: "\f24a"; +} +.fa-cc-jcb:before { + content: "\f24b"; +} +.fa-cc-diners-club:before { + content: "\f24c"; +} +.fa-clone:before { + content: "\f24d"; +} +.fa-balance-scale:before { + content: "\f24e"; +} +.fa-hourglass-o:before { + content: "\f250"; +} +.fa-hourglass-1:before, +.fa-hourglass-start:before { + content: "\f251"; +} +.fa-hourglass-2:before, +.fa-hourglass-half:before { + content: "\f252"; +} +.fa-hourglass-3:before, +.fa-hourglass-end:before { + content: "\f253"; +} +.fa-hourglass:before { + content: "\f254"; +} +.fa-hand-grab-o:before, +.fa-hand-rock-o:before { + content: "\f255"; +} +.fa-hand-stop-o:before, +.fa-hand-paper-o:before { + content: "\f256"; +} +.fa-hand-scissors-o:before { + content: "\f257"; +} +.fa-hand-lizard-o:before { + content: "\f258"; +} +.fa-hand-spock-o:before { + content: "\f259"; +} +.fa-hand-pointer-o:before { + content: "\f25a"; +} +.fa-hand-peace-o:before { + content: "\f25b"; +} +.fa-trademark:before { + content: "\f25c"; +} +.fa-registered:before { + content: "\f25d"; +} +.fa-creative-commons:before { + content: "\f25e"; +} +.fa-gg:before { + content: "\f260"; +} +.fa-gg-circle:before { + content: "\f261"; +} +.fa-tripadvisor:before { + content: "\f262"; +} +.fa-odnoklassniki:before { + content: "\f263"; +} +.fa-odnoklassniki-square:before { + content: "\f264"; +} +.fa-get-pocket:before { + content: "\f265"; +} +.fa-wikipedia-w:before { + content: "\f266"; +} +.fa-safari:before { + content: "\f267"; +} +.fa-chrome:before { + content: "\f268"; +} +.fa-firefox:before { + content: "\f269"; +} +.fa-opera:before { + content: "\f26a"; +} +.fa-internet-explorer:before { + content: "\f26b"; +} +.fa-tv:before, +.fa-television:before { + content: "\f26c"; +} +.fa-contao:before { + content: "\f26d"; +} +.fa-500px:before { + content: "\f26e"; +} +.fa-amazon:before { + content: "\f270"; +} +.fa-calendar-plus-o:before { + content: "\f271"; +} +.fa-calendar-minus-o:before { + content: "\f272"; +} +.fa-calendar-times-o:before { + content: "\f273"; +} +.fa-calendar-check-o:before { + content: "\f274"; +} +.fa-industry:before { + content: "\f275"; +} +.fa-map-pin:before { + content: "\f276"; +} +.fa-map-signs:before { + content: "\f277"; +} +.fa-map-o:before { + content: "\f278"; +} +.fa-map:before { + content: "\f279"; +} +.fa-commenting:before { + content: "\f27a"; +} +.fa-commenting-o:before { + content: "\f27b"; +} +.fa-houzz:before { + content: "\f27c"; +} +.fa-vimeo:before { + content: "\f27d"; +} +.fa-black-tie:before { + content: "\f27e"; +} +.fa-fonticons:before { + content: "\f280"; +} +.fa-reddit-alien:before { + content: "\f281"; +} +.fa-edge:before { + content: "\f282"; +} +.fa-credit-card-alt:before { + content: "\f283"; +} +.fa-codiepie:before { + content: "\f284"; +} +.fa-modx:before { + content: "\f285"; +} +.fa-fort-awesome:before { + content: "\f286"; +} +.fa-usb:before { + content: "\f287"; +} +.fa-product-hunt:before { + content: "\f288"; +} +.fa-mixcloud:before { + content: "\f289"; +} +.fa-scribd:before { + content: "\f28a"; +} +.fa-pause-circle:before { + content: "\f28b"; +} +.fa-pause-circle-o:before { + content: "\f28c"; +} +.fa-stop-circle:before { + content: "\f28d"; +} +.fa-stop-circle-o:before { + content: "\f28e"; +} +.fa-shopping-bag:before { + content: "\f290"; +} +.fa-shopping-basket:before { + content: "\f291"; +} +.fa-hashtag:before { + content: "\f292"; +} +.fa-bluetooth:before { + content: "\f293"; +} +.fa-bluetooth-b:before { + content: "\f294"; +} +.fa-percent:before { + content: "\f295"; +} +.fa-gitlab:before { + content: "\f296"; +} +.fa-wpbeginner:before { + content: "\f297"; +} +.fa-wpforms:before { + content: "\f298"; +} +.fa-envira:before { + content: "\f299"; +} +.fa-universal-access:before { + content: "\f29a"; +} +.fa-wheelchair-alt:before { + content: "\f29b"; +} +.fa-question-circle-o:before { + content: "\f29c"; +} +.fa-blind:before { + content: "\f29d"; +} +.fa-audio-description:before { + content: "\f29e"; +} +.fa-volume-control-phone:before { + content: "\f2a0"; +} +.fa-braille:before { + content: "\f2a1"; +} +.fa-assistive-listening-systems:before { + content: "\f2a2"; +} +.fa-asl-interpreting:before, +.fa-american-sign-language-interpreting:before { + content: "\f2a3"; +} +.fa-deafness:before, +.fa-hard-of-hearing:before, +.fa-deaf:before { + content: "\f2a4"; +} +.fa-glide:before { + content: "\f2a5"; +} +.fa-glide-g:before { + content: "\f2a6"; +} +.fa-signing:before, +.fa-sign-language:before { + content: "\f2a7"; +} +.fa-low-vision:before { + content: "\f2a8"; +} +.fa-viadeo:before { + content: "\f2a9"; +} +.fa-viadeo-square:before { + content: "\f2aa"; +} +.fa-snapchat:before { + content: "\f2ab"; +} +.fa-snapchat-ghost:before { + content: "\f2ac"; +} +.fa-snapchat-square:before { + content: "\f2ad"; +} +.fa-pied-piper:before { + content: "\f2ae"; +} +.fa-first-order:before { + content: "\f2b0"; +} +.fa-yoast:before { + content: "\f2b1"; +} +.fa-themeisle:before { + content: "\f2b2"; +} +.fa-google-plus-circle:before, +.fa-google-plus-official:before { + content: "\f2b3"; +} +.fa-fa:before, +.fa-font-awesome:before { + content: "\f2b4"; +} +.fa-handshake-o:before { + content: "\f2b5"; +} +.fa-envelope-open:before { + content: "\f2b6"; +} +.fa-envelope-open-o:before { + content: "\f2b7"; +} +.fa-linode:before { + content: "\f2b8"; +} +.fa-address-book:before { + content: "\f2b9"; +} +.fa-address-book-o:before { + content: "\f2ba"; +} +.fa-vcard:before, +.fa-address-card:before { + content: "\f2bb"; +} +.fa-vcard-o:before, +.fa-address-card-o:before { + content: "\f2bc"; +} +.fa-user-circle:before { + content: "\f2bd"; +} +.fa-user-circle-o:before { + content: "\f2be"; +} +.fa-user-o:before { + content: "\f2c0"; +} +.fa-id-badge:before { + content: "\f2c1"; +} +.fa-drivers-license:before, +.fa-id-card:before { + content: "\f2c2"; +} +.fa-drivers-license-o:before, +.fa-id-card-o:before { + content: "\f2c3"; +} +.fa-quora:before { + content: "\f2c4"; +} +.fa-free-code-camp:before { + content: "\f2c5"; +} +.fa-telegram:before { + content: "\f2c6"; +} +.fa-thermometer-4:before, +.fa-thermometer:before, +.fa-thermometer-full:before { + content: "\f2c7"; +} +.fa-thermometer-3:before, +.fa-thermometer-three-quarters:before { + content: "\f2c8"; +} +.fa-thermometer-2:before, +.fa-thermometer-half:before { + content: "\f2c9"; +} +.fa-thermometer-1:before, +.fa-thermometer-quarter:before { + content: "\f2ca"; +} +.fa-thermometer-0:before, +.fa-thermometer-empty:before { + content: "\f2cb"; +} +.fa-shower:before { + content: "\f2cc"; +} +.fa-bathtub:before, +.fa-s15:before, +.fa-bath:before { + content: "\f2cd"; +} +.fa-podcast:before { + content: "\f2ce"; +} +.fa-window-maximize:before { + content: "\f2d0"; +} +.fa-window-minimize:before { + content: "\f2d1"; +} +.fa-window-restore:before { + content: "\f2d2"; +} +.fa-times-rectangle:before, +.fa-window-close:before { + content: "\f2d3"; +} +.fa-times-rectangle-o:before, +.fa-window-close-o:before { + content: "\f2d4"; +} +.fa-bandcamp:before { + content: "\f2d5"; +} +.fa-grav:before { + content: "\f2d6"; +} +.fa-etsy:before { + content: "\f2d7"; +} +.fa-imdb:before { + content: "\f2d8"; +} +.fa-ravelry:before { + content: "\f2d9"; +} +.fa-eercast:before { + content: "\f2da"; +} +.fa-microchip:before { + content: "\f2db"; +} +.fa-snowflake-o:before { + content: "\f2dc"; +} +.fa-superpowers:before { + content: "\f2dd"; +} +.fa-wpexplorer:before { + content: "\f2de"; +} +.fa-meetup:before { + content: "\f2e0"; +} +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} +.sr-only-focusable:active, +.sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + margin: 0; + overflow: visible; + clip: auto; +} diff --git a/fedoramagazine-old/fonts/font-awesome/css/font-awesome.min.css b/fedoramagazine-old/fonts/font-awesome/css/font-awesome.min.css new file mode 100644 index 0000000..540440c --- /dev/null +++ b/fedoramagazine-old/fonts/font-awesome/css/font-awesome.min.css @@ -0,0 +1,4 @@ +/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} diff --git a/fedoramagazine-old/fonts/font-awesome/fonts/FontAwesome.otf b/fedoramagazine-old/fonts/font-awesome/fonts/FontAwesome.otf new file mode 100644 index 0000000..401ec0f Binary files /dev/null and b/fedoramagazine-old/fonts/font-awesome/fonts/FontAwesome.otf differ diff --git a/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.eot b/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.eot new file mode 100644 index 0000000..e9f60ca Binary files /dev/null and b/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.eot differ diff --git a/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.svg b/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.svg new file mode 100644 index 0000000..855c845 --- /dev/null +++ b/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.ttf b/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.ttf new file mode 100644 index 0000000..35acda2 Binary files /dev/null and b/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.ttf differ diff --git a/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.woff b/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.woff new file mode 100644 index 0000000..400014a Binary files /dev/null and b/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.woff differ diff --git a/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.woff2 b/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.woff2 new file mode 100644 index 0000000..4d13fc6 Binary files /dev/null and b/fedoramagazine-old/fonts/font-awesome/fonts/fontawesome-webfont.woff2 differ diff --git a/fedoramagazine-old/footer.php b/fedoramagazine-old/footer.php new file mode 100644 index 0000000..77d38f8 --- /dev/null +++ b/fedoramagazine-old/footer.php @@ -0,0 +1,137 @@ + + +
+ +
+ +

+ + The opinions expressed on this website are those of each author, not of the author's employer or of Red Hat. Fedora Magazine aspires to publish all content under a Creative Commons license but may not be able to do so in all cases. You are responsible for ensuring that you have the necessary permission to reuse any work on this site. The Fedora logo is a trademark of Red Hat, Inc. Terms and Conditions + +

+
+ +
+ +
+ + + + + diff --git a/fedoramagazine-old/functions.php b/fedoramagazine-old/functions.php new file mode 100644 index 0000000..a2fde53 --- /dev/null +++ b/fedoramagazine-old/functions.php @@ -0,0 +1,755 @@ + 'posts', + ) ); + + // Post thumbnails + add_theme_support( 'post-thumbnails' ); + add_image_size( 'post-image', 945, 9999 ); + add_image_size( 'post-thumbnail', 600, 9999 ); + + // Post formats + add_theme_support( 'post-formats', array( 'aside', 'audio', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video' ) ); + + // Custom header + $args = array( + 'width' => 1440, + 'height' => 221, + 'default-image' => get_template_directory_uri() . '/images/header.jpg', + 'uploads' => true, + 'header-text' => false + + ); + add_theme_support( 'custom-header', $args ); + + // Add support for custom background + $args = array( + 'default-color' => '#f1f1f1' + ); + add_theme_support( "custom-background", $args ); + + // Add nav menu + register_nav_menu( 'primary', 'Primary Menu' ); + + // Make the theme translation ready + load_theme_textdomain('baskerville', get_template_directory() . '/languages'); + + $locale = get_locale(); + $locale_file = get_template_directory() . "/languages/$locale.php"; + if ( is_readable($locale_file) ) + require_once($locale_file); + +} + +// Enqueue Javascript files +function baskerville_load_javascript_files() { + + if ( !is_admin() ) { + wp_register_script( 'baskerville_imagesloaded', get_template_directory_uri().'/js/imagesloaded.pkgd.js', array('jquery'), '', true ); + wp_register_script( 'baskerville_mediaelement', get_template_directory_uri().'/js/mediaelement-and-player.min.js', array('jquery'), '', true ); + wp_register_script( 'baskerville_flexslider', get_template_directory_uri().'/js/flexslider.min.js', array('jquery'), '', true ); + wp_register_script( 'baskerville_global', get_template_directory_uri().'/js/global.js', array('jquery'), '', true ); + + wp_enqueue_script( 'jquery' ); + wp_enqueue_script( 'masonry' ); + wp_enqueue_script( 'baskerville_imagesloaded' ); + wp_enqueue_script( 'baskerville_mediaelement' ); + wp_enqueue_script( 'baskerville_flexslider' ); + wp_enqueue_script( 'baskerville_global' ); + } +} + +add_action( 'wp_enqueue_scripts', 'baskerville_load_javascript_files' ); + + +// Enqueue styles +function baskerville_load_style() { + if ( !is_admin() ) { + wp_register_style('baskerville_googleFonts', '//fonts.googleapis.com/css?family=Roboto+Slab:400,700|Roboto:400,400italic,700,700italic,300|Pacifico:400' ); + wp_register_style('baskerville_style', get_stylesheet_uri() ); + wp_register_style('font-awesome', get_template_directory_uri() . '/fonts/font-awesome/css/font-awesome.min.css' ); + + wp_enqueue_style( 'baskerville_googleFonts' ); + wp_enqueue_style( 'baskerville_style' ); + wp_enqueue_style( 'font-awesome' ); + } +} + +add_action('wp_print_styles', 'baskerville_load_style'); + + +// Add editor styles +function baskerville_add_editor_styles() { + add_editor_style( 'baskerville-editor-style.css' ); + $font_url = '//fonts.googleapis.com/css?family=Roboto+Slab:400,700|Roboto:400,400italic,700,700italic,300'; + add_editor_style( str_replace( ',', '%2C', $font_url ) ); +} +add_action( 'init', 'baskerville_add_editor_styles' ); + + +// Add footer widget areas +add_action( 'widgets_init', 'baskerville_sidebar_reg' ); + +function baskerville_sidebar_reg() { + register_sidebar(array( + 'name' => __( 'Footer A', 'baskerville' ), + 'id' => 'footer-a', + 'description' => __( 'Widgets in this area will be shown in the left column in the footer.', 'baskerville' ), + 'before_title' => '

', + 'after_title' => '

', + 'before_widget' => '
', + 'after_widget' => '
' + )); + register_sidebar(array( + 'name' => __( 'Footer B', 'baskerville' ), + 'id' => 'footer-b', + 'description' => __( 'Widgets in this area will be shown in the middle column in the footer.', 'baskerville' ), + 'before_title' => '

', + 'after_title' => '

', + 'before_widget' => '
', + 'after_widget' => '
' + )); + register_sidebar(array( + 'name' => __( 'Footer C', 'baskerville' ), + 'id' => 'footer-c', + 'description' => __( 'Widgets in this area will be shown in the right column in the footer.', 'baskerville' ), + 'before_title' => '

', + 'after_title' => '

', + 'before_widget' => '
', + 'after_widget' => '
' + )); + register_sidebar(array( + 'name' => __( 'Sidebar', 'baskerville' ), + 'id' => 'sidebar', + 'description' => __( 'Widgets in this area will be shown in the sidebar.', 'baskerville' ), + 'before_title' => '

', + 'after_title' => '

', + 'before_widget' => '
', + 'after_widget' => '
' + )); +} + +// Add theme widgets +require_once (get_template_directory() . "/widgets/dribbble-widget.php"); +require_once (get_template_directory() . "/widgets/flickr-widget.php"); +require_once (get_template_directory() . "/widgets/video-widget.php"); +require_once (get_template_directory() . "/widgets/magazine-recent-widget.php"); +require_once (get_template_directory() . "/widgets/magazine-postseries-widget.php"); + + +// Set content-width +if ( ! isset( $content_width ) ) $content_width = 676; + + +// Custom title function +function baskerville_wp_title( $title, $sep ) { + global $paged, $page; + + if ( is_feed() ) + return $title; + + // Add the site name. + $title .= get_bloginfo( 'name' ); + + // Add the site description for the home/front page. + $site_description = get_bloginfo( 'description', 'display' ); + if ( $site_description && ( is_home() || is_front_page() ) ) + $title = "$title $sep $site_description"; + + // Add a page number if necessary. + if ( $paged >= 2 || $page >= 2 ) + $title = "$title $sep " . sprintf( __( 'Page %s', 'baskerville' ), max( $paged, $page ) ); + + return $title; +} +add_filter( 'wp_title', 'baskerville_wp_title', 10, 2 ); + + +// Add classes to next_posts_link and previous_posts_link +add_filter('next_posts_link_attributes', 'baskerville_posts_link_attributes_1'); +add_filter('previous_posts_link_attributes', 'baskerville_posts_link_attributes_2'); + +function baskerville_posts_link_attributes_1() { + return 'class="post-nav-older fleft"'; +} +function baskerville_posts_link_attributes_2() { + return 'class="post-nav-newer fright"'; +} + + +// Menu walker adding "has-children" class to menu li's with children menu items +class baskerville_nav_walker extends Walker_Nav_Menu { + function display_element( $element, &$children_elements, $max_depth, $depth=0, $args, &$output ) { + $id_field = $this->db_fields['id']; + if ( !empty( $children_elements[ $element->$id_field ] ) ) { + $element->classes[] = 'has-children'; + } + Walker_Nav_Menu::display_element( $element, $children_elements, $max_depth, $depth, $args, $output ); + } +} + + +// Add class to body if the post/page has a featured image +add_action('body_class', 'baskerville_if_featured_image_class' ); + +function baskerville_if_featured_image_class($classes) { + global $post; + if ( isset( $post ) && has_post_thumbnail() ) { + $classes[] = 'has-featured-image'; + } else { + $classes[] = 'no-featured-image'; + } + return $classes; +} + + +// Add class to body if it's viewed on mobile +add_action('body_class', 'baskerville_if_is_mobile' ); + +function baskerville_if_is_mobile($classes) { + global $post; + if ( wp_is_mobile() ) { + $classes[] = 'is_mobile'; + } + return $classes; +} + + +// Add class to body if it's a single page +add_action('body_class', 'baskerville_if_page_class' ); + +function baskerville_if_page_class($classes) { + global $post; + if ( is_page() || is_404() || is_attachment() ) { + $classes[] = 'single single-post'; + } + return $classes; +} + +// Change the length of excerpts +function custom_excerpt_length( $length ) { + return 40; +} +add_filter( 'excerpt_length', 'custom_excerpt_length', 999 ); + + +// Add more-link text to excerpt +function new_excerpt_more( $more ) { + return '... ' . __('Continue Reading', 'baskerville') . ' →'; +} +add_filter( 'excerpt_more', 'new_excerpt_more' ); + + +// Remove inline styling of attachment +add_shortcode('wp_caption', 'baskerville_fixed_img_caption_shortcode'); +add_shortcode('caption', 'baskerville_fixed_img_caption_shortcode'); + +function baskerville_fixed_img_caption_shortcode($attr, $content = null) { + if ( ! isset( $attr['caption'] ) ) { + if ( preg_match( '#((?:]+>\s*)?]+>(?:\s*)?)(.*)#is', $content, $matches ) ) { + $content = $matches[1]; + $attr['caption'] = trim( $matches[2] ); + } + } + + $output = apply_filters('img_caption_shortcode', '', $attr, $content); + + if ( $output != '' ) return $output; + extract(shortcode_atts(array( + 'id' => '', + 'align' => 'alignnone', + 'width' => '', + 'caption' => '' + ), $attr)); + + if ( 1 > (int) $width || empty($caption) ) + return $content; + if ( $id ) $id = 'id="' . esc_attr($id) . '" '; + return '
' + . do_shortcode( $content ) . '

' . $caption . '

'; +} + + +// Get domain name from URL +function url_to_domain($url) { + $host = @parse_url($url, PHP_URL_HOST); + + if (!$host) { + $host = $url; + } + + if (substr($host, 0, 4) == "www.") { + $host = substr($host, 0); + } + + return $host; +} + + +// Style the admin area +function baskerville_custom_colors() { + echo ''; +} + +add_action('admin_head', 'baskerville_custom_colors'); + + +// Flexslider function for format-gallery +function baskerville_flexslider($size = thumbnail) { + + if ( is_page()) : + $attachment_parent = $post->ID; + else : + $attachment_parent = get_the_ID(); + endif; + + if($images = get_posts(array( + 'post_parent' => $attachment_parent, + 'post_type' => 'attachment', + 'numberposts' => -1, // show all + 'post_status' => null, + 'post_mime_type' => 'image', + 'orderby' => 'menu_order', + 'order' => 'ASC', + ))) { ?> + +
+ + + +
comment_type ) : + case 'pingback' : + case 'trackback' : + ?> + +
  • id="comment-"> + + ', '' ); ?> + +
  • + +
  • id="li-comment-"> + +
    + + + +
    + +
    + + %1$s', + get_comment_author_link() + ); ?> + +

    + +
    + + + + __( 'Reply', 'baskerville' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> + +
    + +
    + +
    + +
    + + comment_approved ) : ?> + +

    + + + + + +
    + + + +
    + +
    + + +

    Extra profile information

    + + + + + + + + + + +
    + ID )) == "yes") echo "checked"; ?> /> + +
    +ID ); + $video_url = isset( $values['video_url'] ) ? esc_attr( $values['video_url'][0] ) : ''; + wp_nonce_field( 'my_meta_box_nonce', 'meta_box_nonce' ); + ?> +

    + +

    + ID ); + $audio_url = isset( $values['audio_url'] ) ? esc_attr( $values['audio_url'][0] ) : ''; + wp_nonce_field( 'my_meta_box_nonce', 'meta_box_nonce' ); + ?> +

    + +

    + ID ); + $quote_content = isset( $values['quote_content'] ) ? esc_attr( $values['quote_content'][0] ) : ''; + wp_nonce_field( 'my_meta_box_nonce', 'meta_box_nonce' ); + ?> +

    + +

    + ID ); + $quote_attribution = isset( $values['quote_attribution'] ) ? esc_attr( $values['quote_attribution'][0] ) : ''; + wp_nonce_field( 'my_meta_box_nonce', 'meta_box_nonce' ); + ?> +

    + +

    + ID ); + $link_url = isset( $values['link_url'] ) ? esc_attr( $values['link_url'][0] ) : ''; + wp_nonce_field( 'my_meta_box_nonce', 'meta_box_nonce' ); + ?> +

    + +

    + ID ); + $link_title = isset( $values['link_title'] ) ? esc_attr( $values['link_title'][0] ) : ''; + wp_nonce_field( 'my_meta_box_nonce', 'meta_box_nonce' ); + ?> +

    + +

    + array( // on allow a tags + 'href' => array() // and those anchords can only have href attribute + ) + ); + + // Probably a good idea to make sure the data is set + if( isset( $_POST['video_url'] ) ) { + update_post_meta( $post_id, 'video_url', wp_kses( $_POST['video_url'], $allowed ) ); + } + + if( isset( $_POST['audio_url'] ) ) { + update_post_meta( $post_id, 'audio_url', wp_kses( $_POST['audio_url'], $allowed ) ); + } + + if( isset( $_POST['quote_content'] ) ) { + update_post_meta( $post_id, 'quote_content', wp_kses( $_POST['quote_content'], $allowed ) ); + } + + if( isset( $_POST['quote_attribution'] ) ) { + update_post_meta( $post_id, 'quote_attribution', wp_kses( $_POST['quote_attribution'], $allowed ) ); + } + + if( isset( $_POST['link_url'] ) ) { + update_post_meta( $post_id, 'link_url', wp_kses( $_POST['link_url'], $allowed ) ); + } + + if( isset( $_POST['link_title'] ) ) { + update_post_meta( $post_id, 'link_title', wp_kses( $_POST['link_title'], $allowed ) ); + } + +} + + +// Hide/show meta boxes depending on the post format selected +function meta_box_post_format_toggle() +{ + wp_enqueue_script( 'jquery' ); + + $script = ' + '; + + return print $script; +} +add_action( 'admin_footer', 'meta_box_post_format_toggle' ); + + +// Baskerville theme options + +class baskerville_Customize { + + public static function register ( $wp_customize ) { + + //1. Define a new section (if desired) to the Theme Customizer + $wp_customize->add_section( 'baskerville_options', + array( + 'title' => __( 'Baskerville Options', 'baskerville' ), //Visible title of section + 'priority' => 35, //Determines what order this appears in + 'capability' => 'edit_theme_options', //Capability needed to tweak + 'description' => __('Allows you to customize some settings for Baskerville.', 'baskerville'), //Descriptive tooltip + ) + ); + + $wp_customize->add_section( 'baskerville_logo_section' , array( + 'title' => __( 'Logo', 'baskerville' ), + 'priority' => 40, + 'description' => 'Upload a logo to replace the default site name and description in the header', + ) ); + + //2. Register new settings to the WP database... + $wp_customize->add_setting( 'baskerville_logo', + array( + 'sanitize_callback' => 'esc_url_raw' + ) + ); + + //3. Finally, we define the control itself (which links a setting to a section and renders the HTML controls)... + $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'baskerville_logo', array( + 'label' => __( 'Logo', 'baskerville' ), + 'section' => 'baskerville_logo_section', + 'settings' => 'baskerville_logo', + ) ) ); + + //4. We can also change built-in settings by modifying properties. For instance, let's make some stuff use live preview JS... + $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; + $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; + } + + public static function generate_css( $selector, $style, $mod_name, $prefix='', $postfix='', $echo=true ) { + $return = ''; + $mod = get_theme_mod($mod_name); + if ( ! empty( $mod ) ) { + $return = sprintf('%s { %s:%s; }', + $selector, + $style, + $prefix.$mod.$postfix + ); + if ( $echo ) { + echo $return; + } + } + return $return; + } +} + +// Setup the Theme Customizer settings and controls... +add_action( 'customize_register' , array( 'baskerville_Customize' , 'register' ) ); + + +function postseries_init() { + // create a new taxonomy + register_taxonomy( + 'post_series', + 'post', + array( + 'labels' => array( 'name' => 'Post Series', 'all_items' => 'All Post Series', 'edit_item' => 'Edit this Post Series', 'view_item' => 'View this Post Series', 'update_item' => 'Update this Post Series' ), + 'rewrite' => array( 'slug' => 'series' ), + 'capabilities' => array( + 'assign_terms' => 'edit_posts', + 'edit_terms' => 'edit_posts' + ), + 'description' => 'If this post is part of a predefined series of posts' + ) + ); +} +add_action( 'init', 'postseries_init' ); + +?> diff --git a/fedoramagazine-old/header.php b/fedoramagazine-old/header.php new file mode 100644 index 0000000..c0f02e1 --- /dev/null +++ b/fedoramagazine-old/header.php @@ -0,0 +1,151 @@ + + +> + + + + + + + + <?php wp_title('|', true, 'right'); ?> + + + + + + + + > +
    +
    + +
    +
    +
    +
    + + + + + +
    + + + + + + + + + + + + diff --git a/fedoramagazine-old/image.php b/fedoramagazine-old/image.php new file mode 100644 index 0000000..d39080a --- /dev/null +++ b/fedoramagazine-old/image.php @@ -0,0 +1,73 @@ + + +
    + +
    + +
    + + + +
    > + + + +
    + +

    ID )); ?>

    + +
    + + + + + + + +

    + + + +
    + +
    + + + +
    + +
    + +
    + + \ No newline at end of file diff --git a/fedoramagazine-old/images/fedoramagazinetext.png b/fedoramagazine-old/images/fedoramagazinetext.png new file mode 100644 index 0000000..557996a Binary files /dev/null and b/fedoramagazine-old/images/fedoramagazinetext.png differ diff --git a/fedoramagazine-old/images/fmag-ribbon.png b/fedoramagazine-old/images/fmag-ribbon.png new file mode 100644 index 0000000..915ce37 Binary files /dev/null and b/fedoramagazine-old/images/fmag-ribbon.png differ diff --git a/fedoramagazine-old/images/header.jpg b/fedoramagazine-old/images/header.jpg new file mode 100644 index 0000000..97d6087 Binary files /dev/null and b/fedoramagazine-old/images/header.jpg differ diff --git a/fedoramagazine-old/images/icons/1x/archive-w.png b/fedoramagazine-old/images/icons/1x/archive-w.png new file mode 100644 index 0000000..30f3ae2 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/archive-w.png differ diff --git a/fedoramagazine-old/images/icons/1x/audio/audio-mute-big.png b/fedoramagazine-old/images/icons/1x/audio/audio-mute-big.png new file mode 100644 index 0000000..6525c60 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/audio/audio-mute-big.png differ diff --git a/fedoramagazine-old/images/icons/1x/audio/audio-mute.png b/fedoramagazine-old/images/icons/1x/audio/audio-mute.png new file mode 100644 index 0000000..763cd10 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/audio/audio-mute.png differ diff --git a/fedoramagazine-old/images/icons/1x/audio/audio-unmute-big.png b/fedoramagazine-old/images/icons/1x/audio/audio-unmute-big.png new file mode 100644 index 0000000..585c799 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/audio/audio-unmute-big.png differ diff --git a/fedoramagazine-old/images/icons/1x/audio/audio-unmute.png b/fedoramagazine-old/images/icons/1x/audio/audio-unmute.png new file mode 100644 index 0000000..bfc5ca6 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/audio/audio-unmute.png differ diff --git a/fedoramagazine-old/images/icons/1x/audio/pause-big.png b/fedoramagazine-old/images/icons/1x/audio/pause-big.png new file mode 100644 index 0000000..d4430e8 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/audio/pause-big.png differ diff --git a/fedoramagazine-old/images/icons/1x/audio/pause.png b/fedoramagazine-old/images/icons/1x/audio/pause.png new file mode 100644 index 0000000..8e10497 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/audio/pause.png differ diff --git a/fedoramagazine-old/images/icons/1x/audio/play-big.png b/fedoramagazine-old/images/icons/1x/audio/play-big.png new file mode 100644 index 0000000..00ad20f Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/audio/play-big.png differ diff --git a/fedoramagazine-old/images/icons/1x/audio/play.png b/fedoramagazine-old/images/icons/1x/audio/play.png new file mode 100644 index 0000000..776e6e4 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/audio/play.png differ diff --git a/fedoramagazine-old/images/icons/1x/author-c.png b/fedoramagazine-old/images/icons/1x/author-c.png new file mode 100644 index 0000000..b2620b4 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/author-c.png differ diff --git a/fedoramagazine-old/images/icons/1x/author-g.png b/fedoramagazine-old/images/icons/1x/author-g.png new file mode 100644 index 0000000..d6ae728 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/author-g.png differ diff --git a/fedoramagazine-old/images/icons/1x/author-w.png b/fedoramagazine-old/images/icons/1x/author-w.png new file mode 100644 index 0000000..c81f45b Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/author-w.png differ diff --git a/fedoramagazine-old/images/icons/1x/chevron-left-w-shade-big.png b/fedoramagazine-old/images/icons/1x/chevron-left-w-shade-big.png new file mode 100644 index 0000000..dc7704d Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/chevron-left-w-shade-big.png differ diff --git a/fedoramagazine-old/images/icons/1x/chevron-left-w-shade.png b/fedoramagazine-old/images/icons/1x/chevron-left-w-shade.png new file mode 100644 index 0000000..d4dc33d Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/chevron-left-w-shade.png differ diff --git a/fedoramagazine-old/images/icons/1x/chevron-right-w-shade-big.png b/fedoramagazine-old/images/icons/1x/chevron-right-w-shade-big.png new file mode 100644 index 0000000..6d23867 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/chevron-right-w-shade-big.png differ diff --git a/fedoramagazine-old/images/icons/1x/chevron-right-w-shade.png b/fedoramagazine-old/images/icons/1x/chevron-right-w-shade.png new file mode 100644 index 0000000..26ab7f3 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/chevron-right-w-shade.png differ diff --git a/fedoramagazine-old/images/icons/1x/clock-c.png b/fedoramagazine-old/images/icons/1x/clock-c.png new file mode 100644 index 0000000..aefe2e3 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/clock-c.png differ diff --git a/fedoramagazine-old/images/icons/1x/clock-g.png b/fedoramagazine-old/images/icons/1x/clock-g.png new file mode 100644 index 0000000..96bba48 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/clock-g.png differ diff --git a/fedoramagazine-old/images/icons/1x/comment-c.png b/fedoramagazine-old/images/icons/1x/comment-c.png new file mode 100644 index 0000000..2ad6c07 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/comment-c.png differ diff --git a/fedoramagazine-old/images/icons/1x/comment-g.png b/fedoramagazine-old/images/icons/1x/comment-g.png new file mode 100644 index 0000000..b9e3d9e Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/comment-g.png differ diff --git a/fedoramagazine-old/images/icons/1x/edit-c.png b/fedoramagazine-old/images/icons/1x/edit-c.png new file mode 100644 index 0000000..a4ebd86 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/edit-c.png differ diff --git a/fedoramagazine-old/images/icons/1x/edit-g.png b/fedoramagazine-old/images/icons/1x/edit-g.png new file mode 100644 index 0000000..8e79d07 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/edit-g.png differ diff --git a/fedoramagazine-old/images/icons/1x/edit-w.png b/fedoramagazine-old/images/icons/1x/edit-w.png new file mode 100644 index 0000000..89e8015 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/edit-w.png differ diff --git a/fedoramagazine-old/images/icons/1x/folder-g.png b/fedoramagazine-old/images/icons/1x/folder-g.png new file mode 100644 index 0000000..9f66906 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/folder-g.png differ diff --git a/fedoramagazine-old/images/icons/1x/heart-c.png b/fedoramagazine-old/images/icons/1x/heart-c.png new file mode 100644 index 0000000..9ec53fd Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/heart-c.png differ diff --git a/fedoramagazine-old/images/icons/1x/heart-g.png b/fedoramagazine-old/images/icons/1x/heart-g.png new file mode 100644 index 0000000..e6e70f6 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/heart-g.png differ diff --git a/fedoramagazine-old/images/icons/1x/home-g.png b/fedoramagazine-old/images/icons/1x/home-g.png new file mode 100644 index 0000000..3bd326c Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/home-g.png differ diff --git a/fedoramagazine-old/images/icons/1x/home-w.png b/fedoramagazine-old/images/icons/1x/home-w.png new file mode 100644 index 0000000..f4e9649 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/home-w.png differ diff --git a/fedoramagazine-old/images/icons/1x/image-g.png b/fedoramagazine-old/images/icons/1x/image-g.png new file mode 100644 index 0000000..57df880 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/image-g.png differ diff --git a/fedoramagazine-old/images/icons/1x/image-w.png b/fedoramagazine-old/images/icons/1x/image-w.png new file mode 100644 index 0000000..4db728f Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/image-w.png differ diff --git a/fedoramagazine-old/images/icons/1x/link-c.png b/fedoramagazine-old/images/icons/1x/link-c.png new file mode 100644 index 0000000..2298b1a Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/link-c.png differ diff --git a/fedoramagazine-old/images/icons/1x/link-w.png b/fedoramagazine-old/images/icons/1x/link-w.png new file mode 100644 index 0000000..ff751d3 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/link-w.png differ diff --git a/fedoramagazine-old/images/icons/1x/mail-w.png b/fedoramagazine-old/images/icons/1x/mail-w.png new file mode 100644 index 0000000..76c3137 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/mail-w.png differ diff --git a/fedoramagazine-old/images/icons/1x/next-c.png b/fedoramagazine-old/images/icons/1x/next-c.png new file mode 100644 index 0000000..54514ad Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/next-c.png differ diff --git a/fedoramagazine-old/images/icons/1x/next-g.png b/fedoramagazine-old/images/icons/1x/next-g.png new file mode 100644 index 0000000..1f876dc Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/next-g.png differ diff --git a/fedoramagazine-old/images/icons/1x/prev-c.png b/fedoramagazine-old/images/icons/1x/prev-c.png new file mode 100644 index 0000000..881510c Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/prev-c.png differ diff --git a/fedoramagazine-old/images/icons/1x/prev-g.png b/fedoramagazine-old/images/icons/1x/prev-g.png new file mode 100644 index 0000000..7cf8ada Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/prev-g.png differ diff --git a/fedoramagazine-old/images/icons/1x/reply-w.png b/fedoramagazine-old/images/icons/1x/reply-w.png new file mode 100644 index 0000000..5c7f0e4 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/reply-w.png differ diff --git a/fedoramagazine-old/images/icons/1x/social/mail-g.png b/fedoramagazine-old/images/icons/1x/social/mail-g.png new file mode 100644 index 0000000..77b64cb Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/social/mail-g.png differ diff --git a/fedoramagazine-old/images/icons/1x/social/mail-w.png b/fedoramagazine-old/images/icons/1x/social/mail-w.png new file mode 100644 index 0000000..1c49f8b Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/social/mail-w.png differ diff --git a/fedoramagazine-old/images/icons/1x/social/twitter-w.png b/fedoramagazine-old/images/icons/1x/social/twitter-w.png new file mode 100644 index 0000000..90dd126 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/social/twitter-w.png differ diff --git a/fedoramagazine-old/images/icons/1x/spyglass-c.png b/fedoramagazine-old/images/icons/1x/spyglass-c.png new file mode 100644 index 0000000..93d8961 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/spyglass-c.png differ diff --git a/fedoramagazine-old/images/icons/1x/spyglass-g.png b/fedoramagazine-old/images/icons/1x/spyglass-g.png new file mode 100644 index 0000000..e61a69e Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/spyglass-g.png differ diff --git a/fedoramagazine-old/images/icons/1x/spyglass-w.png b/fedoramagazine-old/images/icons/1x/spyglass-w.png new file mode 100644 index 0000000..0ee8d3c Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/spyglass-w.png differ diff --git a/fedoramagazine-old/images/icons/1x/tack-w.png b/fedoramagazine-old/images/icons/1x/tack-w.png new file mode 100644 index 0000000..d4667cd Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/tack-w.png differ diff --git a/fedoramagazine-old/images/icons/1x/tag-g.png b/fedoramagazine-old/images/icons/1x/tag-g.png new file mode 100644 index 0000000..ccffb8a Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/tag-g.png differ diff --git a/fedoramagazine-old/images/icons/1x/twitter-w.png b/fedoramagazine-old/images/icons/1x/twitter-w.png new file mode 100644 index 0000000..db56070 Binary files /dev/null and b/fedoramagazine-old/images/icons/1x/twitter-w.png differ diff --git a/fedoramagazine-old/images/icons/2x/archive-w.png b/fedoramagazine-old/images/icons/2x/archive-w.png new file mode 100644 index 0000000..dafc845 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/archive-w.png differ diff --git a/fedoramagazine-old/images/icons/2x/audio/audio-mute.png b/fedoramagazine-old/images/icons/2x/audio/audio-mute.png new file mode 100644 index 0000000..55cb65b Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/audio/audio-mute.png differ diff --git a/fedoramagazine-old/images/icons/2x/audio/audio-unmute.png b/fedoramagazine-old/images/icons/2x/audio/audio-unmute.png new file mode 100644 index 0000000..891ea37 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/audio/audio-unmute.png differ diff --git a/fedoramagazine-old/images/icons/2x/audio/pause.png b/fedoramagazine-old/images/icons/2x/audio/pause.png new file mode 100644 index 0000000..4ce0276 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/audio/pause.png differ diff --git a/fedoramagazine-old/images/icons/2x/audio/play.png b/fedoramagazine-old/images/icons/2x/audio/play.png new file mode 100644 index 0000000..3512fd4 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/audio/play.png differ diff --git a/fedoramagazine-old/images/icons/2x/author-c.png b/fedoramagazine-old/images/icons/2x/author-c.png new file mode 100644 index 0000000..f38b33b Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/author-c.png differ diff --git a/fedoramagazine-old/images/icons/2x/author-g.png b/fedoramagazine-old/images/icons/2x/author-g.png new file mode 100644 index 0000000..e61270f Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/author-g.png differ diff --git a/fedoramagazine-old/images/icons/2x/author-w.png b/fedoramagazine-old/images/icons/2x/author-w.png new file mode 100644 index 0000000..9ff61e6 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/author-w.png differ diff --git a/fedoramagazine-old/images/icons/2x/chevron-left-w-shade.png b/fedoramagazine-old/images/icons/2x/chevron-left-w-shade.png new file mode 100644 index 0000000..5fd7ba6 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/chevron-left-w-shade.png differ diff --git a/fedoramagazine-old/images/icons/2x/chevron-right-w-shade.png b/fedoramagazine-old/images/icons/2x/chevron-right-w-shade.png new file mode 100644 index 0000000..e59973c Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/chevron-right-w-shade.png differ diff --git a/fedoramagazine-old/images/icons/2x/clock-c.png b/fedoramagazine-old/images/icons/2x/clock-c.png new file mode 100644 index 0000000..0c7fb6b Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/clock-c.png differ diff --git a/fedoramagazine-old/images/icons/2x/clock-g.png b/fedoramagazine-old/images/icons/2x/clock-g.png new file mode 100644 index 0000000..b30e244 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/clock-g.png differ diff --git a/fedoramagazine-old/images/icons/2x/comment-c.png b/fedoramagazine-old/images/icons/2x/comment-c.png new file mode 100644 index 0000000..41677ce Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/comment-c.png differ diff --git a/fedoramagazine-old/images/icons/2x/comment-g.png b/fedoramagazine-old/images/icons/2x/comment-g.png new file mode 100644 index 0000000..c887d89 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/comment-g.png differ diff --git a/fedoramagazine-old/images/icons/2x/edit-c.png b/fedoramagazine-old/images/icons/2x/edit-c.png new file mode 100644 index 0000000..0d99f3b Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/edit-c.png differ diff --git a/fedoramagazine-old/images/icons/2x/edit-g.png b/fedoramagazine-old/images/icons/2x/edit-g.png new file mode 100644 index 0000000..558ec4a Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/edit-g.png differ diff --git a/fedoramagazine-old/images/icons/2x/edit-w.png b/fedoramagazine-old/images/icons/2x/edit-w.png new file mode 100644 index 0000000..c690d96 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/edit-w.png differ diff --git a/fedoramagazine-old/images/icons/2x/folder-g.png b/fedoramagazine-old/images/icons/2x/folder-g.png new file mode 100644 index 0000000..292b04e Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/folder-g.png differ diff --git a/fedoramagazine-old/images/icons/2x/heart-c.png b/fedoramagazine-old/images/icons/2x/heart-c.png new file mode 100644 index 0000000..344f598 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/heart-c.png differ diff --git a/fedoramagazine-old/images/icons/2x/heart-g.png b/fedoramagazine-old/images/icons/2x/heart-g.png new file mode 100644 index 0000000..d19bd40 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/heart-g.png differ diff --git a/fedoramagazine-old/images/icons/2x/home-g.png b/fedoramagazine-old/images/icons/2x/home-g.png new file mode 100644 index 0000000..4e18089 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/home-g.png differ diff --git a/fedoramagazine-old/images/icons/2x/home-w.png b/fedoramagazine-old/images/icons/2x/home-w.png new file mode 100644 index 0000000..d10d66c Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/home-w.png differ diff --git a/fedoramagazine-old/images/icons/2x/image-g.png b/fedoramagazine-old/images/icons/2x/image-g.png new file mode 100644 index 0000000..e29d5ad Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/image-g.png differ diff --git a/fedoramagazine-old/images/icons/2x/image-w.png b/fedoramagazine-old/images/icons/2x/image-w.png new file mode 100644 index 0000000..b8a2dbc Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/image-w.png differ diff --git a/fedoramagazine-old/images/icons/2x/link-c.png b/fedoramagazine-old/images/icons/2x/link-c.png new file mode 100644 index 0000000..64f3ad1 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/link-c.png differ diff --git a/fedoramagazine-old/images/icons/2x/link-w.png b/fedoramagazine-old/images/icons/2x/link-w.png new file mode 100644 index 0000000..3160e69 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/link-w.png differ diff --git a/fedoramagazine-old/images/icons/2x/next-c.png b/fedoramagazine-old/images/icons/2x/next-c.png new file mode 100644 index 0000000..d460347 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/next-c.png differ diff --git a/fedoramagazine-old/images/icons/2x/next-g.png b/fedoramagazine-old/images/icons/2x/next-g.png new file mode 100644 index 0000000..674ec7a Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/next-g.png differ diff --git a/fedoramagazine-old/images/icons/2x/prev-c.png b/fedoramagazine-old/images/icons/2x/prev-c.png new file mode 100644 index 0000000..7256be8 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/prev-c.png differ diff --git a/fedoramagazine-old/images/icons/2x/prev-g.png b/fedoramagazine-old/images/icons/2x/prev-g.png new file mode 100644 index 0000000..a4fb9b9 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/prev-g.png differ diff --git a/fedoramagazine-old/images/icons/2x/reply-w.png b/fedoramagazine-old/images/icons/2x/reply-w.png new file mode 100644 index 0000000..794eaec Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/reply-w.png differ diff --git a/fedoramagazine-old/images/icons/2x/social/mail-g.png b/fedoramagazine-old/images/icons/2x/social/mail-g.png new file mode 100644 index 0000000..c963850 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/social/mail-g.png differ diff --git a/fedoramagazine-old/images/icons/2x/social/mail-w.png b/fedoramagazine-old/images/icons/2x/social/mail-w.png new file mode 100644 index 0000000..59d31fe Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/social/mail-w.png differ diff --git a/fedoramagazine-old/images/icons/2x/social/twitter-w.png b/fedoramagazine-old/images/icons/2x/social/twitter-w.png new file mode 100644 index 0000000..9207d7e Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/social/twitter-w.png differ diff --git a/fedoramagazine-old/images/icons/2x/spyglass-c.png b/fedoramagazine-old/images/icons/2x/spyglass-c.png new file mode 100644 index 0000000..96d7d7a Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/spyglass-c.png differ diff --git a/fedoramagazine-old/images/icons/2x/spyglass-g.png b/fedoramagazine-old/images/icons/2x/spyglass-g.png new file mode 100644 index 0000000..05a2ca4 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/spyglass-g.png differ diff --git a/fedoramagazine-old/images/icons/2x/spyglass-w.png b/fedoramagazine-old/images/icons/2x/spyglass-w.png new file mode 100644 index 0000000..5f392c7 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/spyglass-w.png differ diff --git a/fedoramagazine-old/images/icons/2x/tack-w.png b/fedoramagazine-old/images/icons/2x/tack-w.png new file mode 100644 index 0000000..3a62468 Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/tack-w.png differ diff --git a/fedoramagazine-old/images/icons/2x/tag-g.png b/fedoramagazine-old/images/icons/2x/tag-g.png new file mode 100644 index 0000000..f3afbea Binary files /dev/null and b/fedoramagazine-old/images/icons/2x/tag-g.png differ diff --git a/fedoramagazine-old/index.php b/fedoramagazine-old/index.php new file mode 100644 index 0000000..55802f8 --- /dev/null +++ b/fedoramagazine-old/index.php @@ -0,0 +1,67 @@ + + +
    + + publish; + $total_pages = ceil( $published_post_count / $posts_per_page ); + + if ( "1" < $paged ) : ?> + +
    + +
    max_num_pages ); ?>
    + +
    + +
    + + + +
    + + + +
    + + + +
    + +
    > + + + +
    + +
    + + + + + +
    + +
    + + max_num_pages > 1 ) : ?> + +
    + + + + + +
    + +
    + + + +
    + +
    + + \ No newline at end of file diff --git a/fedoramagazine-old/js/flashmediaelement.swf b/fedoramagazine-old/js/flashmediaelement.swf new file mode 100644 index 0000000..2a5cb8d Binary files /dev/null and b/fedoramagazine-old/js/flashmediaelement.swf differ diff --git a/fedoramagazine-old/js/flexslider.min.js b/fedoramagazine-old/js/flexslider.min.js new file mode 100644 index 0000000..5d35f80 --- /dev/null +++ b/fedoramagazine-old/js/flexslider.min.js @@ -0,0 +1,44 @@ +/* + * jQuery FlexSlider v2.1 + * http://www.woothemes.com/flexslider/ + * + * Copyright 2012 WooThemes + * Free to use under the GPLv2 license. + * http://www.gnu.org/licenses/gpl-2.0.html + * + * Contributing author: Tyler Smith (@mbmufffin) + */ + +(function(d){d.flexslider=function(j,l){var a=d(j),c=d.extend({},d.flexslider.defaults,l),e=c.namespace,q="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,u=q?"touchend":"click",m="vertical"===c.direction,n=c.reverse,h=0g?a.getTarget("next"):a.getTarget("prev");a.flexAnimate(d,c.pauseOnAction)});c.pausePlay&&f.pausePlay.setup();c.slideshow&&(c.pauseOnHover&&a.hover(function(){!a.manualPlay&&!a.manualPause&&a.pause()}, +function(){!a.manualPause&&!a.manualPlay&&a.play()}),0');if(1':""+b+"",a.controlNavScaffold.append("
  • "+g+"
  • "),b++;a.controlsContainer?d(a.controlsContainer).append(a.controlNavScaffold):a.append(a.controlNavScaffold);f.controlNav.set();f.controlNav.active();a.controlNavScaffold.delegate("a, img",u,function(b){b.preventDefault();b=d(this);var g=a.controlNav.index(b);b.hasClass(e+"active")||(a.direction=g>a.currentSlide?"next":"prev",a.flexAnimate(g,c.pauseOnAction))});q&&a.controlNavScaffold.delegate("a", +"click touchstart",function(a){a.preventDefault()})},setupManual:function(){a.controlNav=a.manualControls;f.controlNav.active();a.controlNav.live(u,function(b){b.preventDefault();b=d(this);var g=a.controlNav.index(b);b.hasClass(e+"active")||(g>a.currentSlide?a.direction="next":a.direction="prev",a.flexAnimate(g,c.pauseOnAction))});q&&a.controlNav.live("click touchstart",function(a){a.preventDefault()})},set:function(){a.controlNav=d("."+e+"control-nav li "+("thumbnails"===c.controlNav?"img":"a"), +a.controlsContainer?a.controlsContainer:a)},active:function(){a.controlNav.removeClass(e+"active").eq(a.animatingTo).addClass(e+"active")},update:function(b,c){1"+a.count+"")):1===a.pagingCount?a.controlNavScaffold.find("li").remove():a.controlNav.eq(c).closest("li").remove();f.controlNav.set();1
  • '+c.prevText+'
  • '+c.nextText+"
  • ");a.controlsContainer?(d(a.controlsContainer).append(b),a.directionNav=d("."+e+"direction-nav li a",a.controlsContainer)):(a.append(b),a.directionNav=d("."+e+"direction-nav li a",a));f.directionNav.update();a.directionNav.bind(u,function(b){b.preventDefault();b=d(this).hasClass(e+"next")?a.getTarget("next"):a.getTarget("prev");a.flexAnimate(b,c.pauseOnAction)}); +q&&a.directionNav.bind("click touchstart",function(a){a.preventDefault()})},update:function(){var b=e+"disabled";1===a.pagingCount?a.directionNav.addClass(b):c.animationLoop?a.directionNav.removeClass(b):0===a.animatingTo?a.directionNav.removeClass(b).filter("."+e+"prev").addClass(b):a.animatingTo===a.last?a.directionNav.removeClass(b).filter("."+e+"next").addClass(b):a.directionNav.removeClass(b)}},pausePlay:{setup:function(){var b=d('
    ');a.controlsContainer? +(a.controlsContainer.append(b),a.pausePlay=d("."+e+"pauseplay a",a.controlsContainer)):(a.append(b),a.pausePlay=d("."+e+"pauseplay a",a));f.pausePlay.update(c.slideshow?e+"pause":e+"play");a.pausePlay.bind(u,function(b){b.preventDefault();d(this).hasClass(e+"pause")?(a.manualPause=!0,a.manualPlay=!1,a.pause()):(a.manualPause=!1,a.manualPlay=!0,a.play())});q&&a.pausePlay.bind("click touchstart",function(a){a.preventDefault()})},update:function(b){"play"===b?a.pausePlay.removeClass(e+"pause").addClass(e+ +"play").text(c.playText):a.pausePlay.removeClass(e+"play").addClass(e+"pause").text(c.pauseText)}},touch:function(){function b(b){k=m?d-b.touches[0].pageY:d-b.touches[0].pageX;q=m?Math.abs(k)k||a.currentSlide===a.last&&0Number(new Date)-l&&50r/2)?a.flexAnimate(m,c.pauseOnAction):s||a.flexAnimate(a.currentSlide,c.pauseOnAction,!0)}j.removeEventListener("touchend",g,!1);f=k=e=d=null}var d,e,f,r,k,l,q=!1;j.addEventListener("touchstart",function(k){a.animating?k.preventDefault():1===k.touches.length&&(a.pause(),r=m?a.h:a.w,l=Number(new Date),f=h&&n&&a.animatingTo=== +a.last?0:h&&n?a.limit-(a.itemW+c.itemMargin)*a.move*a.animatingTo:h&&a.currentSlide===a.last?a.limit:h?(a.itemW+c.itemMargin)*a.move*a.currentSlide:n?(a.last-a.currentSlide+a.cloneOffset)*r:(a.currentSlide+a.cloneOffset)*r,d=m?k.touches[0].pageY:k.touches[0].pageX,e=m?k.touches[0].pageX:k.touches[0].pageY,j.addEventListener("touchmove",b,!1),j.addEventListener("touchend",g,!1))},!1)},resize:function(){!a.animating&&a.is(":visible")&&(h||a.doMath(),s?f.smoothHeight():h?(a.slides.width(a.computedW), +a.update(a.pagingCount),a.setProps()):m?(a.viewport.height(a.h),a.setProps(a.h,"setTotal")):(c.smoothHeight&&f.smoothHeight(),a.newSlides.width(a.computedW),a.setProps(a.computedW,"setTotal")))},smoothHeight:function(b){if(!m||s){var c=s?a:a.viewport;b?c.animate({height:a.slides.eq(a.animatingTo).height()},b):c.height(a.slides.eq(a.animatingTo).height())}},sync:function(b){var g=d(c.sync).data("flexslider"),e=a.animatingTo;switch(b){case "animate":g.flexAnimate(e,c.pauseOnAction,!1,!0);break;case "play":!g.playing&& +!g.asNav&&g.play();break;case "pause":g.pause()}}};a.flexAnimate=function(b,g,p,j,l){t&&1===a.pagingCount&&(a.direction=a.currentItema.w?2*c.itemMargin:c.itemMargin,b=(a.itemW+b)*a.move*a.animatingTo, +b=b>a.limit&&1!==a.visible?a.limit:b):b=0===a.currentSlide&&b===a.count-1&&c.animationLoop&&"next"!==a.direction?n?(a.count+a.cloneOffset)*r:0:a.currentSlide===a.last&&0===b&&c.animationLoop&&"prev"!==a.direction?n?0:(a.count+1)*r:n?(a.count-1-b+a.cloneOffset)*r:(b+a.cloneOffset)*r;a.setProps(b,"",c.animationSpeed);if(a.transitions){if(!c.animationLoop||!a.atEnd)a.animating=!1,a.currentSlide=a.animatingTo;a.container.unbind("webkitTransitionEnd transitionend");a.container.bind("webkitTransitionEnd transitionend", +function(){a.wrapup(r)})}else a.container.animate(a.args,c.animationSpeed,c.easing,function(){a.wrapup(r)})}c.smoothHeight&&f.smoothHeight(c.animationSpeed)}};a.wrapup=function(b){!s&&!h&&(0===a.currentSlide&&a.animatingTo===a.last&&c.animationLoop?a.setProps(b,"jumpEnd"):a.currentSlide===a.last&&(0===a.animatingTo&&c.animationLoop)&&a.setProps(b,"jumpStart"));a.animating=!1;a.currentSlide=a.animatingTo;c.after(a)};a.animateSlides=function(){a.animating||a.flexAnimate(a.getTarget("next"))};a.pause= +function(){clearInterval(a.animatedSlides);a.playing=!1;c.pausePlay&&f.pausePlay.update("play");a.syncExists&&f.sync("pause")};a.play=function(){a.animatedSlides=setInterval(a.animateSlides,c.slideshowSpeed);a.playing=!0;c.pausePlay&&f.pausePlay.update("pause");a.syncExists&&f.sync("play")};a.canAdvance=function(b,g){var d=t?a.pagingCount-1:a.last;return g?!0:t&&a.currentItem===a.count-1&&0===b&&"prev"===a.direction?!0:t&&0===a.currentItem&&b===a.pagingCount-1&&"next"!==a.direction?!1:b===a.currentSlide&& +!t?!1:c.animationLoop?!0:a.atEnd&&0===a.currentSlide&&b===d&&"next"!==a.direction?!1:a.atEnd&&a.currentSlide===d&&0===b&&"next"===a.direction?!1:!0};a.getTarget=function(b){a.direction=b;return"next"===b?a.currentSlide===a.last?0:a.currentSlide+1:0===a.currentSlide?a.last:a.currentSlide-1};a.setProps=function(b,g,d){var e,f=b?b:(a.itemW+c.itemMargin)*a.move*a.animatingTo;e=-1*function(){if(h)return"setTouch"===g?b:n&&a.animatingTo===a.last?0:n?a.limit-(a.itemW+c.itemMargin)*a.move*a.animatingTo:a.animatingTo=== +a.last?a.limit:f;switch(g){case "setTotal":return n?(a.count-1-a.currentSlide+a.cloneOffset)*b:(a.currentSlide+a.cloneOffset)*b;case "setTouch":return b;case "jumpEnd":return n?b:a.count*b;case "jumpStart":return n?a.count*b:b;default:return b}}()+"px";a.transitions&&(e=m?"translate3d(0,"+e+",0)":"translate3d("+e+",0,0)",d=void 0!==d?d/1E3+"s":"0s",a.container.css("-"+a.pfx+"-transition-duration",d));a.args[a.prop]=e;(a.transitions||void 0===d)&&a.container.css(a.args)};a.setup=function(b){if(s)a.slides.css({width:"100%", +"float":"left",marginRight:"-100%",position:"relative"}),"init"===b&&(q?a.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+c.animationSpeed/1E3+"s ease",zIndex:1}).eq(a.currentSlide).css({opacity:1,zIndex:2}):a.slides.eq(a.currentSlide).fadeIn(c.animationSpeed,c.easing)),c.smoothHeight&&f.smoothHeight();else{var g,p;"init"===b&&(a.viewport=d('
    ').css({overflow:"hidden",position:"relative"}).appendTo(a).append(a.container),a.cloneCount=0,a.cloneOffset= +0,n&&(p=d.makeArray(a.slides).reverse(),a.slides=d(p),a.container.empty().append(a.slides)));c.animationLoop&&!h&&(a.cloneCount=2,a.cloneOffset=1,"init"!==b&&a.container.find(".clone").remove(),a.container.append(a.slides.first().clone().addClass("clone")).prepend(a.slides.last().clone().addClass("clone")));a.newSlides=d(c.selector,a);g=n?a.count-1-a.currentSlide+a.cloneOffset:a.currentSlide+a.cloneOffset;m&&!h?(a.container.height(200*(a.count+a.cloneCount)+"%").css("position","absolute").width("100%"), +setTimeout(function(){a.newSlides.css({display:"block"});a.doMath();a.viewport.height(a.h);a.setProps(g*a.h,"init")},"init"===b?100:0)):(a.container.width(200*(a.count+a.cloneCount)+"%"),a.setProps(g*a.computedW,"init"),setTimeout(function(){a.doMath();a.newSlides.css({width:a.computedW,"float":"left",display:"block"});c.smoothHeight&&f.smoothHeight()},"init"===b?100:0))}h||a.slides.removeClass(e+"active-slide").eq(a.currentSlide).addClass(e+"active-slide")};a.doMath=function(){var b=a.slides.first(), +d=c.itemMargin,e=c.minItems,f=c.maxItems;a.w=a.width();a.h=b.height();a.boxPadding=b.outerWidth()-b.width();h?(a.itemT=c.itemWidth+d,a.minW=e?e*a.itemT:a.w,a.maxW=f?f*a.itemT:a.w,a.itemW=a.minW>a.w?(a.w-d*e)/e:a.maxWa.w?a.w:c.itemWidth,a.visible=Math.floor(a.w/(a.itemW+d)),a.move=0a.w?(a.itemW+2*d)*a.count-a.w- +d:(a.itemW+d)*a.count-a.w-d):(a.itemW=a.w,a.pagingCount=a.count,a.last=a.count-1);a.computedW=a.itemW-a.boxPadding};a.update=function(b,d){a.doMath();h||(ba.controlNav.length)f.controlNav.update("add");else if("remove"===d&&!h||a.pagingCounta.last&&(a.currentSlide-=1,a.animatingTo-=1), +f.controlNav.update("remove",a.last);c.directionNav&&f.directionNav.update()};a.addSlide=function(b,e){var f=d(b);a.count+=1;a.last=a.count-1;m&&n?void 0!==e?a.slides.eq(a.count-e).after(f):a.container.prepend(f):void 0!==e?a.slides.eq(e).before(f):a.container.append(f);a.update(e,"add");a.slides=d(c.selector+":not(.clone)",a);a.setup();c.added(a)};a.removeSlide=function(b){var e=isNaN(b)?a.slides.index(d(b)):b;a.count-=1;a.last=a.count-1;isNaN(b)?d(b,a.slides).remove():m&&n?a.slides.eq(a.last).remove(): +a.slides.eq(b).remove();a.doMath();a.update(e,"remove");a.slides=d(c.selector+":not(.clone)",a);a.setup();c.removed(a)};f.init()};d.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7E3,animationSpeed:600,initDelay:0,randomize:!1,pauseOnAction:!0,pauseOnHover:!1,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next", +keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:0,maxItems:0,move:0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){}};d.fn.flexslider=function(j){void 0===j&&(j={});if("object"===typeof j)return this.each(function(){var a=d(this),c=a.find(j.selector?j.selector:".slides > li");1===c.length?(c.fadeIn(400), +j.start&&j.start(a)):void 0==a.data("flexslider")&&new d.flexslider(this,j)});var l=d(this).data("flexslider");switch(j){case "play":l.play();break;case "pause":l.pause();break;case "next":l.flexAnimate(l.getTarget("next"),!0);break;case "prev":case "previous":l.flexAnimate(l.getTarget("prev"),!0);break;default:"number"===typeof j&&l.flexAnimate(j,!0)}}})(jQuery); \ No newline at end of file diff --git a/fedoramagazine-old/js/global.js b/fedoramagazine-old/js/global.js new file mode 100644 index 0000000..2b6d9c2 --- /dev/null +++ b/fedoramagazine-old/js/global.js @@ -0,0 +1,102 @@ +jQuery(document).ready(function($) { + + //Masonry blocks + $blocks = $(".posts"); + + $blocks.imagesLoaded(function(){ + $blocks.masonry({ + itemSelector: '.post-container' + }); + + // Fade blocks in after images are ready (prevents jumping and re-rendering) + $(".post-container").fadeIn(); + }); + + $(document).ready( function() { setTimeout( function() { $blocks.masonry(); }, 500); }); + + $(window).resize(function () { + $blocks.masonry(); + }); + + + // Toggle mobile-menu + $(".nav-toggle").on("click", function(){ + $(this).toggleClass("active"); + $(".mobile-navigation").slideToggle(); + }); + + + // Toggle search form + $(".search-toggle").on("click", function(){ + $(this).toggleClass("active"); + $(".header-search-block").slideToggle(); + $(".header-search-block #s").focus(); + return false; + }); + + + // Show mobile-menu > 1000 + $(window).resize(function() { + if ($(window).width() > 1000) { + $(".nav-toggle").removeClass("active"); + $(".mobile-navigation").hide(); + } + }); + + + // Load Flexslider + $(".flexslider").flexslider({ + animation: "slide", + controlNav: false, + prevText: "Previous", + nextText: "Next", + smoothHeight: true + }); + + + // Add custom audio player + $('#audio-player').mediaelementplayer({ + alwaysShowControls: true, + features: ['playpause','progress','volume'], + audioVolume: 'horizontal', + audioWidth: 872, + audioHeight: 100 + }); + + + // resize videos after container + var vidSelector = ".post iframe, .post object, .post video, .widget-content iframe, .widget-content object, .widget-content iframe"; + var resizeVideo = function(sSel) { + $( sSel ).each(function() { + var $video = $(this), + $container = $video.parent(), + iTargetWidth = $container.width(); + + if ( !$video.attr("data-origwidth") ) { + $video.attr("data-origwidth", $video.attr("width")); + $video.attr("data-origheight", $video.attr("height")); + } + + var ratio = iTargetWidth / $video.attr("data-origwidth"); + + $video.css("width", iTargetWidth + "px"); + $video.css("height", ( $video.attr("data-origheight") * ratio ) + "px"); + }); + }; + + resizeVideo(vidSelector); + + $(window).resize(function() { + resizeVideo(vidSelector); + }); + + + // Smooth scroll to header + $('.tothetop').click(function(){ + $('html,body').animate({scrollTop: 0}, 500); + $(this).unbind("mouseenter mouseleave"); + return false; + }); + + +}); \ No newline at end of file diff --git a/fedoramagazine-old/js/imagesloaded.pkgd.js b/fedoramagazine-old/js/imagesloaded.pkgd.js new file mode 100644 index 0000000..380c2ea --- /dev/null +++ b/fedoramagazine-old/js/imagesloaded.pkgd.js @@ -0,0 +1,893 @@ +/*! + * imagesLoaded PACKAGED v3.1.8 + * JavaScript is all like "You images are done yet or what?" + * MIT License + */ + + +/*! + * EventEmitter v4.2.6 - git.io/ee + * Oliver Caldwell + * MIT license + * @preserve + */ + +(function () { + + + /** + * Class for managing events. + * Can be extended to provide event functionality in other classes. + * + * @class EventEmitter Manages event registering and emitting. + */ + function EventEmitter() {} + + // Shortcuts to improve speed and size + var proto = EventEmitter.prototype; + var exports = this; + var originalGlobalValue = exports.EventEmitter; + + /** + * Finds the index of the listener for the event in it's storage array. + * + * @param {Function[]} listeners Array of listeners to search through. + * @param {Function} listener Method to look for. + * @return {Number} Index of the specified listener, -1 if not found + * @api private + */ + function indexOfListener(listeners, listener) { + var i = listeners.length; + while (i--) { + if (listeners[i].listener === listener) { + return i; + } + } + + return -1; + } + + /** + * Alias a method while keeping the context correct, to allow for overwriting of target method. + * + * @param {String} name The name of the target method. + * @return {Function} The aliased method + * @api private + */ + function alias(name) { + return function aliasClosure() { + return this[name].apply(this, arguments); + }; + } + + /** + * Returns the listener array for the specified event. + * Will initialise the event object and listener arrays if required. + * Will return an object if you use a regex search. The object contains keys for each matched event. So /ba[rz]/ might return an object containing bar and baz. But only if you have either defined them with defineEvent or added some listeners to them. + * Each property in the object response is an array of listener functions. + * + * @param {String|RegExp} evt Name of the event to return the listeners from. + * @return {Function[]|Object} All listener functions for the event. + */ + proto.getListeners = function getListeners(evt) { + var events = this._getEvents(); + var response; + var key; + + // Return a concatenated array of all matching events if + // the selector is a regular expression. + if (typeof evt === 'object') { + response = {}; + for (key in events) { + if (events.hasOwnProperty(key) && evt.test(key)) { + response[key] = events[key]; + } + } + } + else { + response = events[evt] || (events[evt] = []); + } + + return response; + }; + + /** + * Takes a list of listener objects and flattens it into a list of listener functions. + * + * @param {Object[]} listeners Raw listener objects. + * @return {Function[]} Just the listener functions. + */ + proto.flattenListeners = function flattenListeners(listeners) { + var flatListeners = []; + var i; + + for (i = 0; i < listeners.length; i += 1) { + flatListeners.push(listeners[i].listener); + } + + return flatListeners; + }; + + /** + * Fetches the requested listeners via getListeners but will always return the results inside an object. This is mainly for internal use but others may find it useful. + * + * @param {String|RegExp} evt Name of the event to return the listeners from. + * @return {Object} All listener functions for an event in an object. + */ + proto.getListenersAsObject = function getListenersAsObject(evt) { + var listeners = this.getListeners(evt); + var response; + + if (listeners instanceof Array) { + response = {}; + response[evt] = listeners; + } + + return response || listeners; + }; + + /** + * Adds a listener function to the specified event. + * The listener will not be added if it is a duplicate. + * If the listener returns true then it will be removed after it is called. + * If you pass a regular expression as the event name then the listener will be added to all events that match it. + * + * @param {String|RegExp} evt Name of the event to attach the listener to. + * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.addListener = function addListener(evt, listener) { + var listeners = this.getListenersAsObject(evt); + var listenerIsWrapped = typeof listener === 'object'; + var key; + + for (key in listeners) { + if (listeners.hasOwnProperty(key) && indexOfListener(listeners[key], listener) === -1) { + listeners[key].push(listenerIsWrapped ? listener : { + listener: listener, + once: false + }); + } + } + + return this; + }; + + /** + * Alias of addListener + */ + proto.on = alias('addListener'); + + /** + * Semi-alias of addListener. It will add a listener that will be + * automatically removed after it's first execution. + * + * @param {String|RegExp} evt Name of the event to attach the listener to. + * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.addOnceListener = function addOnceListener(evt, listener) { + return this.addListener(evt, { + listener: listener, + once: true + }); + }; + + /** + * Alias of addOnceListener. + */ + proto.once = alias('addOnceListener'); + + /** + * Defines an event name. This is required if you want to use a regex to add a listener to multiple events at once. If you don't do this then how do you expect it to know what event to add to? Should it just add to every possible match for a regex? No. That is scary and bad. + * You need to tell it what event names should be matched by a regex. + * + * @param {String} evt Name of the event to create. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.defineEvent = function defineEvent(evt) { + this.getListeners(evt); + return this; + }; + + /** + * Uses defineEvent to define multiple events. + * + * @param {String[]} evts An array of event names to define. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.defineEvents = function defineEvents(evts) { + for (var i = 0; i < evts.length; i += 1) { + this.defineEvent(evts[i]); + } + return this; + }; + + /** + * Removes a listener function from the specified event. + * When passed a regular expression as the event name, it will remove the listener from all events that match it. + * + * @param {String|RegExp} evt Name of the event to remove the listener from. + * @param {Function} listener Method to remove from the event. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.removeListener = function removeListener(evt, listener) { + var listeners = this.getListenersAsObject(evt); + var index; + var key; + + for (key in listeners) { + if (listeners.hasOwnProperty(key)) { + index = indexOfListener(listeners[key], listener); + + if (index !== -1) { + listeners[key].splice(index, 1); + } + } + } + + return this; + }; + + /** + * Alias of removeListener + */ + proto.off = alias('removeListener'); + + /** + * Adds listeners in bulk using the manipulateListeners method. + * If you pass an object as the second argument you can add to multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. You can also pass it an event name and an array of listeners to be added. + * You can also pass it a regular expression to add the array of listeners to all events that match it. + * Yeah, this function does quite a bit. That's probably a bad thing. + * + * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add to multiple events at once. + * @param {Function[]} [listeners] An optional array of listener functions to add. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.addListeners = function addListeners(evt, listeners) { + // Pass through to manipulateListeners + return this.manipulateListeners(false, evt, listeners); + }; + + /** + * Removes listeners in bulk using the manipulateListeners method. + * If you pass an object as the second argument you can remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. + * You can also pass it an event name and an array of listeners to be removed. + * You can also pass it a regular expression to remove the listeners from all events that match it. + * + * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to remove from multiple events at once. + * @param {Function[]} [listeners] An optional array of listener functions to remove. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.removeListeners = function removeListeners(evt, listeners) { + // Pass through to manipulateListeners + return this.manipulateListeners(true, evt, listeners); + }; + + /** + * Edits listeners in bulk. The addListeners and removeListeners methods both use this to do their job. You should really use those instead, this is a little lower level. + * The first argument will determine if the listeners are removed (true) or added (false). + * If you pass an object as the second argument you can add/remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. + * You can also pass it an event name and an array of listeners to be added/removed. + * You can also pass it a regular expression to manipulate the listeners of all events that match it. + * + * @param {Boolean} remove True if you want to remove listeners, false if you want to add. + * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add/remove from multiple events at once. + * @param {Function[]} [listeners] An optional array of listener functions to add/remove. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.manipulateListeners = function manipulateListeners(remove, evt, listeners) { + var i; + var value; + var single = remove ? this.removeListener : this.addListener; + var multiple = remove ? this.removeListeners : this.addListeners; + + // If evt is an object then pass each of it's properties to this method + if (typeof evt === 'object' && !(evt instanceof RegExp)) { + for (i in evt) { + if (evt.hasOwnProperty(i) && (value = evt[i])) { + // Pass the single listener straight through to the singular method + if (typeof value === 'function') { + single.call(this, i, value); + } + else { + // Otherwise pass back to the multiple function + multiple.call(this, i, value); + } + } + } + } + else { + // So evt must be a string + // And listeners must be an array of listeners + // Loop over it and pass each one to the multiple method + i = listeners.length; + while (i--) { + single.call(this, evt, listeners[i]); + } + } + + return this; + }; + + /** + * Removes all listeners from a specified event. + * If you do not specify an event then all listeners will be removed. + * That means every event will be emptied. + * You can also pass a regex to remove all events that match it. + * + * @param {String|RegExp} [evt] Optional name of the event to remove all listeners for. Will remove from every event if not passed. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.removeEvent = function removeEvent(evt) { + var type = typeof evt; + var events = this._getEvents(); + var key; + + // Remove different things depending on the state of evt + if (type === 'string') { + // Remove all listeners for the specified event + delete events[evt]; + } + else if (type === 'object') { + // Remove all events matching the regex. + for (key in events) { + if (events.hasOwnProperty(key) && evt.test(key)) { + delete events[key]; + } + } + } + else { + // Remove all listeners in all events + delete this._events; + } + + return this; + }; + + /** + * Alias of removeEvent. + * + * Added to mirror the node API. + */ + proto.removeAllListeners = alias('removeEvent'); + + /** + * Emits an event of your choice. + * When emitted, every listener attached to that event will be executed. + * If you pass the optional argument array then those arguments will be passed to every listener upon execution. + * Because it uses `apply`, your array of arguments will be passed as if you wrote them out separately. + * So they will not arrive within the array on the other side, they will be separate. + * You can also pass a regular expression to emit to all events that match it. + * + * @param {String|RegExp} evt Name of the event to emit and execute listeners for. + * @param {Array} [args] Optional array of arguments to be passed to each listener. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.emitEvent = function emitEvent(evt, args) { + var listeners = this.getListenersAsObject(evt); + var listener; + var i; + var key; + var response; + + for (key in listeners) { + if (listeners.hasOwnProperty(key)) { + i = listeners[key].length; + + while (i--) { + // If the listener returns true then it shall be removed from the event + // The function is executed either with a basic call or an apply if there is an args array + listener = listeners[key][i]; + + if (listener.once === true) { + this.removeListener(evt, listener.listener); + } + + response = listener.listener.apply(this, args || []); + + if (response === this._getOnceReturnValue()) { + this.removeListener(evt, listener.listener); + } + } + } + } + + return this; + }; + + /** + * Alias of emitEvent + */ + proto.trigger = alias('emitEvent'); + + /** + * Subtly different from emitEvent in that it will pass its arguments on to the listeners, as opposed to taking a single array of arguments to pass on. + * As with emitEvent, you can pass a regex in place of the event name to emit to all events that match it. + * + * @param {String|RegExp} evt Name of the event to emit and execute listeners for. + * @param {...*} Optional additional arguments to be passed to each listener. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.emit = function emit(evt) { + var args = Array.prototype.slice.call(arguments, 1); + return this.emitEvent(evt, args); + }; + + /** + * Sets the current value to check against when executing listeners. If a + * listeners return value matches the one set here then it will be removed + * after execution. This value defaults to true. + * + * @param {*} value The new value to check for when executing listeners. + * @return {Object} Current instance of EventEmitter for chaining. + */ + proto.setOnceReturnValue = function setOnceReturnValue(value) { + this._onceReturnValue = value; + return this; + }; + + /** + * Fetches the current value to check against when executing listeners. If + * the listeners return value matches this one then it should be removed + * automatically. It will return true by default. + * + * @return {*|Boolean} The current value to check for or the default, true. + * @api private + */ + proto._getOnceReturnValue = function _getOnceReturnValue() { + if (this.hasOwnProperty('_onceReturnValue')) { + return this._onceReturnValue; + } + else { + return true; + } + }; + + /** + * Fetches the events object and creates one if required. + * + * @return {Object} The events storage object. + * @api private + */ + proto._getEvents = function _getEvents() { + return this._events || (this._events = {}); + }; + + /** + * Reverts the global {@link EventEmitter} to its previous value and returns a reference to this version. + * + * @return {Function} Non conflicting EventEmitter class. + */ + EventEmitter.noConflict = function noConflict() { + exports.EventEmitter = originalGlobalValue; + return EventEmitter; + }; + + // Expose the class either via AMD, CommonJS or the global object + if (typeof define === 'function' && define.amd) { + define('eventEmitter/EventEmitter',[],function () { + return EventEmitter; + }); + } + else if (typeof module === 'object' && module.exports){ + module.exports = EventEmitter; + } + else { + this.EventEmitter = EventEmitter; + } +}.call(this)); + +/*! + * eventie v1.0.4 + * event binding helper + * eventie.bind( elem, 'click', myFn ) + * eventie.unbind( elem, 'click', myFn ) + */ + +/*jshint browser: true, undef: true, unused: true */ +/*global define: false */ + +( function( window ) { + + + +var docElem = document.documentElement; + +var bind = function() {}; + +function getIEEvent( obj ) { + var event = window.event; + // add event.target + event.target = event.target || event.srcElement || obj; + return event; +} + +if ( docElem.addEventListener ) { + bind = function( obj, type, fn ) { + obj.addEventListener( type, fn, false ); + }; +} else if ( docElem.attachEvent ) { + bind = function( obj, type, fn ) { + obj[ type + fn ] = fn.handleEvent ? + function() { + var event = getIEEvent( obj ); + fn.handleEvent.call( fn, event ); + } : + function() { + var event = getIEEvent( obj ); + fn.call( obj, event ); + }; + obj.attachEvent( "on" + type, obj[ type + fn ] ); + }; +} + +var unbind = function() {}; + +if ( docElem.removeEventListener ) { + unbind = function( obj, type, fn ) { + obj.removeEventListener( type, fn, false ); + }; +} else if ( docElem.detachEvent ) { + unbind = function( obj, type, fn ) { + obj.detachEvent( "on" + type, obj[ type + fn ] ); + try { + delete obj[ type + fn ]; + } catch ( err ) { + // can't delete window object properties + obj[ type + fn ] = undefined; + } + }; +} + +var eventie = { + bind: bind, + unbind: unbind +}; + +// transport +if ( typeof define === 'function' && define.amd ) { + // AMD + define( 'eventie/eventie',eventie ); +} else { + // browser global + window.eventie = eventie; +} + +})( this ); + +/*! + * imagesLoaded v3.1.8 + * JavaScript is all like "You images are done yet or what?" + * MIT License + */ + +( function( window, factory ) { + // universal module definition + + /*global define: false, module: false, require: false */ + + if ( typeof define === 'function' && define.amd ) { + // AMD + define( [ + 'eventEmitter/EventEmitter', + 'eventie/eventie' + ], function( EventEmitter, eventie ) { + return factory( window, EventEmitter, eventie ); + }); + } else if ( typeof exports === 'object' ) { + // CommonJS + module.exports = factory( + window, + require('wolfy87-eventemitter'), + require('eventie') + ); + } else { + // browser global + window.imagesLoaded = factory( + window, + window.EventEmitter, + window.eventie + ); + } + +})( window, + +// -------------------------- factory -------------------------- // + +function factory( window, EventEmitter, eventie ) { + + + +var $ = window.jQuery; +var console = window.console; +var hasConsole = typeof console !== 'undefined'; + +// -------------------------- helpers -------------------------- // + +// extend objects +function extend( a, b ) { + for ( var prop in b ) { + a[ prop ] = b[ prop ]; + } + return a; +} + +var objToString = Object.prototype.toString; +function isArray( obj ) { + return objToString.call( obj ) === '[object Array]'; +} + +// turn element or nodeList into an array +function makeArray( obj ) { + var ary = []; + if ( isArray( obj ) ) { + // use object if already an array + ary = obj; + } else if ( typeof obj.length === 'number' ) { + // convert nodeList to array + for ( var i=0, len = obj.length; i < len; i++ ) { + ary.push( obj[i] ); + } + } else { + // array of single index + ary.push( obj ); + } + return ary; +} + + // -------------------------- imagesLoaded -------------------------- // + + /** + * @param {Array, Element, NodeList, String} elem + * @param {Object or Function} options - if function, use as callback + * @param {Function} onAlways - callback function + */ + function ImagesLoaded( elem, options, onAlways ) { + // coerce ImagesLoaded() without new, to be new ImagesLoaded() + if ( !( this instanceof ImagesLoaded ) ) { + return new ImagesLoaded( elem, options ); + } + // use elem as selector string + if ( typeof elem === 'string' ) { + elem = document.querySelectorAll( elem ); + } + + this.elements = makeArray( elem ); + this.options = extend( {}, this.options ); + + if ( typeof options === 'function' ) { + onAlways = options; + } else { + extend( this.options, options ); + } + + if ( onAlways ) { + this.on( 'always', onAlways ); + } + + this.getImages(); + + if ( $ ) { + // add jQuery Deferred object + this.jqDeferred = new $.Deferred(); + } + + // HACK check async to allow time to bind listeners + var _this = this; + setTimeout( function() { + _this.check(); + }); + } + + ImagesLoaded.prototype = new EventEmitter(); + + ImagesLoaded.prototype.options = {}; + + ImagesLoaded.prototype.getImages = function() { + this.images = []; + + // filter & find items if we have an item selector + for ( var i=0, len = this.elements.length; i < len; i++ ) { + var elem = this.elements[i]; + // filter siblings + if ( elem.nodeName === 'IMG' ) { + this.addImage( elem ); + } + // find children + // no non-element nodes, #143 + var nodeType = elem.nodeType; + if ( !nodeType || !( nodeType === 1 || nodeType === 9 || nodeType === 11 ) ) { + continue; + } + var childElems = elem.querySelectorAll('img'); + // concat childElems to filterFound array + for ( var j=0, jLen = childElems.length; j < jLen; j++ ) { + var img = childElems[j]; + this.addImage( img ); + } + } + }; + + /** + * @param {Image} img + */ + ImagesLoaded.prototype.addImage = function( img ) { + var loadingImage = new LoadingImage( img ); + this.images.push( loadingImage ); + }; + + ImagesLoaded.prototype.check = function() { + var _this = this; + var checkedCount = 0; + var length = this.images.length; + this.hasAnyBroken = false; + // complete if no images + if ( !length ) { + this.complete(); + return; + } + + function onConfirm( image, message ) { + if ( _this.options.debug && hasConsole ) { + console.log( 'confirm', image, message ); + } + + _this.progress( image ); + checkedCount++; + if ( checkedCount === length ) { + _this.complete(); + } + return true; // bind once + } + + for ( var i=0; i < length; i++ ) { + var loadingImage = this.images[i]; + loadingImage.on( 'confirm', onConfirm ); + loadingImage.check(); + } + }; + + ImagesLoaded.prototype.progress = function( image ) { + this.hasAnyBroken = this.hasAnyBroken || !image.isLoaded; + // HACK - Chrome triggers event before object properties have changed. #83 + var _this = this; + setTimeout( function() { + _this.emit( 'progress', _this, image ); + if ( _this.jqDeferred && _this.jqDeferred.notify ) { + _this.jqDeferred.notify( _this, image ); + } + }); + }; + + ImagesLoaded.prototype.complete = function() { + var eventName = this.hasAnyBroken ? 'fail' : 'done'; + this.isComplete = true; + var _this = this; + // HACK - another setTimeout so that confirm happens after progress + setTimeout( function() { + _this.emit( eventName, _this ); + _this.emit( 'always', _this ); + if ( _this.jqDeferred ) { + var jqMethod = _this.hasAnyBroken ? 'reject' : 'resolve'; + _this.jqDeferred[ jqMethod ]( _this ); + } + }); + }; + + // -------------------------- jquery -------------------------- // + + if ( $ ) { + $.fn.imagesLoaded = function( options, callback ) { + var instance = new ImagesLoaded( this, options, callback ); + return instance.jqDeferred.promise( $(this) ); + }; + } + + + // -------------------------- -------------------------- // + + function LoadingImage( img ) { + this.img = img; + } + + LoadingImage.prototype = new EventEmitter(); + + LoadingImage.prototype.check = function() { + // first check cached any previous images that have same src + var resource = cache[ this.img.src ] || new Resource( this.img.src ); + if ( resource.isConfirmed ) { + this.confirm( resource.isLoaded, 'cached was confirmed' ); + return; + } + + // If complete is true and browser supports natural sizes, + // try to check for image status manually. + if ( this.img.complete && this.img.naturalWidth !== undefined ) { + // report based on naturalWidth + this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' ); + return; + } + + // If none of the checks above matched, simulate loading on detached element. + var _this = this; + resource.on( 'confirm', function( resrc, message ) { + _this.confirm( resrc.isLoaded, message ); + return true; + }); + + resource.check(); + }; + + LoadingImage.prototype.confirm = function( isLoaded, message ) { + this.isLoaded = isLoaded; + this.emit( 'confirm', this, message ); + }; + + // -------------------------- Resource -------------------------- // + + // Resource checks each src, only once + // separate class from LoadingImage to prevent memory leaks. See #115 + + var cache = {}; + + function Resource( src ) { + this.src = src; + // add to cache + cache[ src ] = this; + } + + Resource.prototype = new EventEmitter(); + + Resource.prototype.check = function() { + // only trigger checking once + if ( this.isChecked ) { + return; + } + // simulate loading on detached element + var proxyImage = new Image(); + eventie.bind( proxyImage, 'load', this ); + eventie.bind( proxyImage, 'error', this ); + proxyImage.src = this.src; + // set flag + this.isChecked = true; + }; + + // ----- events ----- // + + // trigger specified handler for event type + Resource.prototype.handleEvent = function( event ) { + var method = 'on' + event.type; + if ( this[ method ] ) { + this[ method ]( event ); + } + }; + + Resource.prototype.onload = function( event ) { + this.confirm( true, 'onload' ); + this.unbindProxyEvents( event ); + }; + + Resource.prototype.onerror = function( event ) { + this.confirm( false, 'onerror' ); + this.unbindProxyEvents( event ); + }; + + // ----- confirm ----- // + + Resource.prototype.confirm = function( isLoaded, message ) { + this.isConfirmed = true; + this.isLoaded = isLoaded; + this.emit( 'confirm', this, message ); + }; + + Resource.prototype.unbindProxyEvents = function( event ) { + eventie.unbind( event.target, 'load', this ); + eventie.unbind( event.target, 'error', this ); + }; + + // ----- ----- // + + return ImagesLoaded; + +}); diff --git a/fedoramagazine-old/js/mediaelement-and-player.min.js b/fedoramagazine-old/js/mediaelement-and-player.min.js new file mode 100644 index 0000000..2ca9be6 --- /dev/null +++ b/fedoramagazine-old/js/mediaelement-and-player.min.js @@ -0,0 +1,174 @@ +/*! +* MediaElement.js +* HTML5