├── CNAME ├── .gitignore ├── img ├── bgimage.png ├── nuklear.png ├── avatar-icon.png ├── screenshot.png └── blog │ └── nkui │ ├── ss1.png │ ├── ss2.png │ ├── ss3.png │ └── ss4.png ├── _posts ├── 2018-02-17-hello-world.md ├── 2018-05-07-memory-management-redesign.md ├── 2018-04-09-nuklear-ui.md └── 2018-05-09-playing-with-nuklear.md ├── _layouts ├── default.html ├── page.html ├── minimal.html ├── base.html └── post.html ├── Gemfile ├── aboutme.md ├── css ├── main-minimal.css ├── pygment_highlights.css ├── normalize.css ├── bootstrap-theme.min.css ├── main.css ├── bootstrap-theme.css └── bootstrap-social.css ├── _includes ├── ext-js.html ├── gtm_body.html ├── ext-css.html ├── footer-minimal.html ├── gtm_head.html ├── google_analytics.html ├── navbarlink.html ├── matomo.html ├── disqus.html ├── footer-scripts.html ├── social-share.html ├── footer.html ├── nav.html ├── header.html └── head.html ├── 404.html ├── Dockerfile ├── feed.xml ├── LICENSE ├── features.md ├── tags.html ├── index.md ├── blog └── index.html ├── _data └── SocialNetworks.yml ├── CHANGELOG.md ├── js └── main.js ├── Gemfile.lock ├── _config.yml └── README.md /CNAME: -------------------------------------------------------------------------------- 1 | aquilaos.com -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | _site/ 2 | -------------------------------------------------------------------------------- /img/bgimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexyoung/aquilaos.com/master/img/bgimage.png -------------------------------------------------------------------------------- /img/nuklear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexyoung/aquilaos.com/master/img/nuklear.png -------------------------------------------------------------------------------- /img/avatar-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexyoung/aquilaos.com/master/img/avatar-icon.png -------------------------------------------------------------------------------- /img/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexyoung/aquilaos.com/master/img/screenshot.png -------------------------------------------------------------------------------- /img/blog/nkui/ss1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexyoung/aquilaos.com/master/img/blog/nkui/ss1.png -------------------------------------------------------------------------------- /img/blog/nkui/ss2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexyoung/aquilaos.com/master/img/blog/nkui/ss2.png -------------------------------------------------------------------------------- /img/blog/nkui/ss3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexyoung/aquilaos.com/master/img/blog/nkui/ss3.png -------------------------------------------------------------------------------- /img/blog/nkui/ss4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexyoung/aquilaos.com/master/img/blog/nkui/ss4.png -------------------------------------------------------------------------------- /_posts/2018-02-17-hello-world.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: First post! 4 | --- 5 | 6 | This is my first post, how exciting! 7 | -------------------------------------------------------------------------------- /_layouts/default.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: base 3 | --- 4 | 5 |
6 | 7 |
8 | {{ content }} 9 |
-------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem "github-pages", '163', group: :jekyll_plugins 4 | 5 | # enable tzinfo-data for local build 6 | # gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw] 7 | gem 'jekyll-paginate' 8 | -------------------------------------------------------------------------------- /aboutme.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: About me 4 | subtitle: Why you'd *NOT* want to go on a date with me 5 | --- 6 | 7 | My name is Mohamed Anwar, I am a Computers & Systems Engineering Student. Also a nerd. 8 | What else do you need? 9 | -------------------------------------------------------------------------------- /css/main-minimal.css: -------------------------------------------------------------------------------- 1 | .main-content { 2 | padding-bottom: 50px; 3 | } 4 | 5 | footer.footer-min { 6 | position: fixed; 7 | bottom: 0; 8 | width: 100%; 9 | padding: 3px; 10 | background-color: #f5f5f5; 11 | border-top: 1px solid #eeeeee; 12 | text-align: center; 13 | } -------------------------------------------------------------------------------- /_includes/ext-js.html: -------------------------------------------------------------------------------- 1 | {% if include.js.sri %} 2 | 3 | {% elsif include.js.href %} 4 | 5 | {% else %} 6 | 7 | {% endif %} 8 | -------------------------------------------------------------------------------- /404.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: 404 - Page not found 4 | permalink: /404.html 5 | --- 6 | 7 |
8 |

Whoops, this page doesn't exist.

9 |

Move along. (404 error)

10 |
11 | 12 | 13 |
14 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM jekyll/jekyll 2 | 3 | WORKDIR /srv/jekyll 4 | COPY Gemfile . 5 | 6 | RUN gem install bundler 7 | RUN bundle install --clean --quiet 8 | 9 | EXPOSE 4000 10 | 11 | CMD [ "/usr/gem/bin/bundle", "exec", "/usr/local/bundle/bin/jekyll", "serve", "--port", "4000", "--host", "0.0.0.0" ] 12 | 13 | STOPSIGNAL 2 14 | -------------------------------------------------------------------------------- /_includes/gtm_body.html: -------------------------------------------------------------------------------- 1 | {% if site.gtm %} 2 | 3 | 5 | 6 | {% endif %} -------------------------------------------------------------------------------- /_includes/ext-css.html: -------------------------------------------------------------------------------- 1 | {% if include.css.sri %} 2 | 3 | {% elsif include.css.href %} 4 | 5 | {% else %} 6 | 7 | {% endif %} -------------------------------------------------------------------------------- /_includes/footer-minimal.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_layouts/page.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: base 3 | --- 4 | 5 | {% include header.html type="page" %} 6 | 7 |
8 |
9 |
10 | {{ content }} 11 | {% if page.comments %} 12 |
13 | {% include disqus.html %} 14 |
15 | {% endif %} 16 |
17 |
18 |
19 | -------------------------------------------------------------------------------- /_includes/gtm_head.html: -------------------------------------------------------------------------------- 1 | {% if site.gtm %} 2 | 3 | 8 | 9 | {% endif %} -------------------------------------------------------------------------------- /_layouts/minimal.html: -------------------------------------------------------------------------------- 1 | --- 2 | common-css: 3 | - "/css/bootstrap.min.css" 4 | - "/css/main-minimal.css" 5 | common-js: 6 | - "/js/jquery-1.11.2.min.js" 7 | - "/js/bootstrap.min.js" 8 | --- 9 | 10 | 11 | 12 | 13 | {% include head.html %} 14 | 15 | 16 | 17 |
18 | {{ content }} 19 |
20 | 21 | {% include footer-minimal.html %} 22 | 23 | {% include footer-scripts.html %} 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /_includes/google_analytics.html: -------------------------------------------------------------------------------- 1 | {% if site.google_analytics %} 2 | 3 | 11 | 12 | {% endif %} -------------------------------------------------------------------------------- /_includes/navbarlink.html: -------------------------------------------------------------------------------- 1 | {% capture before %}{{ include.link[1] | split: "://" | first }}{% endcapture %} 2 | {% capture after %}{{ include.link[1] | split: "://" | last }}{% endcapture %} 3 | {% assign internal = true %} 4 | {% if before != after %} 5 | {% if before == "http" or before == "https" %} 6 | {% assign internal = false %} 7 | {% endif %} 8 | {% endif %} 9 | 10 | {% if internal %} 11 | {% capture linkurl %}{{ site.baseurl }}/{{ include.link[1] }}{% endcapture %} 12 | {% else %} 13 | {% capture linkurl %}{{ include.link[1] }}{% endcapture %} 14 | {% endif %} 15 | 16 | {{ include.link[0] }} 17 | -------------------------------------------------------------------------------- /_includes/matomo.html: -------------------------------------------------------------------------------- 1 | {% if site.matomo %} 2 | 3 | 16 | 17 | {% endif %} 18 | -------------------------------------------------------------------------------- /_layouts/base.html: -------------------------------------------------------------------------------- 1 | --- 2 | common-css: 3 | - "/css/bootstrap.min.css" 4 | - "/css/bootstrap-social.css" 5 | - "/css/main.css" 6 | common-ext-css: 7 | - "//maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css" 8 | common-googlefonts: 9 | - "Lora:400,700,400italic,700italic" 10 | - "Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" 11 | common-js: 12 | - "/js/jquery-1.11.2.min.js" 13 | - "/js/bootstrap.min.js" 14 | - "/js/main.js" 15 | --- 16 | 17 | 18 | 19 | 20 | {% include head.html %} 21 | 22 | 23 | 24 | {% include gtm_body.html %} 25 | 26 | {% include nav.html %} 27 | 28 | {{ content }} 29 | 30 | {% include footer.html %} 31 | 32 | {% include footer-scripts.html %} 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /_includes/disqus.html: -------------------------------------------------------------------------------- 1 | {%- if site.disqus -%} 2 |
3 |
4 | 15 | 16 |
17 | {%- endif -%} 18 | -------------------------------------------------------------------------------- /feed.xml: -------------------------------------------------------------------------------- 1 | --- 2 | layout: null 3 | --- 4 | 5 | 6 | 7 | {{ site.title | xml_escape }} 8 | {{ site.description | xml_escape }} 9 | {{ site.url }} 10 | 11 | {% for post in site.posts limit:20 %} 12 | 13 | {{ post.title | xml_escape }} 14 | 15 | {% if post.subtitle %}{{ post.subtitle | xml_escape }} - {% endif %} 16 | {{ post.content | strip_html | xml_escape | truncatewords: 50 }} 17 | 18 | {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} 19 | {{ site.url }}{{ post.url }} 20 | {{ site.url }}{{ post.url }} 21 | 22 | {% endfor %} 23 | 24 | 25 | -------------------------------------------------------------------------------- /_posts/2018-05-07-memory-management-redesign.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: Memory Management System Redesign 4 | --- 5 | 6 | I won't lie, memory management is _the most_ frustrating thing in OS design for me. It takes the most time and debugging it is nevertheless exhausting. I have, however, redesigned it to be more generic than before and relax much more arch. dependent code. 7 | 8 | ## The New Design 9 | 10 | ### Physical Memory Management 11 | AquilaOS uses zoned buddy memory allocation technique, which is used in Linux and many \*BSDs. Currently we only have two zones `ZONE_DMA` and `ZONE_NORMAL` which have identical functionality to that found in Linux. 12 | 13 | ### Virtual Memory Management 14 | In the new design, the kernel deals with a one level of paging while the archticture handles the intermediate paging levels. Now each process has defined memory mapped regions wich is either lazily loaded from file, lazily allocated or lazily copied on fork. This allows for very efficient memory use (even the stack is allocated on demand). And finally, AquilaOS has no more memory leaks. 15 | -------------------------------------------------------------------------------- /_includes/footer-scripts.html: -------------------------------------------------------------------------------- 1 | {% if layout.common-ext-js %} 2 | {% for js in layout.common-ext-js %} 3 | {% include ext-js.html js=js %} 4 | {% endfor %} 5 | {% endif %} 6 | 7 | {% if page.ext-js %} 8 | {% for js in page.ext-js %} 9 | {% include ext-js.html js=js %} 10 | {% endfor %} 11 | {% endif %} 12 | 13 | {% if page.js %} 14 | {% for js in page.js %} 15 | 16 | {% endfor %} 17 | {% endif %} 18 | 19 | {% if layout.common-js %} 20 | {% for js in layout.common-js %} 21 | 22 | {% if js contains 'jquery' %} 23 | 28 | {% else %} 29 | 30 | {% endif %} 31 | {% endfor %} 32 | {% endif %} 33 | 34 | {% include google_analytics.html %} 35 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Dean Attali 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /features.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: Features 4 | subtitle: You know it rocks already 5 | --- 6 | 7 | AquilaOS is a UNIX-like operating system and many features of typical UNIX systems are included 8 | 9 | ### Kernel 10 | AquilaOS kernel is monolithic 11 | - supports multitasking and multithreading 12 | - sessions, process groups and job control 13 | - virtual filesystem (vfs) 14 | - devices subsystem (kdev) using major/minor numbers 15 | - memory managment subsystem (with COW and allocate on demand) 16 | 17 | #### Supported filesystems 18 | initramfs, tmpfs, devfs, devpts, procfs, ext2 19 | 20 | #### Supported devices 21 | i8042 (PS/2 controller), i8253/i8254 PIT, HPET, i8259 (PIC), fbdev (VESA 3.0), pty, 8250 (UART), PS/2 Keyboard, ATA 22 | 23 | ### System 24 | System consists of aquila specific parts and 3rd part utilities 25 | 26 | #### aqbox 27 | Aquila Box (like busybox) with the following commands 28 | cat, clear, echo, env, login, ls, mkdir, mknod, mount, ps, pwd, sh, stat, uname, unlink 29 | 30 | #### fbterm 31 | Framebuffer based terminal with wallpaper, transparency and Tinyfont support 32 | 33 | #### 3rd party utils. 34 | tcc (Tiny C Compiler), lua, kilo (Text editor), simplex (programming language) 35 | -------------------------------------------------------------------------------- /tags.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: 'Tag Index' 4 | --- 5 | 6 | {%- capture site_tags -%} 7 | {%- for tag in site.tags -%} 8 | {{- tag | first -}}{%- unless forloop.last -%},{%- endunless -%} 9 | {%- endfor -%} 10 | {%- endcapture -%} 11 | {%- assign tags_list = site_tags | split:',' | sort -%} 12 | 13 | {%- for tag in tags_list -%} 14 |  {{- tag -}} ({{site.tags[tag].size}}) 15 | {%- endfor -%} 16 | 17 |
18 | {%- for tag in tags_list -%} 19 |

20 | 21 |  {{- tag -}} ({{site.tags[tag].size}}) 22 |

23 |
24 | {%- for post in site.tags[tag] -%} 25 |
26 | {{- post.title -}} 27 | 30 |
31 | {%- endfor -%} 32 |
33 | {%- endfor -%} 34 |
35 | -------------------------------------------------------------------------------- /index.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: AquilaOS 4 | subtitle: Hobbyist Operating System, just for the heck of it 5 | use-site-title: true 6 | --- 7 | 8 | ### What is it? 9 | AquilaOS is a complete Operating System (kernel + system) that is designed to be POSIX compliant and mostly ISA transparent. 10 | 11 | ### What is cool about it anyway? 12 | - All interfaces implemented so far are POSIX compliant. 13 | - It compiles with -O3. 14 | - Lua 5 is ported to it without changing a single line of code. 15 | - It should be simple for anyone to read and understand the code. 16 | 17 | ### How does it look like? 18 | This is a screenshot of AquilaOS running on qemu with 640x480 resolution. This is `fbterm` (A framebuffer based terminal) running `aqsh` (Aquila Shell - Part of aqbox). 19 | 20 | ![Image of Aquila](/img/screenshot.png) 21 | 22 | ### How to try it? 23 | Simple, just grab a toolchain, build it, patch newlib and ... 24 | 25 | Err... 26 | 27 | Maybe you're more interested in just an iso image? Head to [Github releases](https://github.com/mohamed-anwar/Aquila/releases) and grab the latest release iso image there and run it in Qemu with the following command: 28 | - Ubuntu/Debian 29 | `qemu-system-i386 -enable-kvm -cdrom aquila.iso -m 1G` 30 | - Fedora 31 | `qemu-kvm -cdrom aquila.iso -m 1G` 32 | 33 | If you're a hardcore programmer (and know-what-you-are-doing) though, you may reference [this post on OSDev.org](https://forum.osdev.org/viewtopic.php?f=2&t=32714) and follow the steps. Or wait for a complete step-by-step guide if you don't know what the heck that is. 34 | 35 | ### Is that it? 36 | Yes, that is it, that's all there is, maybe you're intereseted in fancy GUI? specific device driver? support for new filesystem? Feel free to contribute to the repo, or wait until I do it. 37 | -------------------------------------------------------------------------------- /_includes/social-share.html: -------------------------------------------------------------------------------- 1 | 2 | {% assign any-share-links = false %} 3 | {% for links in site.share-links-active %} 4 | {% if links[1] == true %} 5 | {% assign any-share-links = true %} 6 | {% endif %} 7 | {% endfor %} 8 | 9 | {% if any-share-links %} 10 |
11 | Share: 12 | 13 | {% if site.share-links-active.twitter %} 14 | 15 | 17 | 18 | Twitter 19 | 20 | {% endif %} 21 | 22 | {% if site.share-links-active.facebook %} 23 | 24 | 26 | 27 | Facebook 28 | 29 | {% endif %} 30 | 31 | {% if site.share-links-active.google %} 32 | 33 | 35 | 36 | Google+ 37 | 38 | {% endif %} 39 | 40 | {% if site.share-links-active.linkedin %} 41 | 42 | 44 | 45 | LinkedIn 46 | 47 | {% endif %} 48 | 49 |
50 | 51 | {% endif %} 52 | -------------------------------------------------------------------------------- /_includes/footer.html: -------------------------------------------------------------------------------- 1 | 52 | -------------------------------------------------------------------------------- /blog/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: Blog 4 | subtitle: FIXME Updates should go here 5 | use-site-title: true 6 | --- 7 | 8 |
9 | {% for post in paginator.posts %} 10 |
11 | 12 |

{{ post.title }}

13 | 14 | {% if post.subtitle %} 15 |

16 | {{ post.subtitle }} 17 |

18 | {% endif %} 19 |
20 | 21 | 24 | 25 |
26 | {% if post.image %} 27 |
28 | 29 | 30 | 31 |
32 | {% endif %} 33 |
34 | {{ post.excerpt | strip_html | xml_escape | truncatewords: site.excerpt_length }} 35 | {% assign excerpt_word_count = post.excerpt | number_of_words %} 36 | {% if post.content != post.excerpt or excerpt_word_count > site.excerpt_length %} 37 | [Read More] 38 | {% endif %} 39 |
40 |
41 | 42 | {% if post.tags.size > 0 %} 43 |
44 | Tags: 45 | {% if site.link-tags %} 46 | {% for tag in post.tags %} 47 | {{- tag -}} 48 | {% endfor %} 49 | {% else %} 50 | {{ post.tags | join: ", " }} 51 | {% endif %} 52 |
53 | {% endif %} 54 | 55 |
56 | {% endfor %} 57 |
58 | 59 | {% if paginator.total_pages > 1 %} 60 | 72 | {% endif %} 73 | -------------------------------------------------------------------------------- /_includes/nav.html: -------------------------------------------------------------------------------- 1 | 60 | -------------------------------------------------------------------------------- /_data/SocialNetworks.yml: -------------------------------------------------------------------------------- 1 | # You can define your custom social network links here. 2 | # Use the same key you added in _config.yml -> social-network-links. 3 | # In addition to that you need to specify the following properties: 4 | # name: Specify a user-friendly name that will be used as a link title 5 | # baseURL: Define a base URL which will be combined with the value of 6 | # site.social-network-links. 7 | # icon: Specify a valid fontawesome icon class 8 | 9 | facebook: 10 | name: "Facebook" 11 | baseURL: "https://www.facebook.com/" 12 | icon: "fa-facebook" 13 | 14 | github: 15 | name: "GitHub" 16 | baseURL: "https://github.com/" 17 | icon: "fa-github" 18 | 19 | twitter: 20 | name: "Twitter" 21 | baseURL: "https://twitter.com/" 22 | icon: "fa-twitter" 23 | 24 | reddit: 25 | name: "Reddit" 26 | baseURL: "https://reddit.com/u/" 27 | icon: "fa-reddit" 28 | 29 | google-plus: 30 | name: "Google+" 31 | baseURL: "https://plus.google.com/" 32 | icon: "fa-google-plus" 33 | 34 | email: 35 | name: "Email me" 36 | baseURL: "mailto:" 37 | icon: "fa-envelope" 38 | 39 | linkedin: 40 | name: "LinkedIn" 41 | baseURL: "https://linkedin.com/in/" 42 | icon: "fa-linkedin" 43 | 44 | xing: 45 | name: "Xing" 46 | baseURL: "https://www.xing.com/profile/" 47 | icon: "fa-xing" 48 | 49 | stackoverflow: 50 | name: "StackOverflow" 51 | baseURL: "https://stackoverflow.com/users/" 52 | icon: "fa-stack-overflow" 53 | 54 | snapchat: 55 | name: "Snapchat" 56 | baseURL: "https://www.snapchat.com/add/" 57 | icon: "fa-snapchat-ghost" 58 | 59 | instagram: 60 | name: "Instagram" 61 | baseURL: "https://www.instagram.com/" 62 | icon: "fa-instagram" 63 | 64 | youtube: 65 | name: "YouTube" 66 | baseURL: "https://www.youtube.com/" 67 | icon: "fa-youtube" 68 | 69 | spotify: 70 | name: "Spotify" 71 | baseURL: "https://open.spotify.com/user/" 72 | icon: "fa-spotify" 73 | 74 | telephone: 75 | name: "Phone" 76 | baseURL: "tel:" 77 | icon: "fa-phone" 78 | 79 | rss: 80 | name: "RSS" 81 | baseURL: "{{ '/feed.xml' | prepend: site.baseurl }}" 82 | icon: "fa-rss" 83 | 84 | steam: 85 | name: "Steam" 86 | baseURL: "https://steamcommunity.com/id/" 87 | icon: "fa-steam" 88 | 89 | twitch: 90 | name: "Twitch" 91 | baseURL: "https://www.twitch.tv/" 92 | icon: "fa-twitch" 93 | 94 | yelp: 95 | name: "Yelp" 96 | baseURL: "https://{{ site.author.yelp }}.yelp.com" 97 | icon: "fa-yelp" 98 | -------------------------------------------------------------------------------- /_posts/2018-04-09-nuklear-ui.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: Nuklear based GUI 4 | --- 5 | 6 | I have been looking into various options of GUI/Windowing systems to implement in AquilaOS and here is what I found so far 7 | 8 | ### X 9 | While *X* is the defacto when it comes to GUI, it is extremely heavy, mostly optimized for Linux and requires too much dependencies. 10 | 11 | ### Wayland 12 | Wayland is a little promising than *X* due to its lightweight design, however it still makes certain assumptions about the underlying kernel that might not be very easy for everyone to support. 13 | 14 | ### Picogui 15 | That could have been a really promising project, only now it is deprecated and way out-of-sync. 16 | 17 | ### Nuklear 18 | Well, first, Nuklear should have not been on this list, it is not a replacement for X server but it supports a few features that took my interest way too far: 19 | - Extrememly portable, doesn't even depend on libc! 20 | - Entirely written in C with many bindings 21 | - Has a basic windowing system and widgets 22 | - Can be optimized to use HW acceleration for various targets easily 23 | - It's design is simple and straightforward 24 | 25 | All in all, Nuklear is an amazing GUI library, well done Micha Mettke! 26 | 27 | So, one could say that Nuklear is a replacement for GTK/X for example, only Nuklear is not based on a server/client model, all applications are hosted in the same binary and executed as a single program. 28 | 29 | However, that doesn't stop us from trying to make it work as a server/client model, I've started project NuklearUI exactly for that, it should serve as a starting point for OSDevers willing to incorportate a GUI system in their OS with minimum requirements. My first idea is to use POSIX shared-memory for communication due to its simplicity, but we could think of other design patterns (like Nuklear would be fully contained in kernel space). I will try to make that decision on the developer side. 30 | 31 | 32 | Currently, there isn't much, other than some "Hello, Nuklear!" stuff. I just managed to implement a basic PS/2 Keyboard & Mouse drivers and Aquila framebuffer backend, it works as a standalone application and safetly returns to fbterm (and shell). 33 | 34 | Here is a screenshot of a demo of Nuklear running on AquilaOS 35 | ![Image of Nuklear](/img/nuklear.png) 36 | 37 | And a video showing the switch between fbterm and Nuklear 38 | [https://youtu.be/gfuRbHAGhl8](https://youtu.be/gfuRbHAGhl8) 39 | -------------------------------------------------------------------------------- /_includes/header.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {% if page.bigimg or page.title %} 4 | 5 | {% if page.bigimg %} 6 |
19 | {% endif %} 20 | 21 |
22 | {% if page.bigimg %} 23 |
24 |
25 |
26 |
27 |
28 |

{% if page.title %}{{ page.title }}{% else %}
{% endif %}

29 | {% if page.subtitle %} 30 | {% if include.type == "page" %} 31 |
32 | {{ page.subtitle }} 33 | {% else %} 34 |

{{ page.subtitle }}

35 | {% endif %} 36 | {% endif %} 37 | 38 | {% if include.type == "post" %} 39 | 40 | {% endif %} 41 |
42 |
43 |
44 |
45 | 46 |
47 | {% endif %} 48 |
49 |
50 |
51 |
52 |
53 |

{% if page.title %}{{ page.title }}{% else %}
{% endif %}

54 | {% if page.subtitle %} 55 | {% if include.type == "page" %} 56 |
57 | {{ page.subtitle }} 58 | {% else %} 59 |

{{ page.subtitle }}

60 | {% endif %} 61 | {% endif %} 62 | 63 | {% if include.type == "post" %} 64 | 65 | {% endif %} 66 |
67 |
68 |
69 |
70 |
71 |
72 | 73 | 74 | {% else %} 75 |
76 | {% endif %} -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # CHANGELOG 2 | 3 | This file lists all non-trivial changes to Beautiful Jekyll. 4 | 5 | I often make small changes to documentation, to the demo site, or to the general look-and-feel. These changes will not be listed here. Any other minor changes will also not be listed here. 6 | 7 | **2018-01-18** Add clickable tags to each post and a tags index page, works for GitHub sites (#307) (thanks @OCram85) 8 | 9 | **2018-01-14** Redo Dockerfile (#302) (thanks @jennydaman) 10 | 11 | **2018-01-06** More color personalization options (#297 and #299) (thanks @jennydaman) 12 | 13 | **2018-01-05** Abstract the social networks logic (thanks @OCram85) 14 | 15 | **2018-01-03** Avatar image no longer causes a ghost click (thanks @alefi87) 16 | 17 | **2017-10-16** Add GitHub buttons to posts (#265) (thanks @yonicd) 18 | 19 | **2017-09-04** Ability to change colour/image of navbar/footer/body 20 | 21 | **2017-08-17** Add support for notification, error, and warning boxes in markdown (#227) (thanks @OCram85) 22 | 23 | **2017-08-12** Add social buttons for twitch, yelp, and steam (#234) (thanks @TheRealBenForce) 24 | 25 | **2017-03-30** Make the footer contact links friendly for screen readers (thanks @eugenius1) 26 | 27 | **2017-03-30** Started a CHANGELOG file (thanks @eugenius1) 28 | 29 | **2017-01-28** Add Subresource Integrity (SRI) support (#164) (thanks @tony-ho) 30 | 31 | **2017-01-09** Add Google Tag Manager Integration (#157) (thanks @csarigoz) 32 | 33 | **2017-01-06** Add options to configure HTML document title (#154) (thanks @tony-ho) 34 | 35 | **2016-12-25** Allow dynamic images on each blog post (#143) (thanks @bbritten) 36 | 37 | **2016-12-15** Support `title-img` config param to have image in the navbar instead of text 38 | 39 | **2016-12-08** Add support for phone numbers in footer; fix #136 40 | 41 | **2016-12-06** Update gemfile (#134) (thanks @stephentuso) 42 | 43 | **2016-10-09** Add Docker deployment (#114) (thanks @mangar) 44 | 45 | **2016-08-06** Add social share buttons for posts (thanks @rtlee9) 46 | 47 | **2016-07-29** Add CSS styling to code chunks 48 | 49 | **2016-07-27** Add clickable tags that lead to a tag page (doesn't work for GitHub hosted sites) (thanks @epwalsh) 50 | 51 | **2016-07-21** Add support for twitter cards (sharing on Twitter will be better); fixes #70 52 | 53 | **2016-03-18** Support full-width images in page headers; fixes #37 54 | 55 | **2016-03-18** Support menus in navigation bar 56 | 57 | **2016-02-07** Avatar is now conditional (thanks @hristoyankov) 58 | 59 | **2016-02-02** Migrate (forced to...) to jekyll 3 60 | 61 | **2016-01-22** Make sure not to include JQuery twice, fixes #29 62 | 63 | **2015-11-19** Support external links in navigation bar; fixes #3 64 | 65 | ... Many small changes because the site was in its infancy 66 | 67 | **2015-03-12** Beautiful Jekyll version 0.0000001 is released! 68 | -------------------------------------------------------------------------------- /_layouts/post.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: base 3 | --- 4 | 5 | {% include header.html type="post" %} 6 | 7 |
8 |
9 |
10 | 11 | {% if page.gh-repo %} 12 | {% assign gh_split = page.gh-repo | split:'/' %} 13 | {% assign gh_user = gh_split[0] %} 14 | {% assign gh_repo = gh_split[1] %} 15 | 16 |
17 | {% if page.gh-badge.size > 0 %} 18 | {% for badge in page.gh-badge %} 19 | {% case badge %} 20 | {% when 'star'%} 21 | 22 | {% when 'watch'%} 23 | 24 | {% when 'fork'%} 25 | 26 | {% when 'follow'%} 27 | 28 | {% endcase %} 29 | {% endfor %} 30 | {% endif %} 31 |
32 | {% endif %} 33 | 34 |
35 | {{ content }} 36 |
37 | 38 | {% if page.tags.size > 0 %} 39 |
40 | Tags: 41 | {% if site.link-tags %} 42 | {% for tag in page.tags %} 43 | {{- tag -}} 44 | {% endfor %} 45 | {% else %} 46 | {{ page.tags | join: ", " }} 47 | {% endif %} 48 |
49 | {% endif %} 50 | 51 | {% if page.social-share %} 52 | {% include social-share.html %} 53 | {% endif %} 54 | 55 |
    56 | {% if page.previous.url %} 57 | 60 | {% endif %} 61 | {% if page.next.url %} 62 | 65 | {% endif %} 66 |
67 | 68 | {% if page.comments %} 69 |
70 | {% include disqus.html %} 71 |
72 | {% endif %} 73 |
74 |
75 |
76 | -------------------------------------------------------------------------------- /_posts/2018-05-09-playing-with-nuklear.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: Playing with NuklearUI 4 | --- 5 | 6 | About a month ago, I [posted about using Nuklear GUI library in AquilaOS](/2018-04-09-nuklear-ui). We also have a [video of NuklearUI with custom font, images and wallpaper](https://youtu.be/ZnHjvPpFUbs). I have been trying to wrap my head around the code, understanding exactly how Nuklear works and how to convert it to client/server model instead of a single binary hosting all windows. 7 | 8 | I decided that the server would do the compositing and window decorations while each client would be responsible for drawing the window contents (widgets, canvas, etc). From my understanding of Nuklear, it uses a single context structure to do about everything, so in order to seperate window content from compositor, each window would have a seperate context structure and the compositor would have a single context structure. 9 | 10 | ### Mouse & Keyboard in Nuklear 11 | My first problem was how to integrate mouse & keyboard support into NuklearUI _properly_. In the first trials and the video shown above, the application simply reads (blocking I/O) from `/dev/mouse` and translates the packets at each iteration, but since the read was blocking, if the mouse doesn't move (buffer empty) the screen is not redrawn. Later on I decided to use a seperate thread that reads from `/dev/mouse` and fills in an internal ring buffer, then the application would simply scan the ring buffer at each iteration and process input if any is available. I then used the same idea for keyboard, but instead of reading from `/dev/kbd` directly (and go through scancode translation and processing) I decided to simply read from `stdin` which is hooked to a terminal (we go into non-canonical mode and read input) the input is buffered to a ring just as in mouse. All in all, it works and here is an eye candy: 12 | 13 | ![Initial NuklearUI trial](/img/blog/nkui/ss1.png) 14 | 15 | ### Window Compositing 16 | So we need a version of Nuklear that does compositing only. I stripped down Nuklear to the bare minimum required for compositing and window decorations (almost all widgets are removed) and used it to build a simple compositing application. In the application I created a simple window with no content, then I created a seperate Nuklear context and created a window in it that starts at the top left corner of the screen, has no borders or title bar and draws a single widget, a button. The context which has the window contents is then rendered to a back buffer and an `nk_image` is exported. The compositor would then render the `nk_image` inside the empty window created in it (using a custom command buffer command -- it just copies the `nk_image` contents to the window buffer), and here is the result: 17 | 18 | ![First compositor](/img/blog/nkui/ss2.png) 19 | 20 | The first thing you would notice is the two cursors, this is because the contents of the window is an entirely seperate Nuklear context (which has its own cursor), this was easily solved by hiding the cursor. But that is not the major problem, now since we have two different contexts, we must find a way to send input relevant to window contents to the other context. 21 | 22 | ### Compositor Input Handling 23 | This is the part that need most attention to exactly how Nuklear works. Since the compositor keeps track of window position and bounds, we could easily check if mouse is in window region. Also we can check if window is active (by checking if its top-most window, i.e. `window == ctx->end`). We then get the bounds of the contents region (Nuklear people are generous enough to have a function for that) and then calculate the relative mouse offsets inside the window contents region. We then send the input event to the other context and make it redraw to back buffer. 24 | 25 | ![Input passing](/img/blog/nkui/ss3.png) 26 | 27 | And since we also check if window is currently active, the input is only passed if the window actually has focus, so overlaying windows are handleled correctly, as shown. 28 | 29 | ![Overlaying windows](/img/blog/nkui/ss4.png) 30 | 31 | This is all for now, I can say that I _believe_ this may actually work just fine. I still have to figure out many things but so far so good! Stay tuned for upcoming updates. Happy hacking ;) 32 | -------------------------------------------------------------------------------- /css/pygment_highlights.css: -------------------------------------------------------------------------------- 1 | /* .highlight { background: #ffffff; } Dean commented out */ 2 | /* .highlight pre { background-color: #fff; font-size: 16px } */ 3 | .highlight .c { color: #999988; font-style: italic } /* Comment */ 4 | .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ 5 | .highlight .k { font-weight: bold } /* Keyword */ 6 | .highlight .o { font-weight: bold } /* Operator */ 7 | .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */ 8 | .highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */ 9 | .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */ 10 | .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */ 11 | .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ 12 | .highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */ 13 | .highlight .ge { font-style: italic } /* Generic.Emph */ 14 | .highlight .gr { color: #aa0000 } /* Generic.Error */ 15 | .highlight .gh { color: #999999 } /* Generic.Heading */ 16 | .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ 17 | .highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */ 18 | .highlight .go { color: #888888 } /* Generic.Output */ 19 | .highlight .gp { color: #555555 } /* Generic.Prompt */ 20 | .highlight .gs { font-weight: bold } /* Generic.Strong */ 21 | .highlight .gu { color: #aaaaaa } /* Generic.Subheading */ 22 | .highlight .gt { color: #aa0000 } /* Generic.Traceback */ 23 | .highlight .kc { font-weight: bold } /* Keyword.Constant */ 24 | .highlight .kd { font-weight: bold } /* Keyword.Declaration */ 25 | .highlight .kp { font-weight: bold } /* Keyword.Pseudo */ 26 | .highlight .kr { font-weight: bold } /* Keyword.Reserved */ 27 | .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */ 28 | .highlight .m { color: #009999 } /* Literal.Number */ 29 | .highlight .s { color: #d14 } /* Literal.String */ 30 | .highlight .na { color: #008080 } /* Name.Attribute */ 31 | .highlight .nb { color: #0086B3 } /* Name.Builtin */ 32 | .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */ 33 | .highlight .no { color: #008080 } /* Name.Constant */ 34 | .highlight .ni { color: #800080 } /* Name.Entity */ 35 | .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */ 36 | .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */ 37 | .highlight .nn { color: #555555 } /* Name.Namespace */ 38 | .highlight .nt { color: #000080 } /* Name.Tag */ 39 | .highlight .nv { color: #008080 } /* Name.Variable */ 40 | .highlight .ow { font-weight: bold } /* Operator.Word */ 41 | .highlight .w { color: #bbbbbb } /* Text.Whitespace */ 42 | .highlight .mf { color: #009999 } /* Literal.Number.Float */ 43 | .highlight .mh { color: #009999 } /* Literal.Number.Hex */ 44 | .highlight .mi { color: #009999 } /* Literal.Number.Integer */ 45 | .highlight .mo { color: #009999 } /* Literal.Number.Oct */ 46 | .highlight .sb { color: #d14 } /* Literal.String.Backtick */ 47 | .highlight .sc { color: #d14 } /* Literal.String.Char */ 48 | .highlight .sd { color: #d14 } /* Literal.String.Doc */ 49 | .highlight .s2 { color: #d14 } /* Literal.String.Double */ 50 | .highlight .se { color: #d14 } /* Literal.String.Escape */ 51 | .highlight .sh { color: #d14 } /* Literal.String.Heredoc */ 52 | .highlight .si { color: #d14 } /* Literal.String.Interpol */ 53 | .highlight .sx { color: #d14 } /* Literal.String.Other */ 54 | .highlight .sr { color: #009926 } /* Literal.String.Regex */ 55 | .highlight .s1 { color: #d14 } /* Literal.String.Single */ 56 | .highlight .ss { color: #990073 } /* Literal.String.Symbol */ 57 | .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */ 58 | .highlight .vc { color: #008080 } /* Name.Variable.Class */ 59 | .highlight .vg { color: #008080 } /* Name.Variable.Global */ 60 | .highlight .vi { color: #008080 } /* Name.Variable.Instance */ 61 | .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */ 62 | 63 | /* Make line numbers unselectable: excludes line numbers from copy-paste user ops */ 64 | .highlight .lineno {color:rgba(0,0,0,0.3);padding: 0 10px;-webkit-user-select: none;-moz-user-select: none; -o-user-select: none;} 65 | .lineno::-moz-selection {background-color: transparent;} /* Mozilla specific */ 66 | .lineno::selection {background-color: transparent;} /* Other major browsers */ 67 | -------------------------------------------------------------------------------- /_includes/head.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {% if page.use-site-title %}{{ site.title }} {{ site.title-separator }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} 7 | 8 | 9 | 10 | {% if page.subtitle %} 11 | 12 | {% endif %} 13 | 14 | 15 | 16 | {% include gtm_head.html %} 17 | 18 | {% if layout.common-ext-css %} 19 | {% for css in layout.common-ext-css %} 20 | {% include ext-css.html css=css %} 21 | {% endfor %} 22 | {% endif %} 23 | 24 | {% if layout.common-css %} 25 | {% for css in layout.common-css %} 26 | 27 | {% endfor %} 28 | {% endif %} 29 | 30 | {% if layout.common-googlefonts %} 31 | {% for font in layout.common-googlefonts %} 32 | 33 | {% endfor %} 34 | {% endif %} 35 | 36 | {% if page.ext-css %} 37 | {% for css in page.ext-css %} 38 | {% include ext-css.html css=css %} 39 | {% endfor %} 40 | {% endif %} 41 | 42 | {% if page.css %} 43 | {% for css in page.css %} 44 | 45 | {% endfor %} 46 | {% endif %} 47 | 48 | {% if page.googlefonts %} 49 | {% for font in page.googlefonts %} 50 | 51 | {% endfor %} 52 | {% endif %} 53 | 54 | 55 | {% if site.fb_app_id %} 56 | 57 | {% endif %} 58 | 59 | {% if page.meta-title %} 60 | 61 | {% elsif page.title %} 62 | 63 | {% else %} 64 | 65 | {% endif %} 66 | 67 | {% if page.meta-description %} 68 | 69 | {% elsif page.subtitle %} 70 | 71 | {% else %} 72 | 73 | {% endif %} 74 | 75 | 76 | 77 | 78 | {% if page.id %} 79 | 80 | 81 | {% else %} 82 | 83 | 84 | {% endif %} 85 | 86 | {% if page.share-img %} 87 | 88 | {% elsif site.avatar %} 89 | 90 | {% endif %} 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | {% if page.meta-title %} 99 | 100 | {% elsif page.title %} 101 | 102 | {% else %} 103 | 104 | {% endif %} 105 | 106 | {% if page.meta-description %} 107 | 108 | {% elsif page.subtitle %} 109 | 110 | {% else %} 111 | 112 | {% endif %} 113 | 114 | {% if page.share-img %} 115 | 116 | {% elsif site.avatar %} 117 | 118 | {% endif %} 119 | 120 | {% if site.matomo %} 121 | {% include matomo.html %} 122 | {% endif %} 123 | 124 | 125 | -------------------------------------------------------------------------------- /js/main.js: -------------------------------------------------------------------------------- 1 | // Dean Attali / Beautiful Jekyll 2016 2 | 3 | var main = { 4 | 5 | bigImgEl : null, 6 | numImgs : null, 7 | 8 | init : function() { 9 | // Shorten the navbar after scrolling a little bit down 10 | $(window).scroll(function() { 11 | if ($(".navbar").offset().top > 50) { 12 | $(".navbar").addClass("top-nav-short"); 13 | $(".navbar-custom .avatar-container").fadeOut(500); 14 | } else { 15 | $(".navbar").removeClass("top-nav-short"); 16 | $(".navbar-custom .avatar-container").fadeIn(500); 17 | } 18 | }); 19 | 20 | // On mobile, hide the avatar when expanding the navbar menu 21 | $('#main-navbar').on('show.bs.collapse', function () { 22 | $(".navbar").addClass("top-nav-expanded"); 23 | }); 24 | $('#main-navbar').on('hidden.bs.collapse', function () { 25 | $(".navbar").removeClass("top-nav-expanded"); 26 | }); 27 | 28 | // On mobile, when clicking on a multi-level navbar menu, show the child links 29 | $('#main-navbar').on("click", ".navlinks-parent", function(e) { 30 | var target = e.target; 31 | $.each($(".navlinks-parent"), function(key, value) { 32 | if (value == target) { 33 | $(value).parent().toggleClass("show-children"); 34 | } else { 35 | $(value).parent().removeClass("show-children"); 36 | } 37 | }); 38 | }); 39 | 40 | // Ensure nested navbar menus are not longer than the menu header 41 | var menus = $(".navlinks-container"); 42 | if (menus.length > 0) { 43 | var navbar = $("#main-navbar ul"); 44 | var fakeMenuHtml = ""; 45 | navbar.append(fakeMenuHtml); 46 | var fakeMenu = $(".fake-menu"); 47 | 48 | $.each(menus, function(i) { 49 | var parent = $(menus[i]).find(".navlinks-parent"); 50 | var children = $(menus[i]).find(".navlinks-children a"); 51 | var words = []; 52 | $.each(children, function(idx, el) { words = words.concat($(el).text().trim().split(/\s+/)); }); 53 | var maxwidth = 0; 54 | $.each(words, function(id, word) { 55 | fakeMenu.html("" + word + ""); 56 | var width = fakeMenu.width(); 57 | if (width > maxwidth) { 58 | maxwidth = width; 59 | } 60 | }); 61 | $(menus[i]).css('min-width', maxwidth + 'px') 62 | }); 63 | 64 | fakeMenu.remove(); 65 | } 66 | 67 | // show the big header image 68 | main.initImgs(); 69 | }, 70 | 71 | initImgs : function() { 72 | // If the page was large images to randomly select from, choose an image 73 | if ($("#header-big-imgs").length > 0) { 74 | main.bigImgEl = $("#header-big-imgs"); 75 | main.numImgs = main.bigImgEl.attr("data-num-img"); 76 | 77 | // 2fc73a3a967e97599c9763d05e564189 78 | // set an initial image 79 | var imgInfo = main.getImgInfo(); 80 | var src = imgInfo.src; 81 | var desc = imgInfo.desc; 82 | main.setImg(src, desc); 83 | 84 | // For better UX, prefetch the next image so that it will already be loaded when we want to show it 85 | var getNextImg = function() { 86 | var imgInfo = main.getImgInfo(); 87 | var src = imgInfo.src; 88 | var desc = imgInfo.desc; 89 | 90 | var prefetchImg = new Image(); 91 | prefetchImg.src = src; 92 | // if I want to do something once the image is ready: `prefetchImg.onload = function(){}` 93 | 94 | setTimeout(function(){ 95 | var img = $("
").addClass("big-img-transition").css("background-image", 'url(' + src + ')'); 96 | $(".intro-header.big-img").prepend(img); 97 | setTimeout(function(){ img.css("opacity", "1"); }, 50); 98 | 99 | // after the animation of fading in the new image is done, prefetch the next one 100 | //img.one("transitioned webkitTransitionEnd oTransitionEnd MSTransitionEnd", function(){ 101 | setTimeout(function() { 102 | main.setImg(src, desc); 103 | img.remove(); 104 | getNextImg(); 105 | }, 1000); 106 | //}); 107 | }, 6000); 108 | }; 109 | 110 | // If there are multiple images, cycle through them 111 | if (main.numImgs > 1) { 112 | getNextImg(); 113 | } 114 | } 115 | }, 116 | 117 | getImgInfo : function() { 118 | var randNum = Math.floor((Math.random() * main.numImgs) + 1); 119 | var src = main.bigImgEl.attr("data-img-src-" + randNum); 120 | var desc = main.bigImgEl.attr("data-img-desc-" + randNum); 121 | 122 | return { 123 | src : src, 124 | desc : desc 125 | } 126 | }, 127 | 128 | setImg : function(src, desc) { 129 | $(".intro-header.big-img").css("background-image", 'url(' + src + ')'); 130 | if (typeof desc !== typeof undefined && desc !== false) { 131 | $(".img-desc").text(desc).show(); 132 | } else { 133 | $(".img-desc").hide(); 134 | } 135 | } 136 | }; 137 | 138 | // 2fc73a3a967e97599c9763d05e564189 139 | 140 | document.addEventListener('DOMContentLoaded', main.init); 141 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | activesupport (4.2.9) 5 | i18n (~> 0.7) 6 | minitest (~> 5.1) 7 | thread_safe (~> 0.3, >= 0.3.4) 8 | tzinfo (~> 1.1) 9 | addressable (2.5.2) 10 | public_suffix (>= 2.0.2, < 4.0) 11 | coffee-script (2.4.1) 12 | coffee-script-source 13 | execjs 14 | coffee-script-source (1.11.1) 15 | colorator (1.1.0) 16 | concurrent-ruby (1.0.5) 17 | ethon (0.11.0) 18 | ffi (>= 1.3.0) 19 | execjs (2.7.0) 20 | faraday (0.13.1) 21 | multipart-post (>= 1.2, < 3) 22 | ffi (1.9.18) 23 | forwardable-extended (2.6.0) 24 | gemoji (3.0.0) 25 | github-pages (163) 26 | activesupport (= 4.2.9) 27 | github-pages-health-check (= 1.3.5) 28 | jekyll (= 3.5.2) 29 | jekyll-avatar (= 0.5.0) 30 | jekyll-coffeescript (= 1.0.2) 31 | jekyll-default-layout (= 0.1.4) 32 | jekyll-feed (= 0.9.2) 33 | jekyll-gist (= 1.4.1) 34 | jekyll-github-metadata (= 2.9.3) 35 | jekyll-mentions (= 1.2.0) 36 | jekyll-optional-front-matter (= 0.2.0) 37 | jekyll-paginate (= 1.1.0) 38 | jekyll-readme-index (= 0.1.0) 39 | jekyll-redirect-from (= 0.12.1) 40 | jekyll-relative-links (= 0.5.0) 41 | jekyll-sass-converter (= 1.5.0) 42 | jekyll-seo-tag (= 2.3.0) 43 | jekyll-sitemap (= 1.1.1) 44 | jekyll-swiss (= 0.4.0) 45 | jekyll-theme-architect (= 0.1.0) 46 | jekyll-theme-cayman (= 0.1.0) 47 | jekyll-theme-dinky (= 0.1.0) 48 | jekyll-theme-hacker (= 0.1.0) 49 | jekyll-theme-leap-day (= 0.1.0) 50 | jekyll-theme-merlot (= 0.1.0) 51 | jekyll-theme-midnight (= 0.1.0) 52 | jekyll-theme-minimal (= 0.1.0) 53 | jekyll-theme-modernist (= 0.1.0) 54 | jekyll-theme-primer (= 0.5.2) 55 | jekyll-theme-slate (= 0.1.0) 56 | jekyll-theme-tactile (= 0.1.0) 57 | jekyll-theme-time-machine (= 0.1.0) 58 | jekyll-titles-from-headings (= 0.4.0) 59 | jemoji (= 0.8.1) 60 | kramdown (= 1.13.2) 61 | liquid (= 4.0.0) 62 | listen (= 3.0.6) 63 | mercenary (~> 0.3) 64 | minima (= 2.1.1) 65 | rouge (= 1.11.1) 66 | terminal-table (~> 1.4) 67 | github-pages-health-check (1.3.5) 68 | addressable (~> 2.3) 69 | net-dns (~> 0.8) 70 | octokit (~> 4.0) 71 | public_suffix (~> 2.0) 72 | typhoeus (~> 0.7) 73 | html-pipeline (2.7.1) 74 | activesupport (>= 2) 75 | nokogiri (>= 1.4) 76 | i18n (0.9.5) 77 | concurrent-ruby (~> 1.0) 78 | jekyll (3.5.2) 79 | addressable (~> 2.4) 80 | colorator (~> 1.0) 81 | jekyll-sass-converter (~> 1.0) 82 | jekyll-watch (~> 1.1) 83 | kramdown (~> 1.3) 84 | liquid (~> 4.0) 85 | mercenary (~> 0.3.3) 86 | pathutil (~> 0.9) 87 | rouge (~> 1.7) 88 | safe_yaml (~> 1.0) 89 | jekyll-avatar (0.5.0) 90 | jekyll (~> 3.0) 91 | jekyll-coffeescript (1.0.2) 92 | coffee-script (~> 2.2) 93 | coffee-script-source (~> 1.11.1) 94 | jekyll-default-layout (0.1.4) 95 | jekyll (~> 3.0) 96 | jekyll-feed (0.9.2) 97 | jekyll (~> 3.3) 98 | jekyll-gist (1.4.1) 99 | octokit (~> 4.2) 100 | jekyll-github-metadata (2.9.3) 101 | jekyll (~> 3.1) 102 | octokit (~> 4.0, != 4.4.0) 103 | jekyll-mentions (1.2.0) 104 | activesupport (~> 4.0) 105 | html-pipeline (~> 2.3) 106 | jekyll (~> 3.0) 107 | jekyll-optional-front-matter (0.2.0) 108 | jekyll (~> 3.0) 109 | jekyll-paginate (1.1.0) 110 | jekyll-readme-index (0.1.0) 111 | jekyll (~> 3.0) 112 | jekyll-redirect-from (0.12.1) 113 | jekyll (~> 3.3) 114 | jekyll-relative-links (0.5.0) 115 | jekyll (~> 3.3) 116 | jekyll-sass-converter (1.5.0) 117 | sass (~> 3.4) 118 | jekyll-seo-tag (2.3.0) 119 | jekyll (~> 3.3) 120 | jekyll-sitemap (1.1.1) 121 | jekyll (~> 3.3) 122 | jekyll-swiss (0.4.0) 123 | jekyll-theme-architect (0.1.0) 124 | jekyll (~> 3.5) 125 | jekyll-seo-tag (~> 2.0) 126 | jekyll-theme-cayman (0.1.0) 127 | jekyll (~> 3.5) 128 | jekyll-seo-tag (~> 2.0) 129 | jekyll-theme-dinky (0.1.0) 130 | jekyll (~> 3.5) 131 | jekyll-seo-tag (~> 2.0) 132 | jekyll-theme-hacker (0.1.0) 133 | jekyll (~> 3.5) 134 | jekyll-seo-tag (~> 2.0) 135 | jekyll-theme-leap-day (0.1.0) 136 | jekyll (~> 3.5) 137 | jekyll-seo-tag (~> 2.0) 138 | jekyll-theme-merlot (0.1.0) 139 | jekyll (~> 3.5) 140 | jekyll-seo-tag (~> 2.0) 141 | jekyll-theme-midnight (0.1.0) 142 | jekyll (~> 3.5) 143 | jekyll-seo-tag (~> 2.0) 144 | jekyll-theme-minimal (0.1.0) 145 | jekyll (~> 3.5) 146 | jekyll-seo-tag (~> 2.0) 147 | jekyll-theme-modernist (0.1.0) 148 | jekyll (~> 3.5) 149 | jekyll-seo-tag (~> 2.0) 150 | jekyll-theme-primer (0.5.2) 151 | jekyll (~> 3.5) 152 | jekyll-github-metadata (~> 2.9) 153 | jekyll-seo-tag (~> 2.2) 154 | jekyll-theme-slate (0.1.0) 155 | jekyll (~> 3.5) 156 | jekyll-seo-tag (~> 2.0) 157 | jekyll-theme-tactile (0.1.0) 158 | jekyll (~> 3.5) 159 | jekyll-seo-tag (~> 2.0) 160 | jekyll-theme-time-machine (0.1.0) 161 | jekyll (~> 3.5) 162 | jekyll-seo-tag (~> 2.0) 163 | jekyll-titles-from-headings (0.4.0) 164 | jekyll (~> 3.3) 165 | jekyll-watch (1.5.1) 166 | listen (~> 3.0) 167 | jemoji (0.8.1) 168 | activesupport (~> 4.0, >= 4.2.9) 169 | gemoji (~> 3.0) 170 | html-pipeline (~> 2.2) 171 | jekyll (>= 3.0) 172 | kramdown (1.13.2) 173 | liquid (4.0.0) 174 | listen (3.0.6) 175 | rb-fsevent (>= 0.9.3) 176 | rb-inotify (>= 0.9.7) 177 | mercenary (0.3.6) 178 | mini_portile2 (2.3.0) 179 | minima (2.1.1) 180 | jekyll (~> 3.3) 181 | minitest (5.11.1) 182 | multipart-post (2.0.0) 183 | net-dns (0.8.0) 184 | nokogiri (1.8.1) 185 | mini_portile2 (~> 2.3.0) 186 | octokit (4.8.0) 187 | sawyer (~> 0.8.0, >= 0.5.3) 188 | pathutil (0.16.1) 189 | forwardable-extended (~> 2.6) 190 | public_suffix (2.0.5) 191 | rb-fsevent (0.10.2) 192 | rb-inotify (0.9.10) 193 | ffi (>= 0.5.0, < 2) 194 | rouge (1.11.1) 195 | safe_yaml (1.0.4) 196 | sass (3.5.5) 197 | sass-listen (~> 4.0.0) 198 | sass-listen (4.0.0) 199 | rb-fsevent (~> 0.9, >= 0.9.4) 200 | rb-inotify (~> 0.9, >= 0.9.7) 201 | sawyer (0.8.1) 202 | addressable (>= 2.3.5, < 2.6) 203 | faraday (~> 0.8, < 1.0) 204 | terminal-table (1.8.0) 205 | unicode-display_width (~> 1.1, >= 1.1.1) 206 | thread_safe (0.3.6) 207 | typhoeus (0.8.0) 208 | ethon (>= 0.8.0) 209 | tzinfo (1.2.4) 210 | thread_safe (~> 0.1) 211 | unicode-display_width (1.3.0) 212 | 213 | PLATFORMS 214 | ruby 215 | 216 | DEPENDENCIES 217 | github-pages (= 163) 218 | jekyll-paginate 219 | 220 | BUNDLED WITH 221 | 1.16.1 222 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | # --- General options --- # 2 | 3 | # url is the full website URL 4 | # baseurl is the website's URL without the hostname 5 | 6 | # If you are building a simple GitHub user page (http://username.github.io) then use these settings: 7 | url: "http://aquilaos.com" 8 | baseurl: "/" 9 | 10 | # If you are building a GitHub project page then use these settings: 11 | #url: "http://username.github.io/projectname" 12 | #baseurl: "/projectname" 13 | 14 | # Of course don't forget to change the username and projectname to YOUR username and project 15 | 16 | # Name of website 17 | title: AquilaOS 18 | 19 | # Short description of your site 20 | description: POSIX compliant Operating System 21 | 22 | # --- Navigation bar options --- # 23 | 24 | # List of links in the navigation bar 25 | navbar-links: 26 | Home: "" 27 | Features: "features" 28 | About Me: "aboutme" 29 | Blog: "blog/" 30 | Github: "https://github.com/mohamed-anwar/Aquila" 31 | 32 | # Image to show in the navigation bar - image must be a square (width = height) 33 | # Remove this parameter if you don't want an image in the navbar 34 | avatar: "/img/avatar-icon.png" 35 | 36 | # If you want to have an image logo in the top-left corner instead of the title text, 37 | # then specify the following parameter 38 | #title-img: "/img/aquilaos.png" 39 | 40 | # --- Background colour/image options --- # 41 | 42 | # Personalize the colors in your website. Colour values can be any valid CSS colour 43 | 44 | navbar-col: "#F5F5F5" 45 | navbar-text-col: "#404040" 46 | navbar-children-col: "#F5F5F5" 47 | page-col: "#FFFFFF" 48 | link-col: "#008AFF" 49 | hover-col: "#0085A1" 50 | footer-col: "#F5F5F5" 51 | footer-text-col: "#777777" 52 | footer-link-col: "#404040" 53 | 54 | # Alternatively, the navbar, footer, and page background can be set to use background images 55 | # instead of colour 56 | 57 | # navbar-img: "/img/bgimage.png" 58 | # footer-img: "/img/bgimage.png" 59 | # page-img: "/img/bgimage.png" 60 | 61 | # --- Footer options --- # 62 | 63 | # Change all these values or delete the ones you don't want. 64 | # Important: you must keep the "name" parameter, everything else you can remove 65 | author: 66 | name: Mohamed Anwar 67 | 68 | # Select your active Social Network Links. 69 | # Uncomment the links you want to show in the footer and add your information to each link. 70 | # You can reorder the items to define the link order. 71 | # If you want to add a new link that isn't here, you'll need to also edit the file _data/SocialNetworks.yml 72 | social-network-links: 73 | rss: true 74 | email: "manwar@ieee.org" 75 | facebook: manwarsleem 76 | github: mohamed-anwar 77 | twitter: manwar_hamza 78 | # reddit: yourname 79 | # google-plus: +DeanAttali 80 | # linkedin: daattali 81 | # xing: yourname 82 | # stackoverflow: "3943160/daattali" 83 | # snapchat: deanat78 84 | # instagram: deanat78 85 | # youtube: user/deanat78 86 | # spotify: yourname 87 | # telephone: +14159998888 88 | # steam: deanat78 89 | # twitch: yourname 90 | # yelp: yourname 91 | 92 | # Select which share links to show in posts 93 | share-links-active: 94 | twitter: true 95 | facebook: true 96 | google: false 97 | linkedin: true 98 | 99 | # How to display the link to the website in the footer 100 | # Remove this if you don't want a link in the footer 101 | # url-pretty: "MyWebsite.com" # eg. "deanattali.com/beautiful-jekyll" 102 | 103 | # --- Web Statistics Section --- # 104 | 105 | # Fill in your Google Analytics ID to track your website using GA 106 | google_analytics: "UA-118755772-1" 107 | 108 | # Google Tag Manager ID 109 | #gtm: "" 110 | 111 | # Matomo (aka Piwik) Web statistics 112 | # Uncomment the following section to enable Matomo. The opt-out parameter controls 113 | # whether or not you want to allow users to opt out of tracking. 114 | 115 | #matomo: 116 | # site_id: "9" 117 | # uri: "demo.wiki.pro" 118 | # opt-out: true 119 | 120 | # --- Misc --- # 121 | # Fill in your Disqus shortname (NOT the userid) if you want to support Disqus comments 122 | #disqus: "" 123 | 124 | # Facebook App ID 125 | # fb_app_id: "" 126 | 127 | # Excerpt Word Length 128 | # Truncates the excerpt to the specified number of words on the index page 129 | excerpt_length: 50 130 | 131 | # Character used to separate site title and description in HTML document title 132 | # and RSS feed title 133 | title-separator: "-" 134 | 135 | # --- Don't need to touch anything below here (but you can if you want) --- # 136 | 137 | # Output options (more information on Jekyll's site) 138 | timezone: "America/Vancouver" 139 | markdown: kramdown 140 | highlighter: rouge 141 | permalink: /:year-:month-:day-:title/ 142 | paginate: 5 143 | paginate_path: "/blog/page:num/" 144 | 145 | kramdown: 146 | input: GFM 147 | 148 | # Default YAML values (more information on Jekyll's site) 149 | defaults: 150 | - 151 | scope: 152 | path: "" 153 | type: "posts" 154 | values: 155 | layout: "post" 156 | comments: true # add comments to all blog posts 157 | social-share: true # add social media sharing buttons to all blog posts 158 | - 159 | scope: 160 | path: "" # all files 161 | values: 162 | layout: "page" 163 | show-avatar: true 164 | 165 | # Use tags index page and make tags on each post clickable 166 | link-tags: true 167 | 168 | # Exclude these files from production site 169 | exclude: 170 | - CHANGELOG.md 171 | - CNAME 172 | - Dockerfile 173 | - Gemfile 174 | - Gemfile.lock 175 | - LICENSE 176 | - README.md 177 | - Vagrantfile 178 | 179 | # prose.io config 180 | prose: 181 | rooturl: '_posts' 182 | media: 'img' 183 | ignore: 184 | - 404.html 185 | - LICENSE 186 | - feed.xml 187 | - _config.yml 188 | - /_layouts 189 | - /_includes 190 | - /css 191 | - /img 192 | - /js 193 | metadata: 194 | _posts: 195 | - name: "layout" 196 | field: 197 | element: "hidden" 198 | value: "post" 199 | - name: "title" 200 | field: 201 | element: "text" 202 | label: "Post title" 203 | placeholder: "Title" 204 | alterable: true 205 | - name: "subtitle" 206 | field: 207 | element: "textarea" 208 | label: "Subtitle" 209 | placeholder: "A description of your post." 210 | alterable: true 211 | - name: "date" 212 | field: 213 | element: "text" 214 | label: "Date" 215 | help: "Enter date of post." 216 | placeholder: "yyyy-mm-dd" 217 | alterable: true 218 | - name: "image" 219 | field: 220 | element: "text" 221 | label: "Image" 222 | help: "Add a thumbnail image to your post." 223 | placeholder: "Thumbnail" 224 | alterable: true 225 | - name: "published" 226 | field: 227 | element: "checkbox" 228 | label: "Publish" 229 | help: "Check to publish post, uncheck to hide." 230 | 231 | plugins: 232 | - jekyll-paginate 233 | 234 | # Beautiful Jekyll / Dean Attali 235 | # 2fc73a3a967e97599c9763d05e564189 236 | -------------------------------------------------------------------------------- /css/normalize.css: -------------------------------------------------------------------------------- 1 | /*! normalize.css v3.0.2 | MIT License | git.io/normalize */ 2 | 3 | /** 4 | * 1. Set default font family to sans-serif. 5 | * 2. Prevent iOS text size adjust after orientation change, without disabling 6 | * user zoom. 7 | */ 8 | 9 | html { 10 | font-family: sans-serif; /* 1 */ 11 | -ms-text-size-adjust: 100%; /* 2 */ 12 | -webkit-text-size-adjust: 100%; /* 2 */ 13 | } 14 | 15 | /** 16 | * Remove default margin. 17 | */ 18 | 19 | body { 20 | margin: 0; 21 | } 22 | 23 | /* HTML5 display definitions 24 | ========================================================================== */ 25 | 26 | /** 27 | * Correct `block` display not defined for any HTML5 element in IE 8/9. 28 | * Correct `block` display not defined for `details` or `summary` in IE 10/11 29 | * and Firefox. 30 | * Correct `block` display not defined for `main` in IE 11. 31 | */ 32 | 33 | article, 34 | aside, 35 | details, 36 | figcaption, 37 | figure, 38 | footer, 39 | header, 40 | hgroup, 41 | main, 42 | menu, 43 | nav, 44 | section, 45 | summary { 46 | display: block; 47 | } 48 | 49 | /** 50 | * 1. Correct `inline-block` display not defined in IE 8/9. 51 | * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. 52 | */ 53 | 54 | audio, 55 | canvas, 56 | progress, 57 | video { 58 | display: inline-block; /* 1 */ 59 | vertical-align: baseline; /* 2 */ 60 | } 61 | 62 | /** 63 | * Prevent modern browsers from displaying `audio` without controls. 64 | * Remove excess height in iOS 5 devices. 65 | */ 66 | 67 | audio:not([controls]) { 68 | display: none; 69 | height: 0; 70 | } 71 | 72 | /** 73 | * Address `[hidden]` styling not present in IE 8/9/10. 74 | * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. 75 | */ 76 | 77 | [hidden], 78 | template { 79 | display: none; 80 | } 81 | 82 | /* Links 83 | ========================================================================== */ 84 | 85 | /** 86 | * Remove the gray background color from active links in IE 10. 87 | */ 88 | 89 | a { 90 | background-color: transparent; 91 | } 92 | 93 | /** 94 | * Improve readability when focused and also mouse hovered in all browsers. 95 | */ 96 | 97 | a:active, 98 | a:hover { 99 | outline: 0; 100 | } 101 | 102 | /* Text-level semantics 103 | ========================================================================== */ 104 | 105 | /** 106 | * Address styling not present in IE 8/9/10/11, Safari, and Chrome. 107 | */ 108 | 109 | abbr[title] { 110 | border-bottom: 1px dotted; 111 | } 112 | 113 | /** 114 | * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. 115 | */ 116 | 117 | b, 118 | strong { 119 | font-weight: bold; 120 | } 121 | 122 | /** 123 | * Address styling not present in Safari and Chrome. 124 | */ 125 | 126 | dfn { 127 | font-style: italic; 128 | } 129 | 130 | /** 131 | * Address variable `h1` font-size and margin within `section` and `article` 132 | * contexts in Firefox 4+, Safari, and Chrome. 133 | */ 134 | 135 | h1 { 136 | font-size: 2em; 137 | margin: 0.67em 0; 138 | } 139 | 140 | /** 141 | * Address styling not present in IE 8/9. 142 | */ 143 | 144 | mark { 145 | background: #ff0; 146 | color: #000; 147 | } 148 | 149 | /** 150 | * Address inconsistent and variable font size in all browsers. 151 | */ 152 | 153 | small { 154 | font-size: 80%; 155 | } 156 | 157 | /** 158 | * Prevent `sub` and `sup` affecting `line-height` in all browsers. 159 | */ 160 | 161 | sub, 162 | sup { 163 | font-size: 75%; 164 | line-height: 0; 165 | position: relative; 166 | vertical-align: baseline; 167 | } 168 | 169 | sup { 170 | top: -0.5em; 171 | } 172 | 173 | sub { 174 | bottom: -0.25em; 175 | } 176 | 177 | /* Embedded content 178 | ========================================================================== */ 179 | 180 | /** 181 | * Remove border when inside `a` element in IE 8/9/10. 182 | */ 183 | 184 | img { 185 | border: 0; 186 | } 187 | 188 | /** 189 | * Correct overflow not hidden in IE 9/10/11. 190 | */ 191 | 192 | svg:not(:root) { 193 | overflow: hidden; 194 | } 195 | 196 | /* Grouping content 197 | ========================================================================== */ 198 | 199 | /** 200 | * Address margin not present in IE 8/9 and Safari. 201 | */ 202 | 203 | figure { 204 | margin: 1em 40px; 205 | } 206 | 207 | /** 208 | * Address differences between Firefox and other browsers. 209 | */ 210 | 211 | hr { 212 | -moz-box-sizing: content-box; 213 | box-sizing: content-box; 214 | height: 0; 215 | } 216 | 217 | /** 218 | * Contain overflow in all browsers. 219 | */ 220 | 221 | pre { 222 | overflow: auto; 223 | } 224 | 225 | /** 226 | * Address odd `em`-unit font size rendering in all browsers. 227 | */ 228 | 229 | code, 230 | kbd, 231 | pre, 232 | samp { 233 | font-family: monospace, monospace; 234 | font-size: 1em; 235 | } 236 | 237 | /* Forms 238 | ========================================================================== */ 239 | 240 | /** 241 | * Known limitation: by default, Chrome and Safari on OS X allow very limited 242 | * styling of `select`, unless a `border` property is set. 243 | */ 244 | 245 | /** 246 | * 1. Correct color not being inherited. 247 | * Known issue: affects color of disabled elements. 248 | * 2. Correct font properties not being inherited. 249 | * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. 250 | */ 251 | 252 | button, 253 | input, 254 | optgroup, 255 | select, 256 | textarea { 257 | color: inherit; /* 1 */ 258 | font: inherit; /* 2 */ 259 | margin: 0; /* 3 */ 260 | } 261 | 262 | /** 263 | * Address `overflow` set to `hidden` in IE 8/9/10/11. 264 | */ 265 | 266 | button { 267 | overflow: visible; 268 | } 269 | 270 | /** 271 | * Address inconsistent `text-transform` inheritance for `button` and `select`. 272 | * All other form control elements do not inherit `text-transform` values. 273 | * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. 274 | * Correct `select` style inheritance in Firefox. 275 | */ 276 | 277 | button, 278 | select { 279 | text-transform: none; 280 | } 281 | 282 | /** 283 | * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` 284 | * and `video` controls. 285 | * 2. Correct inability to style clickable `input` types in iOS. 286 | * 3. Improve usability and consistency of cursor style between image-type 287 | * `input` and others. 288 | */ 289 | 290 | button, 291 | html input[type="button"], /* 1 */ 292 | input[type="reset"], 293 | input[type="submit"] { 294 | -webkit-appearance: button; /* 2 */ 295 | cursor: pointer; /* 3 */ 296 | } 297 | 298 | /** 299 | * Re-set default cursor for disabled elements. 300 | */ 301 | 302 | button[disabled], 303 | html input[disabled] { 304 | cursor: default; 305 | } 306 | 307 | /** 308 | * Remove inner padding and border in Firefox 4+. 309 | */ 310 | 311 | button::-moz-focus-inner, 312 | input::-moz-focus-inner { 313 | border: 0; 314 | padding: 0; 315 | } 316 | 317 | /** 318 | * Address Firefox 4+ setting `line-height` on `input` using `!important` in 319 | * the UA stylesheet. 320 | */ 321 | 322 | input { 323 | line-height: normal; 324 | } 325 | 326 | /** 327 | * It's recommended that you don't attempt to style these elements. 328 | * Firefox's implementation doesn't respect box-sizing, padding, or width. 329 | * 330 | * 1. Address box sizing set to `content-box` in IE 8/9/10. 331 | * 2. Remove excess padding in IE 8/9/10. 332 | */ 333 | 334 | input[type="checkbox"], 335 | input[type="radio"] { 336 | box-sizing: border-box; /* 1 */ 337 | padding: 0; /* 2 */ 338 | } 339 | 340 | /** 341 | * Fix the cursor style for Chrome's increment/decrement buttons. For certain 342 | * `font-size` values of the `input`, it causes the cursor style of the 343 | * decrement button to change from `default` to `text`. 344 | */ 345 | 346 | input[type="number"]::-webkit-inner-spin-button, 347 | input[type="number"]::-webkit-outer-spin-button { 348 | height: auto; 349 | } 350 | 351 | /** 352 | * 1. Address `appearance` set to `searchfield` in Safari and Chrome. 353 | * 2. Address `box-sizing` set to `border-box` in Safari and Chrome 354 | * (include `-moz` to future-proof). 355 | */ 356 | 357 | input[type="search"] { 358 | -webkit-appearance: textfield; /* 1 */ 359 | -moz-box-sizing: content-box; 360 | -webkit-box-sizing: content-box; /* 2 */ 361 | box-sizing: content-box; 362 | } 363 | 364 | /** 365 | * Remove inner padding and search cancel button in Safari and Chrome on OS X. 366 | * Safari (but not Chrome) clips the cancel button when the search input has 367 | * padding (and `textfield` appearance). 368 | */ 369 | 370 | input[type="search"]::-webkit-search-cancel-button, 371 | input[type="search"]::-webkit-search-decoration { 372 | -webkit-appearance: none; 373 | } 374 | 375 | /** 376 | * Define consistent border, margin, and padding. 377 | */ 378 | 379 | fieldset { 380 | border: 1px solid #c0c0c0; 381 | margin: 0 2px; 382 | padding: 0.35em 0.625em 0.75em; 383 | } 384 | 385 | /** 386 | * 1. Correct `color` not being inherited in IE 8/9/10/11. 387 | * 2. Remove padding so people aren't caught out if they zero out fieldsets. 388 | */ 389 | 390 | legend { 391 | border: 0; /* 1 */ 392 | padding: 0; /* 2 */ 393 | } 394 | 395 | /** 396 | * Remove default vertical scrollbar in IE 8/9/10/11. 397 | */ 398 | 399 | textarea { 400 | overflow: auto; 401 | } 402 | 403 | /** 404 | * Don't inherit the `font-weight` (applied by a rule above). 405 | * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. 406 | */ 407 | 408 | optgroup { 409 | font-weight: bold; 410 | } 411 | 412 | /* Tables 413 | ========================================================================== */ 414 | 415 | /** 416 | * Remove most spacing between table cells. 417 | */ 418 | 419 | table { 420 | border-collapse: collapse; 421 | border-spacing: 0; 422 | } 423 | 424 | td, 425 | th { 426 | padding: 0; 427 | } -------------------------------------------------------------------------------- /css/bootstrap-theme.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.2 (http://getbootstrap.com) 3 | * Copyright 2011-2015 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-danger .badge,.btn-default .badge,.btn-info .badge,.btn-primary .badge,.btn-success .badge,.btn-warning .badge{text-shadow:none}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default.disabled,.btn-default:disabled,.btn-default[disabled]{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-o-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));background-image:linear-gradient(to bottom,#337ab7 0,#265a88 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#245580}.btn-primary:focus,.btn-primary:hover{background-color:#265a88;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#265a88;border-color:#245580}.btn-primary.disabled,.btn-primary:disabled,.btn-primary[disabled]{background-color:#265a88;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success.disabled,.btn-success:disabled,.btn-success[disabled]{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info.disabled,.btn-info:disabled,.btn-info[disabled]{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:focus,.btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.btn-warning.active,.btn-warning:active{background-color:#eb9316;border-color:#e38d13}.btn-warning.disabled,.btn-warning:disabled,.btn-warning[disabled]{background-color:#eb9316;background-image:none}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:focus,.btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.btn-danger.active,.btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.btn-danger.disabled,.btn-danger:disabled,.btn-danger[disabled]{background-color:#c12e2a;background-image:none}.img-thumbnail,.thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{background-color:#2e6da4;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f8f8f8));background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-o-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));background-image:linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-o-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#222));background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-o-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#080808),to(#0f0f0f));background-image:linear-gradient(to bottom,#080808 0,#0f0f0f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}@media (max-width:767px){.navbar .navbar-nav .open .dropdown-menu>.active>a,.navbar .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#c8e5bc));background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);background-repeat:repeat-x;border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#b9def0));background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);background-repeat:repeat-x;border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#f8efc0));background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);background-repeat:repeat-x;border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-o-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#e7c3c3));background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);background-repeat:repeat-x;border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#f5f5f5));background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x}.progress-bar{background-image:-webkit-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-o-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#286090));background-image:linear-gradient(to bottom,#337ab7 0,#286090 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);background-repeat:repeat-x}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#449d44));background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);background-repeat:repeat-x}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#31b0d5));background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);background-repeat:repeat-x}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#ec971f));background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);background-repeat:repeat-x}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c9302c));background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);background-repeat:repeat-x}.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{text-shadow:0 -1px 0 #286090;background-image:-webkit-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2b669a));background-image:linear-gradient(to bottom,#337ab7 0,#2b669a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);background-repeat:repeat-x;border-color:#2b669a}.list-group-item.active .badge,.list-group-item.active:focus .badge,.list-group-item.active:hover .badge{text-shadow:none}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#d0e9c6));background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);background-repeat:repeat-x}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#c4e3f3));background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);background-repeat:repeat-x}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-o-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#ebcccc));background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);background-repeat:repeat-x}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#e8e8e8),to(#f5f5f5));background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x;border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)} -------------------------------------------------------------------------------- /css/main.css: -------------------------------------------------------------------------------- 1 | --- 2 | layout: null 3 | --- 4 | 5 | @import url("pygment_highlights.css"); 6 | 7 | /* --- General --- */ 8 | 9 | body { 10 | font-family: 'Lora', 'Times New Roman', serif; 11 | font-size: 18px; 12 | color: #404040; 13 | position: relative; 14 | background-color: {{ site.page-col }}; 15 | {% if site.page-img %} 16 | background-image: url({{ site.page-img }}); 17 | background-attachment: fixed; 18 | {% endif %} 19 | } 20 | p { 21 | line-height: 1.5; 22 | margin: 30px 0; 23 | } 24 | h1,h2,h3,h4,h5,h6 { 25 | font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; 26 | font-weight: 800; 27 | } 28 | a { 29 | color: {{ site.link-col }}; 30 | } 31 | a:hover, 32 | a:focus { 33 | color: {{ site.hover-col }}; 34 | } 35 | blockquote { 36 | color: #808080; 37 | font-style: italic; 38 | } 39 | blockquote p:first-child { 40 | margin-top: 0; 41 | } 42 | hr.small { 43 | max-width: 100px; 44 | margin: 15px auto; 45 | border-width: 4px; 46 | border-color: inherit; 47 | border-radius: 3px; 48 | } 49 | 50 | .main-content { 51 | padding-top: 80px; 52 | } 53 | @media only screen and (min-width: 768px) { 54 | .main-content { 55 | padding-top: 130px; 56 | } 57 | } 58 | 59 | .main-explain-area { 60 | font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; 61 | padding: 15px inherit; 62 | } 63 | 64 | .hideme { 65 | display: none; 66 | } 67 | 68 | ::-moz-selection { 69 | color: white; 70 | text-shadow: none; 71 | background-color: {{ site.hover-col }}; 72 | } 73 | ::selection { 74 | color: white; 75 | text-shadow: none; 76 | background-color: {{ site.hover-col }}; 77 | } 78 | img::selection { 79 | color: white; 80 | background: transparent; 81 | } 82 | img::-moz-selection { 83 | color: white; 84 | background: transparent; 85 | } 86 | 87 | img { 88 | max-width: 100%; 89 | } 90 | 91 | .disqus-comments { 92 | margin-top: 30px; 93 | } 94 | 95 | @media only screen and (min-width: 768px) { 96 | .disqus-comments { 97 | margin-top: 40px; 98 | } 99 | } 100 | 101 | .linked-section { 102 | padding-top: 60px; 103 | margin-top: -25px; 104 | } 105 | 106 | /* --- Navbar --- */ 107 | 108 | .navbar-custom { 109 | background-color: {{ site.navbar-col }}; 110 | border-bottom: 1px solid #EAEAEA; 111 | font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; 112 | {% if site.navbar-img %} 113 | background-image: url({{ site.navbar-img }}); 114 | background-attachment: fixed; 115 | {% endif %} 116 | } 117 | 118 | .navbar-custom .nav li a { 119 | text-transform: uppercase; 120 | font-size: 12px; 121 | letter-spacing: 1px; 122 | } 123 | 124 | .navbar-custom .navbar-brand, 125 | .navbar-custom .nav li a { 126 | font-weight: 800; 127 | color: {{ site.navbar-text-col }}; 128 | } 129 | 130 | .navbar-custom .navbar-brand:hover, 131 | .navbar-custom .navbar-brand:focus , 132 | .navbar-custom .nav li a:hover, 133 | .navbar-custom .nav li a:focus { 134 | color: {{ site.hover-col }}; 135 | } 136 | 137 | .navbar-custom .navbar-brand-logo { 138 | padding-top: 0; 139 | -webkit-transition: padding .5s ease-in-out; 140 | -moz-transition: padding .5s ease-in-out; 141 | transition: padding .5s ease-in-out; 142 | } 143 | .navbar-custom .navbar-brand-logo img { 144 | height: 50px; 145 | -webkit-transition: height .5s ease-in-out; 146 | -moz-transition: height .5s ease-in-out; 147 | transition: height .5s ease-in-out; 148 | } 149 | .navbar-custom.top-nav-short .navbar-brand-logo { 150 | padding-top: 5px; 151 | } 152 | .navbar-custom.top-nav-short .navbar-brand-logo img { 153 | height: 40px; 154 | } 155 | 156 | @media only screen and (min-width: 768px) { 157 | .navbar-custom { 158 | padding: 20px 0; 159 | -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out; 160 | -moz-transition: background .5s ease-in-out,padding .5s ease-in-out; 161 | transition: background .5s ease-in-out,padding .5s ease-in-out; 162 | } 163 | 164 | .navbar-custom.top-nav-short { 165 | padding: 0; 166 | } 167 | } 168 | 169 | .navbar-custom .avatar-container { 170 | position: absolute; 171 | left: 50%; 172 | width: 50px; 173 | margin-top: -25px; 174 | } 175 | .navbar-custom .avatar-container .avatar-img-border { 176 | width: 100%; 177 | border-radius: 50%; 178 | margin-left: -50%; 179 | display: inline-block; 180 | box-shadow: 0 0 8px rgba(0, 0, 0, .8); 181 | -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .8); 182 | -moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8); 183 | } 184 | .navbar-custom .avatar-container .avatar-img { 185 | width: 100%; 186 | border-radius: 50%; 187 | display: block; 188 | } 189 | 190 | .navbar-custom.top-nav-expanded .avatar-container { 191 | display: none; 192 | } 193 | 194 | @media only screen and (min-width: 768px) { 195 | .navbar-custom .avatar-container { 196 | width: 100px; 197 | margin-top: -50px; 198 | } 199 | 200 | .navbar-custom .avatar-container .avatar-img-border { 201 | width: 100%; 202 | box-shadow: 1px 1px 2px rgba(0, 0, 0, .8); 203 | -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8); 204 | -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8); 205 | } 206 | 207 | .navbar-custom .avatar-container .avatar-img { 208 | width: 100%; 209 | } 210 | } 211 | 212 | /* Multi-level navigation links */ 213 | .navbar-custom .nav .navlinks-container { 214 | position: relative; 215 | } 216 | .navbar-custom .nav .navlinks-parent:after { 217 | content: " \25BC"; 218 | } 219 | .navbar-custom .nav .navlinks-children { 220 | width: 100%; 221 | display: none; 222 | word-break: break-word; 223 | } 224 | .navbar-custom .nav .navlinks-container .navlinks-children a { 225 | display: block; 226 | padding: 10px; 227 | padding-left: 30px; 228 | background-color: {{ site.navbar-children-col }}; 229 | text-decoration: none !important; 230 | border-width: 0 1px 1px 1px; 231 | font-weight: normal; 232 | } 233 | @media only screen and (max-width: 767px) { 234 | .navbar-custom .nav .navlinks-container.show-children { 235 | background: rgba(0, 0, 0, 0.2); 236 | } 237 | .navbar-custom .nav .navlinks-container.show-children .navlinks-children { 238 | display: block; 239 | } 240 | } 241 | @media only screen and (min-width: 768px) { 242 | .navbar-custom .nav .navlinks-container { 243 | text-align: center; 244 | } 245 | .navbar-custom .nav .navlinks-container:hover { 246 | background: rgba(0, 0, 0, 0.1); 247 | } 248 | .navbar-custom .nav .navlinks-container:hover .navlinks-children { 249 | display: block; 250 | } 251 | .navbar-custom .nav .navlinks-children { 252 | position: absolute; 253 | } 254 | .navbar-custom .nav .navlinks-container .navlinks-children a { 255 | padding-left: 10px; 256 | border: 1px solid #eaeaea; 257 | border-width: 0 1px 1px; 258 | } 259 | } 260 | 261 | /* --- Footer --- */ 262 | 263 | footer { 264 | padding: 30px 0; 265 | border-top: 1px #EAEAEA solid; 266 | margin-top: 50px; 267 | font-size: 14px; 268 | background-color: {{ site.footer-col }}; 269 | {% if site.footer-img %} 270 | background-image: url({{ site.footer-img }}); 271 | background-attachment: fixed; 272 | {% endif %} 273 | } 274 | 275 | footer p.text-muted { 276 | color: {{ site.footer-text-col }}; 277 | } 278 | 279 | footer a { 280 | color: {{site.footer-link-col}}; 281 | } 282 | 283 | footer .list-inline { 284 | margin: 0; 285 | padding: 0; 286 | } 287 | footer .copyright { 288 | font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; 289 | text-align: center; 290 | margin-bottom: 0; 291 | } 292 | footer .theme-by { 293 | text-align: center; 294 | margin: 10px 0 0; 295 | } 296 | 297 | @media only screen and (min-width: 768px) { 298 | footer { 299 | padding: 50px 0; 300 | } 301 | footer .footer-links { 302 | font-size: 18px; 303 | } 304 | footer .copyright { 305 | font-size: 16px; 306 | } 307 | } 308 | 309 | /* --- Post preview --- */ 310 | 311 | .post-preview { 312 | padding: 20px 0; 313 | border-bottom: 1px solid #eee; 314 | } 315 | 316 | @media only screen and (min-width: 768px) { 317 | .post-preview { 318 | padding: 35px 0; 319 | } 320 | } 321 | 322 | .post-preview:last-child { 323 | border-bottom: 0; 324 | } 325 | 326 | .post-preview a { 327 | text-decoration: none; 328 | color: #404040; 329 | } 330 | 331 | .post-preview a:focus, 332 | .post-preview a:hover { 333 | text-decoration: none; 334 | color: {{ site.hover-col }}; 335 | } 336 | 337 | .post-preview .post-title { 338 | font-size: 30px; 339 | margin-top: 0; 340 | } 341 | .post-preview .post-subtitle { 342 | margin: 0; 343 | font-weight: 300; 344 | margin-bottom: 10px; 345 | } 346 | .post-preview .post-meta, 347 | .post-heading .post-meta { 348 | color: #808080; 349 | font-size: 18px; 350 | font-style: italic; 351 | margin: 0 0 10px; 352 | } 353 | .post-preview .post-entry { 354 | font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; 355 | } 356 | .post-entry-container { 357 | display: inline-block; 358 | width: 100%; 359 | } 360 | .post-entry { 361 | width: 100%; 362 | } 363 | .post-image { 364 | float: right; 365 | height: 192px; 366 | width: 192px; 367 | margin-top: -35px; 368 | filter: grayscale(90%); 369 | } 370 | .post-image:hover { 371 | filter: grayscale(0%); 372 | } 373 | .post-image img { 374 | border-radius: 100px; 375 | height: 192px; 376 | width: 192px; 377 | } 378 | .post-preview .post-read-more { 379 | font-weight: 800; 380 | } 381 | 382 | @media only screen and (min-width: 768px) { 383 | .post-preview .post-title { 384 | font-size: 36px; 385 | } 386 | } 387 | 388 | /* --- Tags --- */ 389 | 390 | .blog-tags { 391 | font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; 392 | color: #999; 393 | font-size: 15px; 394 | margin-bottom: 30px; 395 | } 396 | 397 | .blog-tags a { 398 | color: {{ site.link-col }}; 399 | text-decoration: none; 400 | padding: 0px 5px; 401 | } 402 | 403 | .blog-tags a:hover { 404 | border-radius: 2px; 405 | color: {{ site.hover-col }}; 406 | background-color: #EEE; 407 | } 408 | 409 | .post-preview .blog-tags { 410 | margin-top: 5px; 411 | margin-bottom: 0; 412 | } 413 | 414 | @media only screen and (min-width: 768px) { 415 | .post-preview .blog-tags { 416 | margin-top: 10px; 417 | } 418 | } 419 | 420 | @media only screen and (max-width: 500px) { 421 | .post-image, .post-image img { 422 | height: 100px; 423 | width: 100px; 424 | } 425 | 426 | .post-image { 427 | width: 100%; 428 | text-align: center; 429 | margin-top: 0; 430 | float: left; 431 | } 432 | } 433 | /* --- Post and page headers --- */ 434 | 435 | .intro-header { 436 | margin: 80px 0 20px; 437 | position: relative; 438 | } 439 | .intro-header.big-img { 440 | background: no-repeat center center; 441 | -webkit-background-size: cover; 442 | -moz-background-size: cover; 443 | background-size: cover; 444 | -o-background-size: cover; 445 | margin-top: 51px; /* The small navbar is 50px tall + 1px border */ 446 | margin-bottom: 35px; 447 | } 448 | .intro-header.big-img .big-img-transition { 449 | position: absolute; 450 | width: 100%; 451 | height: 100%; 452 | opacity: 0; 453 | background: no-repeat center center; 454 | -webkit-background-size: cover; 455 | -moz-background-size: cover; 456 | background-size: cover; 457 | -o-background-size: cover; 458 | -webkit-transition: opacity 1s linear; 459 | -moz-transition: opacity 1s linear; 460 | transition: opacity 1s linear; 461 | } 462 | .intro-header .page-heading { 463 | text-align: center; 464 | } 465 | .intro-header.big-img .page-heading, 466 | .intro-header.big-img .post-heading { 467 | padding: 100px 0; 468 | color: #FFF; 469 | text-shadow: 1px 1px 3px #000; 470 | } 471 | .intro-header .page-heading h1 { 472 | margin-top: 0; 473 | font-size: 50px; 474 | } 475 | .intro-header .post-heading h1 { 476 | margin-top: 0; 477 | font-size: 35px; 478 | } 479 | .intro-header .page-heading .page-subheading, 480 | .intro-header .post-heading .post-subheading { 481 | font-size: 27px; 482 | line-height: 1.1; 483 | display: block; 484 | font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; 485 | font-weight: 300; 486 | margin: 10px 0 0; 487 | } 488 | .intro-header .post-heading .post-subheading { 489 | margin-bottom: 20px; 490 | } 491 | .intro-header.big-img .page-heading .page-subheading, 492 | .intro-header.big-img .post-heading .post-subheading { 493 | font-weight: 400; 494 | } 495 | .intro-header.big-img .page-heading hr { 496 | box-shadow: 1px 1px 3px #000; 497 | -webkit-box-shadow: 1px 1px 3px #000; 498 | -moz-box-shadow: 1px 1px 3px #000; 499 | } 500 | .intro-header.big-img .post-heading .post-meta { 501 | color: #EEE; 502 | } 503 | .intro-header.big-img .img-desc { 504 | background: rgba(30, 30, 30, 0.6); 505 | position: absolute; 506 | padding: 5px 10px; 507 | font-size: 11px; 508 | color: #EEE; 509 | font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; 510 | right: 0; 511 | bottom: 0; 512 | display: none; 513 | } 514 | @media only screen and (min-width: 768px) { 515 | .intro-header { 516 | margin-top: 130px; 517 | } 518 | .intro-header.big-img { 519 | margin-top: 91px; /* Full navbar is small navbar + 20px padding on each side when expanded */ 520 | } 521 | .intro-header.big-img .page-heading, 522 | .intro-header.big-img .post-heading { 523 | padding: 150px 0; 524 | } 525 | .intro-header .page-heading h1 { 526 | font-size: 80px; 527 | } 528 | .intro-header .post-heading h1 { 529 | font-size: 50px; 530 | } 531 | .intro-header.big-img .img-desc { 532 | font-size: 14px; 533 | } 534 | } 535 | 536 | .header-section.has-img .no-img { 537 | margin-top: 0; 538 | background-color: #FCFCFC; 539 | margin: 0 0 40px; 540 | padding: 20px 0; 541 | box-shadow: 0 0 5px #AAA; 542 | } 543 | /* Many phones are 320 or 360px, so make sure images are a proper aspect ratio in those cases */ 544 | .header-section.has-img .intro-header.no-img { 545 | display: none; 546 | } 547 | @media only screen and (max-width: 365px) { 548 | .header-section.has-img .intro-header.no-img { 549 | display: block; 550 | } 551 | .intro-header.big-img { 552 | width: 100%; 553 | height: 220px; 554 | } 555 | .intro-header.big-img .page-heading, 556 | .intro-header.big-img .post-heading { 557 | display: none; 558 | } 559 | .header-section.has-img .big-img { 560 | margin-bottom: 0; 561 | } 562 | } 563 | @media only screen and (max-width: 325px) { 564 | .intro-header.big-img { 565 | height: 200px; 566 | } 567 | } 568 | 569 | .caption { 570 | text-align: center; 571 | font-size: 14px; 572 | padding: 10px; 573 | font-style: italic; 574 | margin: 0; 575 | display: block; 576 | border-bottom-right-radius: 5px; 577 | border-bottom-left-radius: 5px; 578 | } 579 | 580 | #header-gh-btns { 581 | margin-bottom: 15px; 582 | } 583 | @media only screen and (max-width: 500px) { 584 | #header-gh-btns > iframe { 585 | display: block; 586 | margin-bottom: 5px; 587 | } 588 | } 589 | 590 | /* --- Pager --- */ 591 | 592 | .pager li a { 593 | font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; 594 | text-transform: uppercase; 595 | font-size: 14px; 596 | font-weight: 800; 597 | letter-spacing: 1px; 598 | padding: 10px 5px; 599 | background-color: #FFF; 600 | border-radius: 0; 601 | color: #404040; 602 | } 603 | @media only screen and (min-width: 768px) { 604 | .pager li a { 605 | padding: 15px 25px; 606 | } 607 | } 608 | .pager li a:hover, 609 | .pager li a:focus { 610 | color: #FFF; 611 | border: 1px solid {{ site.hover-col }}; 612 | background-color: {{ site.hover-col }}; 613 | } 614 | 615 | .pager { 616 | margin: 10px 0 0; 617 | } 618 | 619 | .pager.blog-pager { 620 | margin-top: 0; 621 | } 622 | 623 | @media only screen and (min-width: 768px) { 624 | .pager.blog-pager { 625 | margin-top: 10px; 626 | } 627 | } 628 | 629 | /* --- Tables --- */ 630 | 631 | table { 632 | padding: 0; 633 | } 634 | table tr { 635 | border-top: 1px solid #cccccc; 636 | background-color: #ffffff; 637 | margin: 0; 638 | padding: 0; 639 | } 640 | table tr:nth-child(2n) { 641 | background-color: #f8f8f8; 642 | } 643 | table tr th { 644 | font-weight: bold; 645 | border: 1px solid #cccccc; 646 | text-align: left; 647 | margin: 0; 648 | padding: 6px 13px; 649 | } 650 | table tr td { 651 | border: 1px solid #cccccc; 652 | text-align: left; 653 | margin: 0; 654 | padding: 6px 13px; 655 | } 656 | table tr th :first-child, 657 | table tr td :first-child { 658 | margin-top: 0; 659 | } 660 | table tr th :last-child, 661 | table tr td :last-child { 662 | margin-bottom: 0; 663 | } 664 | 665 | /* --- Code blocks --- */ 666 | 667 | pre { 668 | font-size: 16px; 669 | line-height: 1.5em; 670 | } 671 | pre code { 672 | white-space: pre; 673 | } 674 | pre.highlight, .highlight > pre, td.code pre { 675 | background-color: #FAFAFA; 676 | background-image: linear-gradient(#F9F9F9 50%, #FDFDFD 50%); 677 | background-repeat: repeat; 678 | background-size: 3em 3em; 679 | background-position: 0px 10px; 680 | border-left: 7px solid #444; 681 | } 682 | code table, code table td, code table th, code table tbody, code table tr, 683 | td.gutter pre { 684 | padding: 0; 685 | border: none; 686 | background-color: #fff; 687 | } 688 | .highlight > pre { 689 | padding: 0; 690 | } 691 | td.code pre { 692 | border-width: 0 0 0 2px; 693 | border-style: solid; 694 | border-color: #444; 695 | border-radius: 0; 696 | } 697 | td.gutter { 698 | padding-top: 3px; 699 | } 700 | 701 | /* --- Social media sharing section --- */ 702 | 703 | #social-share-section { 704 | margin-bottom: 30px; 705 | } 706 | 707 | /* --- Notification boxes --- */ 708 | .box-note, .box-warning, .box-error { 709 | padding: 15px 15px 15px 10px; 710 | margin: 20px 20px 20px 5px; 711 | border: 1px solid #eee; 712 | border-left-width: 5px; 713 | border-radius: 5px 3px 3px 5px; 714 | } 715 | 716 | .box-note { 717 | background-color: #eee; 718 | border-left-color: #2980b9; 719 | } 720 | 721 | .box-warning { 722 | background-color: #fdf5d4; 723 | border-left-color: #f1c40f; 724 | } 725 | 726 | .box-error { 727 | background-color: #f4dddb; 728 | border-left-color: #c0392b; 729 | } 730 | 731 | /* Fix table border github gist snippets */ 732 | 733 | .gist, .gist-file table tr { 734 | border: unset; 735 | } 736 | 737 | .gist, .gist-file table tr td { 738 | border: unset; 739 | } 740 | 741 | /* Fix .navbar-toggle */ 742 | 743 | .navbar-default button.navbar-toggle:focus, 744 | .navbar-default button.navbar-toggle:hover { 745 | background-color: initial; 746 | } 747 | 748 | .navbar-default button.navbar-toggle[aria-expanded="true"] { 749 | background-color: rgba(0, 0, 0, 0.2); 750 | } 751 | 752 | /* Tags page */ 753 | 754 | .tag-btn { 755 | margin: 5px; 756 | } 757 | 758 | #full-tags-list { 759 | font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; 760 | } 761 | 762 | #full-tags-list .tag-entry { 763 | margin: 0 0 15px 25px; 764 | } 765 | 766 | #full-tags-list .tag-entry a { 767 | font-size: 20px; 768 | } 769 | 770 | #full-tags-list .tag-entry .entry-date { 771 | color: #808080; 772 | font-style: italic; 773 | font-size: 16px; 774 | } 775 | -------------------------------------------------------------------------------- /css/bootstrap-theme.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.3.2 (http://getbootstrap.com) 3 | * Copyright 2011-2015 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | 7 | .btn-default, 8 | .btn-primary, 9 | .btn-success, 10 | .btn-info, 11 | .btn-warning, 12 | .btn-danger { 13 | text-shadow: 0 -1px 0 rgba(0, 0, 0, .2); 14 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); 15 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); 16 | } 17 | .btn-default:active, 18 | .btn-primary:active, 19 | .btn-success:active, 20 | .btn-info:active, 21 | .btn-warning:active, 22 | .btn-danger:active, 23 | .btn-default.active, 24 | .btn-primary.active, 25 | .btn-success.active, 26 | .btn-info.active, 27 | .btn-warning.active, 28 | .btn-danger.active { 29 | -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); 30 | box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); 31 | } 32 | .btn-default .badge, 33 | .btn-primary .badge, 34 | .btn-success .badge, 35 | .btn-info .badge, 36 | .btn-warning .badge, 37 | .btn-danger .badge { 38 | text-shadow: none; 39 | } 40 | .btn:active, 41 | .btn.active { 42 | background-image: none; 43 | } 44 | .btn-default { 45 | text-shadow: 0 1px 0 #fff; 46 | background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%); 47 | background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%); 48 | background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0)); 49 | background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%); 50 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0); 51 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 52 | background-repeat: repeat-x; 53 | border-color: #dbdbdb; 54 | border-color: #ccc; 55 | } 56 | .btn-default:hover, 57 | .btn-default:focus { 58 | background-color: #e0e0e0; 59 | background-position: 0 -15px; 60 | } 61 | .btn-default:active, 62 | .btn-default.active { 63 | background-color: #e0e0e0; 64 | border-color: #dbdbdb; 65 | } 66 | .btn-default.disabled, 67 | .btn-default:disabled, 68 | .btn-default[disabled] { 69 | background-color: #e0e0e0; 70 | background-image: none; 71 | } 72 | .btn-primary { 73 | background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%); 74 | background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%); 75 | background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88)); 76 | background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%); 77 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0); 78 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 79 | background-repeat: repeat-x; 80 | border-color: #245580; 81 | } 82 | .btn-primary:hover, 83 | .btn-primary:focus { 84 | background-color: #265a88; 85 | background-position: 0 -15px; 86 | } 87 | .btn-primary:active, 88 | .btn-primary.active { 89 | background-color: #265a88; 90 | border-color: #245580; 91 | } 92 | .btn-primary.disabled, 93 | .btn-primary:disabled, 94 | .btn-primary[disabled] { 95 | background-color: #265a88; 96 | background-image: none; 97 | } 98 | .btn-success { 99 | background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%); 100 | background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%); 101 | background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641)); 102 | background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%); 103 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0); 104 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 105 | background-repeat: repeat-x; 106 | border-color: #3e8f3e; 107 | } 108 | .btn-success:hover, 109 | .btn-success:focus { 110 | background-color: #419641; 111 | background-position: 0 -15px; 112 | } 113 | .btn-success:active, 114 | .btn-success.active { 115 | background-color: #419641; 116 | border-color: #3e8f3e; 117 | } 118 | .btn-success.disabled, 119 | .btn-success:disabled, 120 | .btn-success[disabled] { 121 | background-color: #419641; 122 | background-image: none; 123 | } 124 | .btn-info { 125 | background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%); 126 | background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%); 127 | background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2)); 128 | background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%); 129 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0); 130 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 131 | background-repeat: repeat-x; 132 | border-color: #28a4c9; 133 | } 134 | .btn-info:hover, 135 | .btn-info:focus { 136 | background-color: #2aabd2; 137 | background-position: 0 -15px; 138 | } 139 | .btn-info:active, 140 | .btn-info.active { 141 | background-color: #2aabd2; 142 | border-color: #28a4c9; 143 | } 144 | .btn-info.disabled, 145 | .btn-info:disabled, 146 | .btn-info[disabled] { 147 | background-color: #2aabd2; 148 | background-image: none; 149 | } 150 | .btn-warning { 151 | background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%); 152 | background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%); 153 | background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316)); 154 | background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%); 155 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0); 156 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 157 | background-repeat: repeat-x; 158 | border-color: #e38d13; 159 | } 160 | .btn-warning:hover, 161 | .btn-warning:focus { 162 | background-color: #eb9316; 163 | background-position: 0 -15px; 164 | } 165 | .btn-warning:active, 166 | .btn-warning.active { 167 | background-color: #eb9316; 168 | border-color: #e38d13; 169 | } 170 | .btn-warning.disabled, 171 | .btn-warning:disabled, 172 | .btn-warning[disabled] { 173 | background-color: #eb9316; 174 | background-image: none; 175 | } 176 | .btn-danger { 177 | background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%); 178 | background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%); 179 | background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a)); 180 | background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%); 181 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0); 182 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 183 | background-repeat: repeat-x; 184 | border-color: #b92c28; 185 | } 186 | .btn-danger:hover, 187 | .btn-danger:focus { 188 | background-color: #c12e2a; 189 | background-position: 0 -15px; 190 | } 191 | .btn-danger:active, 192 | .btn-danger.active { 193 | background-color: #c12e2a; 194 | border-color: #b92c28; 195 | } 196 | .btn-danger.disabled, 197 | .btn-danger:disabled, 198 | .btn-danger[disabled] { 199 | background-color: #c12e2a; 200 | background-image: none; 201 | } 202 | .thumbnail, 203 | .img-thumbnail { 204 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075); 205 | box-shadow: 0 1px 2px rgba(0, 0, 0, .075); 206 | } 207 | .dropdown-menu > li > a:hover, 208 | .dropdown-menu > li > a:focus { 209 | background-color: #e8e8e8; 210 | background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); 211 | background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); 212 | background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8)); 213 | background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); 214 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); 215 | background-repeat: repeat-x; 216 | } 217 | .dropdown-menu > .active > a, 218 | .dropdown-menu > .active > a:hover, 219 | .dropdown-menu > .active > a:focus { 220 | background-color: #2e6da4; 221 | background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); 222 | background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); 223 | background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); 224 | background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); 225 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); 226 | background-repeat: repeat-x; 227 | } 228 | .navbar-default { 229 | background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%); 230 | background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%); 231 | background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8)); 232 | background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%); 233 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0); 234 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 235 | background-repeat: repeat-x; 236 | border-radius: 4px; 237 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075); 238 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075); 239 | } 240 | .navbar-default .navbar-nav > .open > a, 241 | .navbar-default .navbar-nav > .active > a { 242 | background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%); 243 | background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%); 244 | background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2)); 245 | background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%); 246 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0); 247 | background-repeat: repeat-x; 248 | -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075); 249 | box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075); 250 | } 251 | .navbar-brand, 252 | .navbar-nav > li > a { 253 | text-shadow: 0 1px 0 rgba(255, 255, 255, .25); 254 | } 255 | .navbar-inverse { 256 | background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%); 257 | background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%); 258 | background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222)); 259 | background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%); 260 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0); 261 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 262 | background-repeat: repeat-x; 263 | } 264 | .navbar-inverse .navbar-nav > .open > a, 265 | .navbar-inverse .navbar-nav > .active > a { 266 | background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%); 267 | background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%); 268 | background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f)); 269 | background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%); 270 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0); 271 | background-repeat: repeat-x; 272 | -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25); 273 | box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25); 274 | } 275 | .navbar-inverse .navbar-brand, 276 | .navbar-inverse .navbar-nav > li > a { 277 | text-shadow: 0 -1px 0 rgba(0, 0, 0, .25); 278 | } 279 | .navbar-static-top, 280 | .navbar-fixed-top, 281 | .navbar-fixed-bottom { 282 | border-radius: 0; 283 | } 284 | @media (max-width: 767px) { 285 | .navbar .navbar-nav .open .dropdown-menu > .active > a, 286 | .navbar .navbar-nav .open .dropdown-menu > .active > a:hover, 287 | .navbar .navbar-nav .open .dropdown-menu > .active > a:focus { 288 | color: #fff; 289 | background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); 290 | background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); 291 | background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); 292 | background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); 293 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); 294 | background-repeat: repeat-x; 295 | } 296 | } 297 | .alert { 298 | text-shadow: 0 1px 0 rgba(255, 255, 255, .2); 299 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05); 300 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05); 301 | } 302 | .alert-success { 303 | background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); 304 | background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); 305 | background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc)); 306 | background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%); 307 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0); 308 | background-repeat: repeat-x; 309 | border-color: #b2dba1; 310 | } 311 | .alert-info { 312 | background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%); 313 | background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%); 314 | background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0)); 315 | background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%); 316 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0); 317 | background-repeat: repeat-x; 318 | border-color: #9acfea; 319 | } 320 | .alert-warning { 321 | background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); 322 | background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); 323 | background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0)); 324 | background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%); 325 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0); 326 | background-repeat: repeat-x; 327 | border-color: #f5e79e; 328 | } 329 | .alert-danger { 330 | background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); 331 | background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); 332 | background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3)); 333 | background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%); 334 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0); 335 | background-repeat: repeat-x; 336 | border-color: #dca7a7; 337 | } 338 | .progress { 339 | background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); 340 | background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); 341 | background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5)); 342 | background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%); 343 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0); 344 | background-repeat: repeat-x; 345 | } 346 | .progress-bar { 347 | background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%); 348 | background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%); 349 | background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#286090)); 350 | background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%); 351 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0); 352 | background-repeat: repeat-x; 353 | } 354 | .progress-bar-success { 355 | background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%); 356 | background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%); 357 | background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44)); 358 | background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%); 359 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0); 360 | background-repeat: repeat-x; 361 | } 362 | .progress-bar-info { 363 | background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); 364 | background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); 365 | background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5)); 366 | background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%); 367 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0); 368 | background-repeat: repeat-x; 369 | } 370 | .progress-bar-warning { 371 | background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); 372 | background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); 373 | background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f)); 374 | background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%); 375 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0); 376 | background-repeat: repeat-x; 377 | } 378 | .progress-bar-danger { 379 | background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%); 380 | background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%); 381 | background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c)); 382 | background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%); 383 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0); 384 | background-repeat: repeat-x; 385 | } 386 | .progress-bar-striped { 387 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 388 | background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 389 | background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 390 | } 391 | .list-group { 392 | border-radius: 4px; 393 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075); 394 | box-shadow: 0 1px 2px rgba(0, 0, 0, .075); 395 | } 396 | .list-group-item.active, 397 | .list-group-item.active:hover, 398 | .list-group-item.active:focus { 399 | text-shadow: 0 -1px 0 #286090; 400 | background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%); 401 | background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%); 402 | background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2b669a)); 403 | background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%); 404 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0); 405 | background-repeat: repeat-x; 406 | border-color: #2b669a; 407 | } 408 | .list-group-item.active .badge, 409 | .list-group-item.active:hover .badge, 410 | .list-group-item.active:focus .badge { 411 | text-shadow: none; 412 | } 413 | .panel { 414 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05); 415 | box-shadow: 0 1px 2px rgba(0, 0, 0, .05); 416 | } 417 | .panel-default > .panel-heading { 418 | background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); 419 | background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); 420 | background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8)); 421 | background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); 422 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); 423 | background-repeat: repeat-x; 424 | } 425 | .panel-primary > .panel-heading { 426 | background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); 427 | background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); 428 | background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); 429 | background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); 430 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); 431 | background-repeat: repeat-x; 432 | } 433 | .panel-success > .panel-heading { 434 | background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); 435 | background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); 436 | background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6)); 437 | background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%); 438 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0); 439 | background-repeat: repeat-x; 440 | } 441 | .panel-info > .panel-heading { 442 | background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); 443 | background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); 444 | background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3)); 445 | background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%); 446 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0); 447 | background-repeat: repeat-x; 448 | } 449 | .panel-warning > .panel-heading { 450 | background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); 451 | background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); 452 | background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc)); 453 | background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%); 454 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0); 455 | background-repeat: repeat-x; 456 | } 457 | .panel-danger > .panel-heading { 458 | background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%); 459 | background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%); 460 | background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc)); 461 | background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%); 462 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0); 463 | background-repeat: repeat-x; 464 | } 465 | .well { 466 | background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); 467 | background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); 468 | background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5)); 469 | background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%); 470 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0); 471 | background-repeat: repeat-x; 472 | border-color: #dcdcdc; 473 | -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1); 474 | box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1); 475 | } 476 | /*# sourceMappingURL=bootstrap-theme.css.map */ 477 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Beautiful Jekyll 2 | 3 | [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/daattali/20) 4 | [![Gem Version](https://badge.fury.io/rb/beautiful-jekyll-theme.svg)](https://badge.fury.io/rb/beautiful-jekyll-theme) 5 | 6 | > *Copyright 2016 [Dean Attali](http://deanattali.com)* 7 | 8 | **Beautiful Jekyll** is a ready-to-use template to help you create an awesome website quickly. Perfect for personal blogs or simple project websites. [Check out a demo](http://deanattali.com/beautiful-jekyll) of what you'll get after just two minutes. You can also look at [my personal website](http://deanattali.com) to see it in use, or see examples of websites other people created using this theme [here](#showcased-users-success-stories). 9 | 10 | **If you enjoy this theme, please consider [supporting me](https://www.paypal.me/daattali/20) for developing and maintaining this template.** 11 | 12 |

13 | 14 | 15 | 16 |

17 | 18 | ### Table of contents 19 | 20 | - [Prerequisites](#prerequisites) 21 | - [Build your website in 3 steps](#build-your-website-in-3-steps) 22 | - [Add your own content](#add-your-own-content) 23 | - [Last important thing: YAML front matter ("parameters" for a page)](#last-important-thing-yaml-front-matter-parameters-for-a-page) 24 | - [Features](#features) 25 | - [Creating a User Page vs a Project Page](#creating-a-user-page-vs-a-project-page) 26 | - [Showcased users (success stories!)](#showcased-users-success-stories) 27 | - [Advanced: local development](#advanced-local-development-using-docker) 28 | - [FAQ](#faq) 29 | - [Credits and contributions](#credits) 30 | 31 | ## Prerequisites 32 | 33 | - You need to have a GitHub account. If you don't have one, [sign up here](https://github.com/join) - it takes one minute. This is where your website will live - if you sign up with username `johnsmith` then your website will be `http://johnsmith.github.io`. 34 | - It would be helpful to understand what Markdown is and how to write it. Markdown is just a way to take a piece of text and format it to look a little nicer. For example, this whole instruction set that you're reading is written in markdown - it's just text with some words being bold/larger/italicized/etc. I recommend taking 5 minutes to learn markdown [with this amazingly easy yet useful tutorial](http://markdowntutorial.com/). 35 | 36 | ## Build your website in 3 steps 37 | 38 | Getting started is *literally* as easy as 1-2-3 :smile: 39 | Scroll down to see the steps involved, but here is a 40-second video just as a reference as you work through the steps. 40 | 41 | ![Installation steps](img/install-steps.gif) 42 | 43 | ### 1. Fork this repository 44 | 45 | (Assuming you are on this page and logged into GitHub) Fork this repository by clicking the *Fork* button on the top right corner. Forking means that you now copied this whole project and all the files into your account. 46 | 47 | ### 2. Rename the repository to `.github.io` 48 | 49 | This will create a GitHub User page ready with the **Beautiful Jekyll** template that will be available at `http://.github.io` within a couple minutes. To do this, click on *Settings* at the top (the cog icon) and there you'll have an option to rename. 50 | 51 | ### 3. Customize your website settings 52 | 53 | Edit the `_config.yml` file to change all the settings to reflect your site. To edit the file, click on it and then click on the pencil icon (watch the video tutorial above if you're confused). The settings in the file are fairly self-explanatory and I added comments inside the file to help you further. Any line that begins with a pound sign (`#`) is a comment, and the rest of the lines are actual settings. 54 | 55 | Another way to edit the config file (or any other file) is to use [prose.io](http://prose.io/), which is just a simple interface to allow you to more intuitively edit files or add new files to your project. 56 | 57 | After you save your changes to the config file (by clicking on *Commit changes* as the video tutorial shows), your website should be ready in a minute or two at `http://.github.io`. Every time you make a change to any file, your website will get rebuilt and should be updated in about a minute or so. 58 | 59 | You can now visit your shiny new website, which will be seeded with several sample blog posts and a couple other pages. Your website is at `http://.github.io` (replace `` with your user name). Do not add `www` to the URL - it will not work! 60 | 61 | **Note:** The video above goes through the setup for a user with username `daattalitest`. I only edited one setting in the `_config.yml` file in the video, but **you should actually go through the rest of the settings as well. Don't be lazy, go through all the settings :)** 62 | 63 | ## Add your own content 64 | 65 | To add pages to your site, you can either write a markdown file (`.md`) or you can write an HTML file directly. It is much easier to write markdown than HTML, so I suggest you do that (use the [tutorial I mentioned above](http://markdowntutorial.com/) if you need to learn markdown). You can look at some files on this site to get an idea of how to write markdown. To look at existing files, click on any file that ends in `.md`, for example [`aboutme.md`](./aboutme.md). On the next page you can see some nicely formatted text (there is a word in bold, a link, bullet points), and if you click on the pencil icon to edit the file, you will see the markdown that generated the pretty text. Very easy! 66 | 67 | In contrast, look at [`index.html`](./index.html). That's how your write HTML - not as pretty. So stick with markdown if you don't know HTML. 68 | 69 | Any file that you add inside the [`_posts`](./_posts) directory will be treated as a blog entry. You can look at the existing files there to get an idea of how to write blog posts. After you successfully add your own post, you can delete the existing files inside [`_posts`](./_posts) to remove the sample posts, as those are just demo posts to help you learn. 70 | 71 | As mentioned previously, you can use [prose.io](http://prose.io/) to add or edit files instead of doing it directly on GitHub, it can be a little easier that way. 72 | 73 | ## Last important thing: YAML front matter ("parameters" for a page) 74 | 75 | In order to have your new pages use this template and not just be plain pages, you need to add [YAML front matter](http://jekyllrb.com/docs/frontmatter/) to the top of each page. This is where you'll give each page some parameters that I made available, such as a title and subtitle. I'll go into more detail about what parameters are available later. If you don't want to use any parameters on your new page (this also means having no title), then use the empty YAML front matter: 76 | 77 | ``` 78 | --- 79 | --- 80 | ``` 81 | 82 | If you want to use any parameters, write them between the two lines. For example, you can have this at the top of a page: 83 | 84 | ``` 85 | --- 86 | title: Contact me 87 | subtitle: Here you'll find all the ways to get in touch with me 88 | --- 89 | ``` 90 | 91 | You can look at the top of [`aboutme.md`](./aboutme.md) or [`index.html`](./index.html) as more examples. 92 | 93 | **Important takeaway: ALWAYS add the YAML front matter, which is two lines with three dashes, to EVERY page. If you have any parameters, they go between the two lines.**     94 | If you don't include YAML then your file will not use the template. 95 | 96 | ## Features 97 | 98 | ### Mobile-first 99 | **Beautiful Jekyll** is designed to look great on both large-screen and small-screen (mobile) devices. Load up your site on your phone or your gigantic iMac, and the site will work well on both, though it will look slightly different. 100 | 101 | ### Customizable 102 | 103 | Many personalization settings in `_config.yml`, such as setting your name and site's description, changing the background colour/image, setting your avatar to add a little image in the navigation bar, customizing the links in the menus, customizing what social media links to show in the footer, etc. 104 | 105 | ### Allowing users to leave comments 106 | 107 | If you want to enable comments on your site, Beautiful Jekyll supports the [Disqus](https://disqus.com/) comments plugin. To use it, simply sign up to Disqus and add your Disqus shortname to the `disqus` parameter in the `_config.yml`. 108 | 109 | If the `disqus` parameter is set in the configuration file, then all blog posts will have comments turned on by default. To turn off comments on a particular blog post, add `comments: false` to the YAML front matter. If you want to add comments on the bottom of a non-blog page, add `comments: true` to the YAML front matter. 110 | 111 | ### Adding Google Analytics to track page views 112 | 113 | Beautiful Jekyll lets you easily add Google Analytics to all your pages. This will let you track all sorts of information about visits to your website, such as how many times each page is viewed and where (geographically) your users come from. To add Google Analytics, simply sign up to [Google Analytics](http://www.google.com/analytics/) to obtain your Google Tracking ID, and add this tracking ID to the `google_analytics` parameter in `_config.yml`. 114 | 115 | ### Sharing blog posts on social media 116 | 117 | By default, all blog posts will have buttons at the bottom of the post to allow people to share the current page on Twitter/Facebook/LinkedIn. You can choose to enable/disable specific social media websites in the `_config.yml` file. You can also turn off the social media buttons on specific blog posts using `social-share: false` in the YAML front matter. 118 | 119 | ### RSS feed 120 | 121 | Beautiful Jekyll automatically generates a simple RSS feed of your blog posts, to allow others to subscribe to your posts. If you want to add a link to your RSS feed in the footer of every page, find the `rss: false` line in `_config.yml` and change it to `rss: true`. 122 | 123 | ### Page types 124 | 125 | - **post** - To write a blog post, add a markdown or HTML file in the `_posts` folder. As long as you give it YAML front matter (the two lines of three dashes), it will automatically be rendered like a blog post. Look at the existing blog post files to see examples of how to use YAML parameters in blog posts. 126 | - **page** - Any page outside the `_posts` folder that uses YAML front matter will have a very similar style to blog posts. 127 | - **minimal** - If you want to create a page with minimal styling (ie. without the bulky navigation bar and footer), assign `layout: minimal` to the YAML front matter. 128 | - If you want to completely bypass the template engine and just write your own HTML page, simply omit the YAML front matter. Only do this if you know how to write HTML! 129 | 130 | ### YAML front matter parameters 131 | 132 | These are the main parameters you can place inside a page's YAML front matter that **Beautiful Jekyll** supports. 133 | 134 | Parameter | Description 135 | ----------- | ----------- 136 | title | Page or blog post title 137 | subtitle | Short description of page or blog post that goes under the title 138 | tags | List of tags to categorize the post. Separate the tags with commas and place them inside square brackets. Example: `[personal, self help, finance]` 139 | bigimg | Include a large full-width image at the top of the page. You can either give the path to a single image, or provide a list of images to cycle through (see [my personal website](http://deanattali.com/) as an example). 140 | comments | If you want do add Disqus comments to a specific page, use `comments: true`. Comments are automatically enabled on blog posts; to turn comments off for a specific post, use `comments: false`. Comments only work if you set your Disqus id in the `_config.yml` file. 141 | show-avatar | If you have an avatar configured in the `_config.yml` but you want to turn it off on a specific page, use `show-avatar: false`. If you want to turn it off by default, locate the line `show-avatar: true` in the file `_config.yml` and change the `true` to `false`; then you can selectively turn it on in specific pages using `show-avatar: true`. 142 | image | If you want to add a personalized image to your blog post that will show up next to the post's excerpt and on the post itself, use `image: /path/to/img`. 143 | share-img | If you want to specify an image to use when sharing the page on Facebook or Twitter, then provide the image's full URL here. 144 | social-share | If you don't want to show buttons to share a blog post on social media, use `social-share: false` (this feature is turned on by default). 145 | use-site-title | If you want to use the site title rather than page title as HTML document title (ie. browser tab title), use `use-site-title: true`. When set, the document title will take the format `Site Title - Site Description` (eg. `My website - A virtual proof that name is awesome!`). By default, it will use `Page Title` if it exists, or `Site Title` otherwise. 146 | layout | What type of page this is (default is `blog` for blog posts and `page` for other pages. You can use `minimal` if you don't want a header and footer) 147 | js | List of local JavaScript files to include in the page (eg. `/js/mypage.js`) 148 | ext-js | List of external JavaScript files to include in the page (eg. `//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.2/underscore-min.js`). External JavaScript files that support [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) can be specified using the `href` and `sri` parameters eg.
`href: "//code.jquery.com/jquery-3.1.1.min.js"`
`sri: "sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="` 149 | css | List of local CSS files to include in the page 150 | ext-css | List of external CSS files to include in the page. External CSS files using SRI (see `ext-js` parameter) are also supported. 151 | googlefonts | List of Google fonts to include in the page (eg. `["Monoton", "Lobster"]`) 152 | gh-repo   | If you want to show GitHub buttons at the top of a post, this sets the GitHub repo name (eg. `daattali/beautiful-jekyll`). You must also use the `gh-badge` parameter to specify what buttons to show. 153 | gh-badge | Select which GitHub buttons to display, available options are: [star, watch, fork, follow]. You must also use the `gh-repo` parameter to specify the GitHub repo. 154 | 155 | ### Advanced features (including how to use a custom URL address for your site) 156 | 157 | I wrote [a blog post](http://deanattali.com/2015/03/12/beautiful-jekyll-how-to-build-a-site-in-minutes/) describing some more advanced features that I used in my website that are applicable to any Jekyll site. It describes how I used a custom URL for my site (deanattali.com instead of daattali.github.io), how to add a Google-powered search into your site, and provides a few more details about having an RSS feed. 158 | 159 | ## Creating a User Page vs a Project Page 160 | 161 | If you're not sure what the difference is, you can probably safely ignore this section. 162 | 163 | If you want to use this theme to host a website that will be available at `https://YOURUSERNAME.github.io`, then you do not need to read this section. That is called a User Page, you can only have one User Page in your GitHub account, and it is what you get by default when forking this project. 164 | 165 | If you want to use this theme to create a website for a particular repository, it will be available at `https://YOURUSERNAME.github.io/REPONAME`, and that is called a [Project Page](https://help.github.com/articles/user-organization-and-project-pages/). You can have a Project Page for each repository you have on GitHub. There are two important things to note when creating a project page: 166 | 167 | 1. In the configuration file (`_config.yml`), you should set `baseurl` to be `/projectname` instead of `""`. 168 | 2. Project Pages are served from a branch named `gh-pages`, and you should be generating all the website content on that branch. When you fork Beautiful Jekyll, you'll already have a `gh-pages` branch but you should delete it and generate it again from the `master` branch. The reason is that the `gh-pages` branch in its current form does not have the updated code of Beautiful Jekyll, so you need to create that branch from the `master` branch (which is where all my new features and work go into). 169 | 170 | ## Showcased users (success stories!) 171 | 172 | To my huge surprise, Beautiful Jekyll has been used in over 500 websites in its first 6 months alone! Here is a hand-picked selection of some websites that use Beautiful Jekyll. 173 | 174 | Want your website featured here? [Contact me](http://deanattali.com/aboutme#contact) to let me know about your website. 175 | 176 | ### Project/company websites 177 | 178 | | Website | Description | 179 | | :------ |:----------- | 180 | | [derekogle.com/fishR](http://derekogle.com/fishR/) | Using R for Fisheries Analyses | 181 | | [bigdata.juju.solutions](http://bigdata.juju.solutions) | Creating Big Data solutions Juju Solutions | 182 | | [joecks.github.io/clipboard-actions](http://joecks.github.io/clipboard-actions/) | Clipboard Actions - an Android app | 183 | | [deanattali.com/shinyjs](http://deanattali.com/shinyjs/) | shinyjs - an R package | 184 | | [blabel.github.io](http://blabel.github.io) | Library for canonicalising blank node labels in RDF graphs | 185 | | [reactionic.github.io](http://reactionic.github.io) | Create iOS and Android apps with React and Ionic | 186 | | [ja2-stracciatella.github.io](http://ja2-stracciatella.github.io) | Jagged Alliance 2 Stracciatella | 187 | | [PatientOutcomeFunding.org](http://www.patientoutcomefunding.org/) | Patient Outcome Funding | 188 | | [ddocent.com](http://ddocent.com/) | RADSeq Bioinformatics and Beyond | 189 | 190 | ### Personal websites 191 | 192 | | Website | Who | What | 193 | | :------ |:--- | :--- | 194 | | [deanattali.com](http://deanattali.com) | Dean Attali | Creator of Beautiful Jekyll | 195 | | [ouzor.github.io](http://ouzor.github.io) | Juuso Parkkinen | Data scientist | 196 | | [derekogle.com](http://derekogle.com/) | Derek Ogle | Professor of Mathematical Sciences and Natural Resources | 197 | | [melyanna.github.io](http://melyanna.github.io/) | Melyanna | Shows off her nice art | 198 | | [chauff.github.io](http://chauff.github.io/) | Claudia Hauff | Professor at Delft University of Technology | 199 | | [kootenpv.github.io](http://kootenpv.github.io/) | Pascal van Kooten | Data analytics | 200 | | [sjackman.ca](http://sjackman.ca) | Shaun Jackman | PhD candidate in bioinformatics | 201 | | [anudit.in](http://www.anudit.in/) | Anudit Verma | Engineering student | 202 | | [sharepointoscar.github.io](http://sharepointoscar.github.io) | Oscar Medina | Independent Hacker | 203 | | [ocram85.github.io](https://ocram85.github.io) | Marco Blessing | A personal blog about PowerShell and automation | 204 | 205 | 206 | ## Advanced: Local development using Docker 207 | 208 | Beautiful Jekyll is meant to be so simple to use that you can do it all within the browser. However, if you'd like to develop locally on your own machine, that's possible too if you're comfortable with command line. Follow these simple steps set that up with Docker: 209 | 210 | 1. Make sure you have [Docker](https://www.docker.com/) installed. 211 | 212 | 2. Clone your repository locally. 213 | 214 | ```bash 215 | git clone https://github.com//.github.io.git 216 | ``` 217 | 218 | 3. Run the following shell commands to build the docker image and start the container for the first time: 219 | 220 | ```bash 221 | cd 222 | docker build -t beautiful-jekyll $PWD 223 | docker run -d -p 4000:4000 --name beautiful-jekyll -v $PWD:/srv/jekyll beautiful-jekyll 224 | ``` 225 | 226 | 227 | Now that Docker is set up, you do not need to run the above steps again. You can now view your website at http://localhost:4000/. You can start the container again in the future with: 228 | 229 | ```bash 230 | docker start beautiful-jekyll 231 | ``` 232 | 233 | And you can stop the server with: 234 | 235 | ```bash 236 | docker stop beautiful-jekyll 237 | ``` 238 | 239 | Whenever you make any changes to `_config.yml`, you must stop and re-start the server for the new config settings to take effect. 240 | 241 | Disclaimer: I personally am NOT using local development so I don't know much about running Jekyll locally. If you follow this route, please don't ask me questions because unfortunately I honestly won't be able to help! 242 | 243 | ## FAQ 244 | 245 | Beautiful Jekyll is actively used by thousands of people with wildly varying degrees of competency, so it's impossible to answer all the questions that may arise. Below are answers to a few very common questions. Most questions that I get asked are not directly related to this theme, and instead are more general questions about Jekyll or web development. Many such questions can be answered by reading the [Jekyll documentation](http://jekyllrb.com/) or simply by Googling. 246 | 247 | #### How do I change the number of posts per page OR the colour of the navigation bar OR the image in the navigation bar OR ...? 248 | 249 | Beautiful Jekyll is built to be very customizable, and as such, many questions about "how do I change ..." can be answered by looking at the `_config.yml` file. The configuration file has many adjustable parameters to customize your site. 250 | 251 | #### How do I add a favicon to my site? 252 | 253 | Easy! Just place a valid `favicon.ico` (or another valid favicon image) in the root directory of your project. And then wait! It can take a while to update. 254 | 255 | #### How do I move the blog to another page instead of having it on the home page? 256 | 257 | The default style of Beautiful Jekyll is to feature the blog feed on the front page. But for many sites that's not the ideal structure, and you may want to have a separate dedicated page for the blog posts. To have the blog hosted on a different URL (for example at `/blog`), copy the `index.html` file into a folder with the same name as the desired page (for example, to `blog/index.html`), and in the `_config.yml` file you need to add a parameter `paginate_path: "//page:num/"` (for example `paginate_path: "/blog/page:num/"`). 258 | 259 | #### What size do you recommend using for the `bigimg` photos? 260 | 261 | Unfortunately, this is a no-answer! There isn't a one-size-fits-all solution to this, because every person will view your site on a different browser with different dimensions. Some browsers will have very wide aspect ratio, some will be narrower, some will be vertical (such as phones), different phones have different screens, etc. The image will always be centered, so the only tip I can give is that you should make sure the important part of the image is in the middle so that it'll always show. Other than that, every browser will show a different clipping of the image. 262 | 263 | ## Credits 264 | 265 | This template was not made entirely from scratch. I would like to give special thanks to: 266 | - [Barry Clark](https://github.com/barryclark) and his project [Jekyll Now](https://github.com/barryclark/jekyll-now), from whom I've taken several ideas and code snippets, as well as some documenation tips. 267 | - [Iron Summit Media](https://github.com/IronSummitMedia) and their project [Bootstrap Clean Blog](https://github.com/IronSummitMedia/startbootstrap-clean-blog), from which I've used some design ideas and some of the templating code for posts and pagination. 268 | 269 | I'd also like to thank [Dr. Jekyll's Themes](http://drjekyllthemes.github.io/), [Jekyll Themes](http://jekyllthemes.org/), and another [Jekyll Themes](http://jekyllrc.github.io/jekyllthemes/) for featuring Beautiful Jekyll in their Jekyll theme directories. 270 | 271 | ## Contributions 272 | 273 | If you find anything wrong or would like to contribute in any way, feel free to create a pull request/open an issue/send me a message. Any comments are welcome! 274 | 275 | Thank you to [all contributors](https://github.com/daattali/beautiful-jekyll/graphs/contributors). Special thanks to [@OCram85](https://github.com/OCram85) for contributing multiple times as well as helping with discussions. 276 | 277 | If you do fork or clone this project to use as a template for your site, I would appreciate if you keep the link in the footer to this project. I've noticed that several people who forked this repo removed the attribution and I would prefer to get the recognition if you do use this :) 278 | 279 | ## Known limitations 280 | 281 | - If you have a project page and you want a custom 404 page, you must have a custom domain. See https://help.github.com/articles/custom-404-pages/. This means that if you have a regular User Page you can use the 404 page from this theme, but if it's a website for a specific repository, the 404 page will not be used. 282 | -------------------------------------------------------------------------------- /css/bootstrap-social.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Social Buttons for Bootstrap 3 | * 4 | * Copyright 2013-2015 Panayiotis Lipiridis 5 | * Licensed under the MIT License 6 | * 7 | * https://github.com/lipis/bootstrap-social 8 | */ 9 | 10 | .btn-social{position:relative;margin-bottom:5px;padding-left:44px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn-social>:first-child{position:absolute;left:0;top:0;bottom:0;width:32px;line-height:34px;font-size:1.6em;text-align:center;border-right:1px solid rgba(0,0,0,0.2)} 11 | .btn-social.btn-lg{padding-left:61px}.btn-social.btn-lg>:first-child{line-height:45px;width:45px;font-size:1.8em} 12 | .btn-social.btn-sm{padding-left:38px}.btn-social.btn-sm>:first-child{line-height:28px;width:28px;font-size:1.4em} 13 | .btn-social.btn-xs{padding-left:30px}.btn-social.btn-xs>:first-child{line-height:20px;width:20px;font-size:1.2em} 14 | .btn-social-icon{position:relative;padding-left:44px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:34px;width:34px;padding:0}.btn-social-icon>:first-child{position:absolute;left:0;top:0;bottom:0;width:32px;line-height:34px;font-size:1.6em;text-align:center;border-right:1px solid rgba(0,0,0,0.2)} 15 | .btn-social-icon.btn-lg{padding-left:61px}.btn-social-icon.btn-lg>:first-child{line-height:45px;width:45px;font-size:1.8em} 16 | .btn-social-icon.btn-sm{padding-left:38px}.btn-social-icon.btn-sm>:first-child{line-height:28px;width:28px;font-size:1.4em} 17 | .btn-social-icon.btn-xs{padding-left:30px}.btn-social-icon.btn-xs>:first-child{line-height:20px;width:20px;font-size:1.2em} 18 | .btn-social-icon>:first-child{border:none;text-align:center;width:100% !important} 19 | .btn-social-icon.btn-lg{height:45px;width:45px;padding-left:0;padding-right:0} 20 | .btn-social-icon.btn-sm{height:30px;width:30px;padding-left:0;padding-right:0} 21 | .btn-social-icon.btn-xs{height:22px;width:22px;padding-left:0;padding-right:0} 22 | .btn-adn{color:#fff;background-color:#d87a68;border-color:rgba(0,0,0,0.2)}.btn-adn:focus,.btn-adn.focus{color:#fff;background-color:#ce563f;border-color:rgba(0,0,0,0.2)} 23 | .btn-adn:hover{color:#fff;background-color:#ce563f;border-color:rgba(0,0,0,0.2)} 24 | .btn-adn:active,.btn-adn.active,.open>.dropdown-toggle.btn-adn{color:#fff;background-color:#ce563f;border-color:rgba(0,0,0,0.2)}.btn-adn:active:hover,.btn-adn.active:hover,.open>.dropdown-toggle.btn-adn:hover,.btn-adn:active:focus,.btn-adn.active:focus,.open>.dropdown-toggle.btn-adn:focus,.btn-adn:active.focus,.btn-adn.active.focus,.open>.dropdown-toggle.btn-adn.focus{color:#fff;background-color:#b94630;border-color:rgba(0,0,0,0.2)} 25 | .btn-adn:active,.btn-adn.active,.open>.dropdown-toggle.btn-adn{background-image:none} 26 | .btn-adn.disabled,.btn-adn[disabled],fieldset[disabled] .btn-adn,.btn-adn.disabled:hover,.btn-adn[disabled]:hover,fieldset[disabled] .btn-adn:hover,.btn-adn.disabled:focus,.btn-adn[disabled]:focus,fieldset[disabled] .btn-adn:focus,.btn-adn.disabled.focus,.btn-adn[disabled].focus,fieldset[disabled] .btn-adn.focus,.btn-adn.disabled:active,.btn-adn[disabled]:active,fieldset[disabled] .btn-adn:active,.btn-adn.disabled.active,.btn-adn[disabled].active,fieldset[disabled] .btn-adn.active{background-color:#d87a68;border-color:rgba(0,0,0,0.2)} 27 | .btn-adn .badge{color:#d87a68;background-color:#fff} 28 | .btn-bitbucket{color:#fff;background-color:#205081;border-color:rgba(0,0,0,0.2)}.btn-bitbucket:focus,.btn-bitbucket.focus{color:#fff;background-color:#163758;border-color:rgba(0,0,0,0.2)} 29 | .btn-bitbucket:hover{color:#fff;background-color:#163758;border-color:rgba(0,0,0,0.2)} 30 | .btn-bitbucket:active,.btn-bitbucket.active,.open>.dropdown-toggle.btn-bitbucket{color:#fff;background-color:#163758;border-color:rgba(0,0,0,0.2)}.btn-bitbucket:active:hover,.btn-bitbucket.active:hover,.open>.dropdown-toggle.btn-bitbucket:hover,.btn-bitbucket:active:focus,.btn-bitbucket.active:focus,.open>.dropdown-toggle.btn-bitbucket:focus,.btn-bitbucket:active.focus,.btn-bitbucket.active.focus,.open>.dropdown-toggle.btn-bitbucket.focus{color:#fff;background-color:#0f253c;border-color:rgba(0,0,0,0.2)} 31 | .btn-bitbucket:active,.btn-bitbucket.active,.open>.dropdown-toggle.btn-bitbucket{background-image:none} 32 | .btn-bitbucket.disabled,.btn-bitbucket[disabled],fieldset[disabled] .btn-bitbucket,.btn-bitbucket.disabled:hover,.btn-bitbucket[disabled]:hover,fieldset[disabled] .btn-bitbucket:hover,.btn-bitbucket.disabled:focus,.btn-bitbucket[disabled]:focus,fieldset[disabled] .btn-bitbucket:focus,.btn-bitbucket.disabled.focus,.btn-bitbucket[disabled].focus,fieldset[disabled] .btn-bitbucket.focus,.btn-bitbucket.disabled:active,.btn-bitbucket[disabled]:active,fieldset[disabled] .btn-bitbucket:active,.btn-bitbucket.disabled.active,.btn-bitbucket[disabled].active,fieldset[disabled] .btn-bitbucket.active{background-color:#205081;border-color:rgba(0,0,0,0.2)} 33 | .btn-bitbucket .badge{color:#205081;background-color:#fff} 34 | .btn-dropbox{color:#fff;background-color:#1087dd;border-color:rgba(0,0,0,0.2)}.btn-dropbox:focus,.btn-dropbox.focus{color:#fff;background-color:#0d6aad;border-color:rgba(0,0,0,0.2)} 35 | .btn-dropbox:hover{color:#fff;background-color:#0d6aad;border-color:rgba(0,0,0,0.2)} 36 | .btn-dropbox:active,.btn-dropbox.active,.open>.dropdown-toggle.btn-dropbox{color:#fff;background-color:#0d6aad;border-color:rgba(0,0,0,0.2)}.btn-dropbox:active:hover,.btn-dropbox.active:hover,.open>.dropdown-toggle.btn-dropbox:hover,.btn-dropbox:active:focus,.btn-dropbox.active:focus,.open>.dropdown-toggle.btn-dropbox:focus,.btn-dropbox:active.focus,.btn-dropbox.active.focus,.open>.dropdown-toggle.btn-dropbox.focus{color:#fff;background-color:#0a568c;border-color:rgba(0,0,0,0.2)} 37 | .btn-dropbox:active,.btn-dropbox.active,.open>.dropdown-toggle.btn-dropbox{background-image:none} 38 | .btn-dropbox.disabled,.btn-dropbox[disabled],fieldset[disabled] .btn-dropbox,.btn-dropbox.disabled:hover,.btn-dropbox[disabled]:hover,fieldset[disabled] .btn-dropbox:hover,.btn-dropbox.disabled:focus,.btn-dropbox[disabled]:focus,fieldset[disabled] .btn-dropbox:focus,.btn-dropbox.disabled.focus,.btn-dropbox[disabled].focus,fieldset[disabled] .btn-dropbox.focus,.btn-dropbox.disabled:active,.btn-dropbox[disabled]:active,fieldset[disabled] .btn-dropbox:active,.btn-dropbox.disabled.active,.btn-dropbox[disabled].active,fieldset[disabled] .btn-dropbox.active{background-color:#1087dd;border-color:rgba(0,0,0,0.2)} 39 | .btn-dropbox .badge{color:#1087dd;background-color:#fff} 40 | .btn-facebook{color:#fff;background-color:#3b5998;border-color:rgba(0,0,0,0.2)}.btn-facebook:focus,.btn-facebook.focus{color:#fff;background-color:#2d4373;border-color:rgba(0,0,0,0.2)} 41 | .btn-facebook:hover{color:#fff;background-color:#2d4373;border-color:rgba(0,0,0,0.2)} 42 | .btn-facebook:active,.btn-facebook.active,.open>.dropdown-toggle.btn-facebook{color:#fff;background-color:#2d4373;border-color:rgba(0,0,0,0.2)}.btn-facebook:active:hover,.btn-facebook.active:hover,.open>.dropdown-toggle.btn-facebook:hover,.btn-facebook:active:focus,.btn-facebook.active:focus,.open>.dropdown-toggle.btn-facebook:focus,.btn-facebook:active.focus,.btn-facebook.active.focus,.open>.dropdown-toggle.btn-facebook.focus{color:#fff;background-color:#23345a;border-color:rgba(0,0,0,0.2)} 43 | .btn-facebook:active,.btn-facebook.active,.open>.dropdown-toggle.btn-facebook{background-image:none} 44 | .btn-facebook.disabled,.btn-facebook[disabled],fieldset[disabled] .btn-facebook,.btn-facebook.disabled:hover,.btn-facebook[disabled]:hover,fieldset[disabled] .btn-facebook:hover,.btn-facebook.disabled:focus,.btn-facebook[disabled]:focus,fieldset[disabled] .btn-facebook:focus,.btn-facebook.disabled.focus,.btn-facebook[disabled].focus,fieldset[disabled] .btn-facebook.focus,.btn-facebook.disabled:active,.btn-facebook[disabled]:active,fieldset[disabled] .btn-facebook:active,.btn-facebook.disabled.active,.btn-facebook[disabled].active,fieldset[disabled] .btn-facebook.active{background-color:#3b5998;border-color:rgba(0,0,0,0.2)} 45 | .btn-facebook .badge{color:#3b5998;background-color:#fff} 46 | .btn-flickr{color:#fff;background-color:#ff0084;border-color:rgba(0,0,0,0.2)}.btn-flickr:focus,.btn-flickr.focus{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2)} 47 | .btn-flickr:hover{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2)} 48 | .btn-flickr:active,.btn-flickr.active,.open>.dropdown-toggle.btn-flickr{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2)}.btn-flickr:active:hover,.btn-flickr.active:hover,.open>.dropdown-toggle.btn-flickr:hover,.btn-flickr:active:focus,.btn-flickr.active:focus,.open>.dropdown-toggle.btn-flickr:focus,.btn-flickr:active.focus,.btn-flickr.active.focus,.open>.dropdown-toggle.btn-flickr.focus{color:#fff;background-color:#a80057;border-color:rgba(0,0,0,0.2)} 49 | .btn-flickr:active,.btn-flickr.active,.open>.dropdown-toggle.btn-flickr{background-image:none} 50 | .btn-flickr.disabled,.btn-flickr[disabled],fieldset[disabled] .btn-flickr,.btn-flickr.disabled:hover,.btn-flickr[disabled]:hover,fieldset[disabled] .btn-flickr:hover,.btn-flickr.disabled:focus,.btn-flickr[disabled]:focus,fieldset[disabled] .btn-flickr:focus,.btn-flickr.disabled.focus,.btn-flickr[disabled].focus,fieldset[disabled] .btn-flickr.focus,.btn-flickr.disabled:active,.btn-flickr[disabled]:active,fieldset[disabled] .btn-flickr:active,.btn-flickr.disabled.active,.btn-flickr[disabled].active,fieldset[disabled] .btn-flickr.active{background-color:#ff0084;border-color:rgba(0,0,0,0.2)} 51 | .btn-flickr .badge{color:#ff0084;background-color:#fff} 52 | .btn-foursquare{color:#fff;background-color:#f94877;border-color:rgba(0,0,0,0.2)}.btn-foursquare:focus,.btn-foursquare.focus{color:#fff;background-color:#f71752;border-color:rgba(0,0,0,0.2)} 53 | .btn-foursquare:hover{color:#fff;background-color:#f71752;border-color:rgba(0,0,0,0.2)} 54 | .btn-foursquare:active,.btn-foursquare.active,.open>.dropdown-toggle.btn-foursquare{color:#fff;background-color:#f71752;border-color:rgba(0,0,0,0.2)}.btn-foursquare:active:hover,.btn-foursquare.active:hover,.open>.dropdown-toggle.btn-foursquare:hover,.btn-foursquare:active:focus,.btn-foursquare.active:focus,.open>.dropdown-toggle.btn-foursquare:focus,.btn-foursquare:active.focus,.btn-foursquare.active.focus,.open>.dropdown-toggle.btn-foursquare.focus{color:#fff;background-color:#e30742;border-color:rgba(0,0,0,0.2)} 55 | .btn-foursquare:active,.btn-foursquare.active,.open>.dropdown-toggle.btn-foursquare{background-image:none} 56 | .btn-foursquare.disabled,.btn-foursquare[disabled],fieldset[disabled] .btn-foursquare,.btn-foursquare.disabled:hover,.btn-foursquare[disabled]:hover,fieldset[disabled] .btn-foursquare:hover,.btn-foursquare.disabled:focus,.btn-foursquare[disabled]:focus,fieldset[disabled] .btn-foursquare:focus,.btn-foursquare.disabled.focus,.btn-foursquare[disabled].focus,fieldset[disabled] .btn-foursquare.focus,.btn-foursquare.disabled:active,.btn-foursquare[disabled]:active,fieldset[disabled] .btn-foursquare:active,.btn-foursquare.disabled.active,.btn-foursquare[disabled].active,fieldset[disabled] .btn-foursquare.active{background-color:#f94877;border-color:rgba(0,0,0,0.2)} 57 | .btn-foursquare .badge{color:#f94877;background-color:#fff} 58 | .btn-github{color:#fff;background-color:#444;border-color:rgba(0,0,0,0.2)}.btn-github:focus,.btn-github.focus{color:#fff;background-color:#2b2b2b;border-color:rgba(0,0,0,0.2)} 59 | .btn-github:hover{color:#fff;background-color:#2b2b2b;border-color:rgba(0,0,0,0.2)} 60 | .btn-github:active,.btn-github.active,.open>.dropdown-toggle.btn-github{color:#fff;background-color:#2b2b2b;border-color:rgba(0,0,0,0.2)}.btn-github:active:hover,.btn-github.active:hover,.open>.dropdown-toggle.btn-github:hover,.btn-github:active:focus,.btn-github.active:focus,.open>.dropdown-toggle.btn-github:focus,.btn-github:active.focus,.btn-github.active.focus,.open>.dropdown-toggle.btn-github.focus{color:#fff;background-color:#191919;border-color:rgba(0,0,0,0.2)} 61 | .btn-github:active,.btn-github.active,.open>.dropdown-toggle.btn-github{background-image:none} 62 | .btn-github.disabled,.btn-github[disabled],fieldset[disabled] .btn-github,.btn-github.disabled:hover,.btn-github[disabled]:hover,fieldset[disabled] .btn-github:hover,.btn-github.disabled:focus,.btn-github[disabled]:focus,fieldset[disabled] .btn-github:focus,.btn-github.disabled.focus,.btn-github[disabled].focus,fieldset[disabled] .btn-github.focus,.btn-github.disabled:active,.btn-github[disabled]:active,fieldset[disabled] .btn-github:active,.btn-github.disabled.active,.btn-github[disabled].active,fieldset[disabled] .btn-github.active{background-color:#444;border-color:rgba(0,0,0,0.2)} 63 | .btn-github .badge{color:#444;background-color:#fff} 64 | .btn-google{color:#fff;background-color:#dd4b39;border-color:rgba(0,0,0,0.2)}.btn-google:focus,.btn-google.focus{color:#fff;background-color:#c23321;border-color:rgba(0,0,0,0.2)} 65 | .btn-google:hover{color:#fff;background-color:#c23321;border-color:rgba(0,0,0,0.2)} 66 | .btn-google:active,.btn-google.active,.open>.dropdown-toggle.btn-google{color:#fff;background-color:#c23321;border-color:rgba(0,0,0,0.2)}.btn-google:active:hover,.btn-google.active:hover,.open>.dropdown-toggle.btn-google:hover,.btn-google:active:focus,.btn-google.active:focus,.open>.dropdown-toggle.btn-google:focus,.btn-google:active.focus,.btn-google.active.focus,.open>.dropdown-toggle.btn-google.focus{color:#fff;background-color:#a32b1c;border-color:rgba(0,0,0,0.2)} 67 | .btn-google:active,.btn-google.active,.open>.dropdown-toggle.btn-google{background-image:none} 68 | .btn-google.disabled,.btn-google[disabled],fieldset[disabled] .btn-google,.btn-google.disabled:hover,.btn-google[disabled]:hover,fieldset[disabled] .btn-google:hover,.btn-google.disabled:focus,.btn-google[disabled]:focus,fieldset[disabled] .btn-google:focus,.btn-google.disabled.focus,.btn-google[disabled].focus,fieldset[disabled] .btn-google.focus,.btn-google.disabled:active,.btn-google[disabled]:active,fieldset[disabled] .btn-google:active,.btn-google.disabled.active,.btn-google[disabled].active,fieldset[disabled] .btn-google.active{background-color:#dd4b39;border-color:rgba(0,0,0,0.2)} 69 | .btn-google .badge{color:#dd4b39;background-color:#fff} 70 | .btn-instagram{color:#fff;background-color:#3f729b;border-color:rgba(0,0,0,0.2)}.btn-instagram:focus,.btn-instagram.focus{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2)} 71 | .btn-instagram:hover{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2)} 72 | .btn-instagram:active,.btn-instagram.active,.open>.dropdown-toggle.btn-instagram{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2)}.btn-instagram:active:hover,.btn-instagram.active:hover,.open>.dropdown-toggle.btn-instagram:hover,.btn-instagram:active:focus,.btn-instagram.active:focus,.open>.dropdown-toggle.btn-instagram:focus,.btn-instagram:active.focus,.btn-instagram.active.focus,.open>.dropdown-toggle.btn-instagram.focus{color:#fff;background-color:#26455d;border-color:rgba(0,0,0,0.2)} 73 | .btn-instagram:active,.btn-instagram.active,.open>.dropdown-toggle.btn-instagram{background-image:none} 74 | .btn-instagram.disabled,.btn-instagram[disabled],fieldset[disabled] .btn-instagram,.btn-instagram.disabled:hover,.btn-instagram[disabled]:hover,fieldset[disabled] .btn-instagram:hover,.btn-instagram.disabled:focus,.btn-instagram[disabled]:focus,fieldset[disabled] .btn-instagram:focus,.btn-instagram.disabled.focus,.btn-instagram[disabled].focus,fieldset[disabled] .btn-instagram.focus,.btn-instagram.disabled:active,.btn-instagram[disabled]:active,fieldset[disabled] .btn-instagram:active,.btn-instagram.disabled.active,.btn-instagram[disabled].active,fieldset[disabled] .btn-instagram.active{background-color:#3f729b;border-color:rgba(0,0,0,0.2)} 75 | .btn-instagram .badge{color:#3f729b;background-color:#fff} 76 | .btn-linkedin{color:#fff;background-color:#007bb6;border-color:rgba(0,0,0,0.2)}.btn-linkedin:focus,.btn-linkedin.focus{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2)} 77 | .btn-linkedin:hover{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2)} 78 | .btn-linkedin:active,.btn-linkedin.active,.open>.dropdown-toggle.btn-linkedin{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2)}.btn-linkedin:active:hover,.btn-linkedin.active:hover,.open>.dropdown-toggle.btn-linkedin:hover,.btn-linkedin:active:focus,.btn-linkedin.active:focus,.open>.dropdown-toggle.btn-linkedin:focus,.btn-linkedin:active.focus,.btn-linkedin.active.focus,.open>.dropdown-toggle.btn-linkedin.focus{color:#fff;background-color:#00405f;border-color:rgba(0,0,0,0.2)} 79 | .btn-linkedin:active,.btn-linkedin.active,.open>.dropdown-toggle.btn-linkedin{background-image:none} 80 | .btn-linkedin.disabled,.btn-linkedin[disabled],fieldset[disabled] .btn-linkedin,.btn-linkedin.disabled:hover,.btn-linkedin[disabled]:hover,fieldset[disabled] .btn-linkedin:hover,.btn-linkedin.disabled:focus,.btn-linkedin[disabled]:focus,fieldset[disabled] .btn-linkedin:focus,.btn-linkedin.disabled.focus,.btn-linkedin[disabled].focus,fieldset[disabled] .btn-linkedin.focus,.btn-linkedin.disabled:active,.btn-linkedin[disabled]:active,fieldset[disabled] .btn-linkedin:active,.btn-linkedin.disabled.active,.btn-linkedin[disabled].active,fieldset[disabled] .btn-linkedin.active{background-color:#007bb6;border-color:rgba(0,0,0,0.2)} 81 | .btn-linkedin .badge{color:#007bb6;background-color:#fff} 82 | .btn-microsoft{color:#fff;background-color:#2672ec;border-color:rgba(0,0,0,0.2)}.btn-microsoft:focus,.btn-microsoft.focus{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2)} 83 | .btn-microsoft:hover{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2)} 84 | .btn-microsoft:active,.btn-microsoft.active,.open>.dropdown-toggle.btn-microsoft{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2)}.btn-microsoft:active:hover,.btn-microsoft.active:hover,.open>.dropdown-toggle.btn-microsoft:hover,.btn-microsoft:active:focus,.btn-microsoft.active:focus,.open>.dropdown-toggle.btn-microsoft:focus,.btn-microsoft:active.focus,.btn-microsoft.active.focus,.open>.dropdown-toggle.btn-microsoft.focus{color:#fff;background-color:#0f4bac;border-color:rgba(0,0,0,0.2)} 85 | .btn-microsoft:active,.btn-microsoft.active,.open>.dropdown-toggle.btn-microsoft{background-image:none} 86 | .btn-microsoft.disabled,.btn-microsoft[disabled],fieldset[disabled] .btn-microsoft,.btn-microsoft.disabled:hover,.btn-microsoft[disabled]:hover,fieldset[disabled] .btn-microsoft:hover,.btn-microsoft.disabled:focus,.btn-microsoft[disabled]:focus,fieldset[disabled] .btn-microsoft:focus,.btn-microsoft.disabled.focus,.btn-microsoft[disabled].focus,fieldset[disabled] .btn-microsoft.focus,.btn-microsoft.disabled:active,.btn-microsoft[disabled]:active,fieldset[disabled] .btn-microsoft:active,.btn-microsoft.disabled.active,.btn-microsoft[disabled].active,fieldset[disabled] .btn-microsoft.active{background-color:#2672ec;border-color:rgba(0,0,0,0.2)} 87 | .btn-microsoft .badge{color:#2672ec;background-color:#fff} 88 | .btn-odnoklassniki{color:#fff;background-color:#f4731c;border-color:rgba(0,0,0,0.2)}.btn-odnoklassniki:focus,.btn-odnoklassniki.focus{color:#fff;background-color:#d35b0a;border-color:rgba(0,0,0,0.2)} 89 | .btn-odnoklassniki:hover{color:#fff;background-color:#d35b0a;border-color:rgba(0,0,0,0.2)} 90 | .btn-odnoklassniki:active,.btn-odnoklassniki.active,.open>.dropdown-toggle.btn-odnoklassniki{color:#fff;background-color:#d35b0a;border-color:rgba(0,0,0,0.2)}.btn-odnoklassniki:active:hover,.btn-odnoklassniki.active:hover,.open>.dropdown-toggle.btn-odnoklassniki:hover,.btn-odnoklassniki:active:focus,.btn-odnoklassniki.active:focus,.open>.dropdown-toggle.btn-odnoklassniki:focus,.btn-odnoklassniki:active.focus,.btn-odnoklassniki.active.focus,.open>.dropdown-toggle.btn-odnoklassniki.focus{color:#fff;background-color:#b14c09;border-color:rgba(0,0,0,0.2)} 91 | .btn-odnoklassniki:active,.btn-odnoklassniki.active,.open>.dropdown-toggle.btn-odnoklassniki{background-image:none} 92 | .btn-odnoklassniki.disabled,.btn-odnoklassniki[disabled],fieldset[disabled] .btn-odnoklassniki,.btn-odnoklassniki.disabled:hover,.btn-odnoklassniki[disabled]:hover,fieldset[disabled] .btn-odnoklassniki:hover,.btn-odnoklassniki.disabled:focus,.btn-odnoklassniki[disabled]:focus,fieldset[disabled] .btn-odnoklassniki:focus,.btn-odnoklassniki.disabled.focus,.btn-odnoklassniki[disabled].focus,fieldset[disabled] .btn-odnoklassniki.focus,.btn-odnoklassniki.disabled:active,.btn-odnoklassniki[disabled]:active,fieldset[disabled] .btn-odnoklassniki:active,.btn-odnoklassniki.disabled.active,.btn-odnoklassniki[disabled].active,fieldset[disabled] .btn-odnoklassniki.active{background-color:#f4731c;border-color:rgba(0,0,0,0.2)} 93 | .btn-odnoklassniki .badge{color:#f4731c;background-color:#fff} 94 | .btn-openid{color:#fff;background-color:#f7931e;border-color:rgba(0,0,0,0.2)}.btn-openid:focus,.btn-openid.focus{color:#fff;background-color:#da7908;border-color:rgba(0,0,0,0.2)} 95 | .btn-openid:hover{color:#fff;background-color:#da7908;border-color:rgba(0,0,0,0.2)} 96 | .btn-openid:active,.btn-openid.active,.open>.dropdown-toggle.btn-openid{color:#fff;background-color:#da7908;border-color:rgba(0,0,0,0.2)}.btn-openid:active:hover,.btn-openid.active:hover,.open>.dropdown-toggle.btn-openid:hover,.btn-openid:active:focus,.btn-openid.active:focus,.open>.dropdown-toggle.btn-openid:focus,.btn-openid:active.focus,.btn-openid.active.focus,.open>.dropdown-toggle.btn-openid.focus{color:#fff;background-color:#b86607;border-color:rgba(0,0,0,0.2)} 97 | .btn-openid:active,.btn-openid.active,.open>.dropdown-toggle.btn-openid{background-image:none} 98 | .btn-openid.disabled,.btn-openid[disabled],fieldset[disabled] .btn-openid,.btn-openid.disabled:hover,.btn-openid[disabled]:hover,fieldset[disabled] .btn-openid:hover,.btn-openid.disabled:focus,.btn-openid[disabled]:focus,fieldset[disabled] .btn-openid:focus,.btn-openid.disabled.focus,.btn-openid[disabled].focus,fieldset[disabled] .btn-openid.focus,.btn-openid.disabled:active,.btn-openid[disabled]:active,fieldset[disabled] .btn-openid:active,.btn-openid.disabled.active,.btn-openid[disabled].active,fieldset[disabled] .btn-openid.active{background-color:#f7931e;border-color:rgba(0,0,0,0.2)} 99 | .btn-openid .badge{color:#f7931e;background-color:#fff} 100 | .btn-pinterest{color:#fff;background-color:#cb2027;border-color:rgba(0,0,0,0.2)}.btn-pinterest:focus,.btn-pinterest.focus{color:#fff;background-color:#9f191f;border-color:rgba(0,0,0,0.2)} 101 | .btn-pinterest:hover{color:#fff;background-color:#9f191f;border-color:rgba(0,0,0,0.2)} 102 | .btn-pinterest:active,.btn-pinterest.active,.open>.dropdown-toggle.btn-pinterest{color:#fff;background-color:#9f191f;border-color:rgba(0,0,0,0.2)}.btn-pinterest:active:hover,.btn-pinterest.active:hover,.open>.dropdown-toggle.btn-pinterest:hover,.btn-pinterest:active:focus,.btn-pinterest.active:focus,.open>.dropdown-toggle.btn-pinterest:focus,.btn-pinterest:active.focus,.btn-pinterest.active.focus,.open>.dropdown-toggle.btn-pinterest.focus{color:#fff;background-color:#801419;border-color:rgba(0,0,0,0.2)} 103 | .btn-pinterest:active,.btn-pinterest.active,.open>.dropdown-toggle.btn-pinterest{background-image:none} 104 | .btn-pinterest.disabled,.btn-pinterest[disabled],fieldset[disabled] .btn-pinterest,.btn-pinterest.disabled:hover,.btn-pinterest[disabled]:hover,fieldset[disabled] .btn-pinterest:hover,.btn-pinterest.disabled:focus,.btn-pinterest[disabled]:focus,fieldset[disabled] .btn-pinterest:focus,.btn-pinterest.disabled.focus,.btn-pinterest[disabled].focus,fieldset[disabled] .btn-pinterest.focus,.btn-pinterest.disabled:active,.btn-pinterest[disabled]:active,fieldset[disabled] .btn-pinterest:active,.btn-pinterest.disabled.active,.btn-pinterest[disabled].active,fieldset[disabled] .btn-pinterest.active{background-color:#cb2027;border-color:rgba(0,0,0,0.2)} 105 | .btn-pinterest .badge{color:#cb2027;background-color:#fff} 106 | .btn-reddit{color:#000;background-color:#eff7ff;border-color:rgba(0,0,0,0.2)}.btn-reddit:focus,.btn-reddit.focus{color:#000;background-color:#bcddff;border-color:rgba(0,0,0,0.2)} 107 | .btn-reddit:hover{color:#000;background-color:#bcddff;border-color:rgba(0,0,0,0.2)} 108 | .btn-reddit:active,.btn-reddit.active,.open>.dropdown-toggle.btn-reddit{color:#000;background-color:#bcddff;border-color:rgba(0,0,0,0.2)}.btn-reddit:active:hover,.btn-reddit.active:hover,.open>.dropdown-toggle.btn-reddit:hover,.btn-reddit:active:focus,.btn-reddit.active:focus,.open>.dropdown-toggle.btn-reddit:focus,.btn-reddit:active.focus,.btn-reddit.active.focus,.open>.dropdown-toggle.btn-reddit.focus{color:#000;background-color:#98ccff;border-color:rgba(0,0,0,0.2)} 109 | .btn-reddit:active,.btn-reddit.active,.open>.dropdown-toggle.btn-reddit{background-image:none} 110 | .btn-reddit.disabled,.btn-reddit[disabled],fieldset[disabled] .btn-reddit,.btn-reddit.disabled:hover,.btn-reddit[disabled]:hover,fieldset[disabled] .btn-reddit:hover,.btn-reddit.disabled:focus,.btn-reddit[disabled]:focus,fieldset[disabled] .btn-reddit:focus,.btn-reddit.disabled.focus,.btn-reddit[disabled].focus,fieldset[disabled] .btn-reddit.focus,.btn-reddit.disabled:active,.btn-reddit[disabled]:active,fieldset[disabled] .btn-reddit:active,.btn-reddit.disabled.active,.btn-reddit[disabled].active,fieldset[disabled] .btn-reddit.active{background-color:#eff7ff;border-color:rgba(0,0,0,0.2)} 111 | .btn-reddit .badge{color:#eff7ff;background-color:#000} 112 | .btn-soundcloud{color:#fff;background-color:#f50;border-color:rgba(0,0,0,0.2)}.btn-soundcloud:focus,.btn-soundcloud.focus{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2)} 113 | .btn-soundcloud:hover{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2)} 114 | .btn-soundcloud:active,.btn-soundcloud.active,.open>.dropdown-toggle.btn-soundcloud{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2)}.btn-soundcloud:active:hover,.btn-soundcloud.active:hover,.open>.dropdown-toggle.btn-soundcloud:hover,.btn-soundcloud:active:focus,.btn-soundcloud.active:focus,.open>.dropdown-toggle.btn-soundcloud:focus,.btn-soundcloud:active.focus,.btn-soundcloud.active.focus,.open>.dropdown-toggle.btn-soundcloud.focus{color:#fff;background-color:#a83800;border-color:rgba(0,0,0,0.2)} 115 | .btn-soundcloud:active,.btn-soundcloud.active,.open>.dropdown-toggle.btn-soundcloud{background-image:none} 116 | .btn-soundcloud.disabled,.btn-soundcloud[disabled],fieldset[disabled] .btn-soundcloud,.btn-soundcloud.disabled:hover,.btn-soundcloud[disabled]:hover,fieldset[disabled] .btn-soundcloud:hover,.btn-soundcloud.disabled:focus,.btn-soundcloud[disabled]:focus,fieldset[disabled] .btn-soundcloud:focus,.btn-soundcloud.disabled.focus,.btn-soundcloud[disabled].focus,fieldset[disabled] .btn-soundcloud.focus,.btn-soundcloud.disabled:active,.btn-soundcloud[disabled]:active,fieldset[disabled] .btn-soundcloud:active,.btn-soundcloud.disabled.active,.btn-soundcloud[disabled].active,fieldset[disabled] .btn-soundcloud.active{background-color:#f50;border-color:rgba(0,0,0,0.2)} 117 | .btn-soundcloud .badge{color:#f50;background-color:#fff} 118 | .btn-tumblr{color:#fff;background-color:#2c4762;border-color:rgba(0,0,0,0.2)}.btn-tumblr:focus,.btn-tumblr.focus{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2)} 119 | .btn-tumblr:hover{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2)} 120 | .btn-tumblr:active,.btn-tumblr.active,.open>.dropdown-toggle.btn-tumblr{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2)}.btn-tumblr:active:hover,.btn-tumblr.active:hover,.open>.dropdown-toggle.btn-tumblr:hover,.btn-tumblr:active:focus,.btn-tumblr.active:focus,.open>.dropdown-toggle.btn-tumblr:focus,.btn-tumblr:active.focus,.btn-tumblr.active.focus,.open>.dropdown-toggle.btn-tumblr.focus{color:#fff;background-color:#111c26;border-color:rgba(0,0,0,0.2)} 121 | .btn-tumblr:active,.btn-tumblr.active,.open>.dropdown-toggle.btn-tumblr{background-image:none} 122 | .btn-tumblr.disabled,.btn-tumblr[disabled],fieldset[disabled] .btn-tumblr,.btn-tumblr.disabled:hover,.btn-tumblr[disabled]:hover,fieldset[disabled] .btn-tumblr:hover,.btn-tumblr.disabled:focus,.btn-tumblr[disabled]:focus,fieldset[disabled] .btn-tumblr:focus,.btn-tumblr.disabled.focus,.btn-tumblr[disabled].focus,fieldset[disabled] .btn-tumblr.focus,.btn-tumblr.disabled:active,.btn-tumblr[disabled]:active,fieldset[disabled] .btn-tumblr:active,.btn-tumblr.disabled.active,.btn-tumblr[disabled].active,fieldset[disabled] .btn-tumblr.active{background-color:#2c4762;border-color:rgba(0,0,0,0.2)} 123 | .btn-tumblr .badge{color:#2c4762;background-color:#fff} 124 | .btn-twitter{color:#fff;background-color:#55acee;border-color:rgba(0,0,0,0.2)}.btn-twitter:focus,.btn-twitter.focus{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2)} 125 | .btn-twitter:hover{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2)} 126 | .btn-twitter:active,.btn-twitter.active,.open>.dropdown-toggle.btn-twitter{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2)}.btn-twitter:active:hover,.btn-twitter.active:hover,.open>.dropdown-toggle.btn-twitter:hover,.btn-twitter:active:focus,.btn-twitter.active:focus,.open>.dropdown-toggle.btn-twitter:focus,.btn-twitter:active.focus,.btn-twitter.active.focus,.open>.dropdown-toggle.btn-twitter.focus{color:#fff;background-color:#1583d7;border-color:rgba(0,0,0,0.2)} 127 | .btn-twitter:active,.btn-twitter.active,.open>.dropdown-toggle.btn-twitter{background-image:none} 128 | .btn-twitter.disabled,.btn-twitter[disabled],fieldset[disabled] .btn-twitter,.btn-twitter.disabled:hover,.btn-twitter[disabled]:hover,fieldset[disabled] .btn-twitter:hover,.btn-twitter.disabled:focus,.btn-twitter[disabled]:focus,fieldset[disabled] .btn-twitter:focus,.btn-twitter.disabled.focus,.btn-twitter[disabled].focus,fieldset[disabled] .btn-twitter.focus,.btn-twitter.disabled:active,.btn-twitter[disabled]:active,fieldset[disabled] .btn-twitter:active,.btn-twitter.disabled.active,.btn-twitter[disabled].active,fieldset[disabled] .btn-twitter.active{background-color:#55acee;border-color:rgba(0,0,0,0.2)} 129 | .btn-twitter .badge{color:#55acee;background-color:#fff} 130 | .btn-vimeo{color:#fff;background-color:#1ab7ea;border-color:rgba(0,0,0,0.2)}.btn-vimeo:focus,.btn-vimeo.focus{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2)} 131 | .btn-vimeo:hover{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2)} 132 | .btn-vimeo:active,.btn-vimeo.active,.open>.dropdown-toggle.btn-vimeo{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2)}.btn-vimeo:active:hover,.btn-vimeo.active:hover,.open>.dropdown-toggle.btn-vimeo:hover,.btn-vimeo:active:focus,.btn-vimeo.active:focus,.open>.dropdown-toggle.btn-vimeo:focus,.btn-vimeo:active.focus,.btn-vimeo.active.focus,.open>.dropdown-toggle.btn-vimeo.focus{color:#fff;background-color:#0f7b9f;border-color:rgba(0,0,0,0.2)} 133 | .btn-vimeo:active,.btn-vimeo.active,.open>.dropdown-toggle.btn-vimeo{background-image:none} 134 | .btn-vimeo.disabled,.btn-vimeo[disabled],fieldset[disabled] .btn-vimeo,.btn-vimeo.disabled:hover,.btn-vimeo[disabled]:hover,fieldset[disabled] .btn-vimeo:hover,.btn-vimeo.disabled:focus,.btn-vimeo[disabled]:focus,fieldset[disabled] .btn-vimeo:focus,.btn-vimeo.disabled.focus,.btn-vimeo[disabled].focus,fieldset[disabled] .btn-vimeo.focus,.btn-vimeo.disabled:active,.btn-vimeo[disabled]:active,fieldset[disabled] .btn-vimeo:active,.btn-vimeo.disabled.active,.btn-vimeo[disabled].active,fieldset[disabled] .btn-vimeo.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2)} 135 | .btn-vimeo .badge{color:#1ab7ea;background-color:#fff} 136 | .btn-vk{color:#fff;background-color:#587ea3;border-color:rgba(0,0,0,0.2)}.btn-vk:focus,.btn-vk.focus{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2)} 137 | .btn-vk:hover{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2)} 138 | .btn-vk:active,.btn-vk.active,.open>.dropdown-toggle.btn-vk{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2)}.btn-vk:active:hover,.btn-vk.active:hover,.open>.dropdown-toggle.btn-vk:hover,.btn-vk:active:focus,.btn-vk.active:focus,.open>.dropdown-toggle.btn-vk:focus,.btn-vk:active.focus,.btn-vk.active.focus,.open>.dropdown-toggle.btn-vk.focus{color:#fff;background-color:#3a526b;border-color:rgba(0,0,0,0.2)} 139 | .btn-vk:active,.btn-vk.active,.open>.dropdown-toggle.btn-vk{background-image:none} 140 | .btn-vk.disabled,.btn-vk[disabled],fieldset[disabled] .btn-vk,.btn-vk.disabled:hover,.btn-vk[disabled]:hover,fieldset[disabled] .btn-vk:hover,.btn-vk.disabled:focus,.btn-vk[disabled]:focus,fieldset[disabled] .btn-vk:focus,.btn-vk.disabled.focus,.btn-vk[disabled].focus,fieldset[disabled] .btn-vk.focus,.btn-vk.disabled:active,.btn-vk[disabled]:active,fieldset[disabled] .btn-vk:active,.btn-vk.disabled.active,.btn-vk[disabled].active,fieldset[disabled] .btn-vk.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2)} 141 | .btn-vk .badge{color:#587ea3;background-color:#fff} 142 | .btn-yahoo{color:#fff;background-color:#720e9e;border-color:rgba(0,0,0,0.2)}.btn-yahoo:focus,.btn-yahoo.focus{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2)} 143 | .btn-yahoo:hover{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2)} 144 | .btn-yahoo:active,.btn-yahoo.active,.open>.dropdown-toggle.btn-yahoo{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2)}.btn-yahoo:active:hover,.btn-yahoo.active:hover,.open>.dropdown-toggle.btn-yahoo:hover,.btn-yahoo:active:focus,.btn-yahoo.active:focus,.open>.dropdown-toggle.btn-yahoo:focus,.btn-yahoo:active.focus,.btn-yahoo.active.focus,.open>.dropdown-toggle.btn-yahoo.focus{color:#fff;background-color:#39074e;border-color:rgba(0,0,0,0.2)} 145 | .btn-yahoo:active,.btn-yahoo.active,.open>.dropdown-toggle.btn-yahoo{background-image:none} 146 | .btn-yahoo.disabled,.btn-yahoo[disabled],fieldset[disabled] .btn-yahoo,.btn-yahoo.disabled:hover,.btn-yahoo[disabled]:hover,fieldset[disabled] .btn-yahoo:hover,.btn-yahoo.disabled:focus,.btn-yahoo[disabled]:focus,fieldset[disabled] .btn-yahoo:focus,.btn-yahoo.disabled.focus,.btn-yahoo[disabled].focus,fieldset[disabled] .btn-yahoo.focus,.btn-yahoo.disabled:active,.btn-yahoo[disabled]:active,fieldset[disabled] .btn-yahoo:active,.btn-yahoo.disabled.active,.btn-yahoo[disabled].active,fieldset[disabled] .btn-yahoo.active{background-color:#720e9e;border-color:rgba(0,0,0,0.2)} 147 | .btn-yahoo .badge{color:#720e9e;background-color:#fff} 148 | --------------------------------------------------------------------------------