Skip to content

Commit

Permalink
Upgrade to FontAwesome 5
Browse files Browse the repository at this point in the history
  • Loading branch information
akoeplinger committed Mar 23, 2018
1 parent dbd4bab commit ec2e486
Show file tree
Hide file tree
Showing 10 changed files with 90 additions and 87 deletions.
22 changes: 11 additions & 11 deletions _includes/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1>Download</h1>
</p>

{% if include.releasename == "VS" %}
<div data-alert class="alert-box secondary"><h6><i class="fa fa-info-circle"></i> The Visual Studio release channel contains packages which are shipped as part of a Visual Studio for Mac release. They are the most tested but also the least frequently updated packages.</h6></div>
<div data-alert class="alert-box secondary"><h6><i class="fas fa-info-circle"></i> The Visual Studio release channel contains packages which are shipped as part of a Visual Studio for Mac release. They are the most tested but also the least frequently updated packages.</h6></div>
{% endif %}

{% if include.releasename == "VS" %}
Expand All @@ -45,11 +45,11 @@ <h5>The latest {{ include.releasename }} Mono release is: <strong>{{ include.rel
<p>Please choose your operating system to view the available packages. Source code is available on <a href="https://github.com/mono/mono">GitHub</a> (viewing only) or as a <a href="https://download.mono-project.com/sources/mono/{% if include.releasename == "Nightly" %}nightly/{% endif %}">Tarball</a>.</p>

<dl id="mono-download" class="tabs horizontal" data-tab data-options="deep_linking: true; scroll_to_content: false">
<dd class="active"><a href="#download-mac"><i class="fa fa-apple"></i>&nbsp;Mac OS X</a></dd>
<dd><a href="#download-lin"><i class="fa fa-linux"></i>&nbsp;Linux</a></dd>
<dd><a href="#download-win"><i class="fa fa-windows"></i>&nbsp;Windows</a></dd>
<dd class="active"><a href="#download-mac"><i class="fab fa-apple"></i>&nbsp;Mac OS X</a></dd>
<dd><a href="#download-lin"><i class="fab fa-linux"></i>&nbsp;Linux</a></dd>
<dd><a href="#download-win"><i class="fab fa-windows"></i>&nbsp;Windows</a></dd>
{% if include.releasename == "Stable" %}
<dd><a href="#download-docker"><i class="fa fa-docker" />&nbsp;Docker</a></dd>
<dd><a href="#download-docker"><i class="fab fa-docker"></i>&nbsp;Docker</a></dd>
{% endif %}
</dl>

Expand All @@ -59,8 +59,8 @@ <h3>Mono for Mac OS X is available as a Mac Package (.pkg)</h3>
<p>Please refer to the <a href="/docs/getting-started/install/mac">installation guide</a> for more information about how to install and configure your Mono environment.</p>
<div>
{% if include.releasename == "Stable" %}
<a href="{{site.data.vsrelease.mono_mac_url}}" class="button radius"><i class="fa fa-download"></i> Download Mono {{ site.data.vsrelease.version | split: ' ' | first }} (Visual Studio channel*)</a>
<a href="{{site.data.stablerelease.mono_mac_url}}" class="button radius button-less-important"><i class="fa fa-download"></i> Download Mono {{ site.data.stablerelease.version | split: ' ' | first }} (Stable channel)</a>
<a href="{{site.data.vsrelease.mono_mac_url}}" class="button radius"><i class="fas fa-download"></i> Download Mono {{ site.data.vsrelease.version | split: ' ' | first }} (Visual Studio channel*)</a>
<a href="{{site.data.stablerelease.mono_mac_url}}" class="button radius button-less-important"><i class="fas fa-download"></i> Download Mono {{ site.data.stablerelease.version | split: ' ' | first }} (Stable channel)</a>
{% else %}
{% if include.releasename == "Nightly" %}
{% assign mono_mac_url = 'https://download.mono-project.com/archive/nightly/macos-10-universal/' %}
Expand All @@ -69,7 +69,7 @@ <h3>Mono for Mac OS X is available as a Mac Package (.pkg)</h3>
{% else %}
{% assign mono_mac_url = include.releasedata.mono_mac_url %}
{% endif %}
<a href="{{mono_mac_url}}" class="button radius"><i class="fa fa-download"></i> Download Mono</a>
<a href="{{mono_mac_url}}" class="button radius"><i class="fas fa-download"></i> Download Mono</a>
{% endif %}
<p>Supported on Mac OS X 10.7 and later.</p>
</div>
Expand Down Expand Up @@ -348,16 +348,16 @@ <h3>Mono for Windows is available as a Windows Installer file</h3>
{% assign mono_windows_url = include.releasedata.mono_windows_url %}
{% assign mono_windows64_url = include.releasedata.mono_windows64_url %}
{% endif %}
<a href="{{mono_windows_url}}" class="button radius"><i class="fa fa-download"></i> Download Mono 32-bit</a>
<a href="{{mono_windows64_url}}" class="button radius"><i class="fa fa-download"></i> Download Mono 64-bit (no GTK#)</a>
<a href="{{mono_windows_url}}" class="button radius"><i class="fas fa-download"></i> Download Mono 32-bit</a>
<a href="{{mono_windows64_url}}" class="button radius"><i class="fas fa-download"></i> Download Mono 64-bit (no GTK#)</a>
</div>
<p>Supported on Windows 7, 8, 10 or later.</p>
{% if include.releasename != "Nightly" %}
<hr />
<h5>GTK# for .NET</h5>
<p>Installer for running Gtk#-based applications on Microsoft .NET:</p>
<div>
<a href="{{ include.releasedata.gtksharp_windows_url }}" class="button radius small"><i class="fa fa-download"></i> Download Gtk#</a>
<a href="{{ include.releasedata.gtksharp_windows_url }}" class="button radius small"><i class="fas fa-download"></i> Download Gtk#</a>
</div>
{% endif %}
</div>
Expand Down
22 changes: 13 additions & 9 deletions _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
{% feed_meta %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/5.3.0/css/normalize.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/5.3.0/css/foundation.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/styles/github.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/0.9.9/magnific-popup.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/solid.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/brands.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/fontawesome.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans" />
<link rel="stylesheet" href="/css/main.css?version={{site.time | date_to_xmlschema | cgi_escape}}" />
<link rel="stylesheet" href="https://uhf.microsoft.com/mscc/statics/mscc-0.4.0.min.css" />
Expand Down Expand Up @@ -44,7 +46,9 @@
<body>
<div id="main-wrapper">
<div id="header-nav" class="contain-to-grid">
{% if site.github.repository_url %}
<div id="msccBanner" dir="ltr" data-site-name="Mono Project" data-mscc-version="0.4.0" class="cc-banner" role="alert"><div class="cc-container"><svg class="cc-icon cc-v-center" x="0px" y="0px" viewBox="0 0 44 44" height="30px" fill="none" stroke="currentColor"><circle cx="22" cy="22" r="20" stroke-width="2"></circle><line x1="22" x2="22" y1="18" y2="33" stroke-width="3"></line><line x1="22" x2="22" y1="12" y2="15" stroke-width="3"></line></svg> <span class="cc-v-center cc-text">This site uses cookies for analytics. By continuing to browse this site, you agree to this use.</span> <a href="https://go.microsoft.com/fwlink/?linkid=845480" aria-label="Learn more about Microsoft's Cookie Policy" id="msccLearnMore" class="cc-link cc-v-center cc-float-right" data-mscc-ic="false">Learn more</a></div></div>
{% endif %}

<nav class="top-bar" data-topbar>
<ul class="title-area">
Expand All @@ -57,11 +61,11 @@ <h1><a href="/"><img alt="Mono Logo" src="/images/mono-gorilla.svg" onerror="thi
<section class="top-bar-section">
<!-- Right Nav Section -->
<ul class="right">
<li {% if page.navgroup == "home" or layout.navgroup == "home" %}class="active"{% endif %}><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li {% if page.navgroup == "download" or layout.navgroup == "download" %}class="active"{% endif %}><a href="/download/stable/"><i class="fa fa-download"></i> Download</a></li>
<li {% if page.navgroup == "docs" or layout.navgroup == "docs" %}class="active"{% endif %}><a href="/docs/"><i class="fa fa-book"></i> Documentation</a></li>
<li {% if page.navgroup == "news" or layout.navgroup == "news" %}class="active"{% endif %}><a href="/news/"><i class="fa fa-bullhorn"></i> News</a></li>
<li {% if page.navgroup == "community" or layout.navgroup == "community" %}class="active"{% endif %}><a href="/community/"><i class="fa fa-github"></i> Community</a></li>
<li {% if page.navgroup == "home" or layout.navgroup == "home" %}class="active"{% endif %}><a href="/"><i class="fas fa-home"></i> Home</a></li>
<li {% if page.navgroup == "download" or layout.navgroup == "download" %}class="active"{% endif %}><a href="/download/stable/"><i class="fas fa-download"></i> Download</a></li>
<li {% if page.navgroup == "docs" or layout.navgroup == "docs" %}class="active"{% endif %}><a href="/docs/"><i class="fas fa-book"></i> Documentation</a></li>
<li {% if page.navgroup == "news" or layout.navgroup == "news" %}class="active"{% endif %}><a href="/news/"><i class="fas fa-bullhorn"></i> News</a></li>
<li {% if page.navgroup == "community" or layout.navgroup == "community" %}class="active"{% endif %}><a href="/community/"><i class="fab fa-github"></i> Community</a></li>
<li class="has-form">
<form id="header-searchform" action="https://www.google.com/search" method="get">
<div class="row collapse">
Expand All @@ -70,7 +74,7 @@ <h1><a href="/"><img alt="Mono Logo" src="/images/mono-gorilla.svg" onerror="thi
<input name="q" type="text" placeholder="Search..." />
</div>
<div class="small-1 medium-3 large-2 columns">
<button type="submit" class="postfix button"><i class="fa fa-search"></i></button>
<button type="submit" class="postfix button"><i class="fas fa-search"></i></button>
</div>
</div>
</form>
Expand All @@ -97,11 +101,11 @@ <h1><a href="/"><img alt="Mono Logo" src="/images/mono-gorilla.svg" onerror="thi
</div>
<div class="right">
<a href="/atom.xml" title="RSS feed">
<i class="fa fa-rss fa-2x"></i>
<i class="fas fa-rss fa-2x"></i>
</a>
&nbsp;
<a href="https://github.com/mono/mono" title="GitHub repository">
<i class="fa fa-github fa-2x"></i>
<i class="fab fa-github fa-2x"></i>
</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/docpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h1 id="page-title">{{ page.title }}</h1>
{% if site.github.repository_url %}
<div class="meta">
<span data-tooltip class="has-tip" title="Help us improve the Mono website by fixing mistakes on GitHub.<br/>This link will take you directly to this page in our GitHub repository.">
<a href="{{site.github.repository_url}}/blob/gh-pages/{{page.path}}"><i class="fa fa-github"></i> Edit page on GitHub</a>
<a href="{{site.github.repository_url}}/blob/gh-pages/{{page.path}}"><i class="fab fa-github"></i> Edit page on GitHub</a>
</span>
</div>
<p></p>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/obsolete.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---
<div class="row">
<div class="small-12 columns">
<div data-alert class="alert-box warning"><h6><i class="fa fa-warning"></i> This page is likely <strong>outdated</strong>{% if page.lastmodified %} (last edited on {{page.lastmodified | date_to_string}}){% endif %}. Visit the <strong><a href="/docs/">new documentation</a></strong> for updated content.</h6></div>
<div data-alert class="alert-box warning"><h6><i class="fas fa-exclamation-triangle"></i> This page is likely <strong>outdated</strong>{% if page.lastmodified %} (last edited on {{page.lastmodified | date_to_string}}){% endif %}. Visit the <strong><a href="/docs/">new documentation</a></strong> for updated content.</h6></div>
{{ content }}
</div>
</div>
2 changes: 1 addition & 1 deletion _layouts/releasenotes.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% else %}
<div class="row">
<div class="small-12 columns">
<div data-alert class="alert-box warning"><h6><i class="fa fa-warning"></i> These notes are for a current or upcoming <strong>PREVIEW RELEASE</strong> and might not reflect the final release.</div>
<div data-alert class="alert-box warning"><h6><i class="fas fa-exclamation-triangle"></i> These notes are for a current or upcoming <strong>PREVIEW RELEASE</strong> and might not reflect the final release.</div>
</div>
</div>
{% endif %}
Expand Down
6 changes: 3 additions & 3 deletions community/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2>Contribute to the Project</h2>

<div class="clearfix">
<div class="left show-for-medium-up">
<i class="fa fa-fw fa-code-fork" style="font-size: 7em"></i>
<i class="fas fa-fw fa-code-branch" style="font-size: 6em"></i>
</div>
<div>
<p>Mono is an <strong>open source project</strong> and the code is available on <a href="https://github.com/mono/mono">GitHub</a>. To contribute bug fixes or new features, just fork the repository and send us a pull request!</p>
Expand All @@ -27,7 +27,7 @@ <h2>Report Bugs</h2>

<div class="clearfix">
<div class="left show-for-medium-up">
<i class="fa fa-fw fa-bug" style="font-size: 7em"></i>
<i class="fas fa-fw fa-bug" style="font-size: 6em"></i>
</div>
<div>
<p>Whenever you encounter something that doesn't work as it should, we'd love it if you could <a href="https://github.com/mono/mono/issues/new">open an issue on the Mono GitHub repo</a>.</p>
Expand All @@ -42,7 +42,7 @@ <h2>Get Help</h2>

<div class="clearfix">
<div class="left show-for-medium-up">
<i class="fa fa-fw fa-question" style="font-size: 7em"></i>
<i class="fas fa-fw fa-question" style="font-size: 6em"></i>
</div>
<div>
<p>We have several chat channels on Gitter where our developers hang out regularly. See <a href="/community/help/chat/">Chat</a> for more information about connecting to our channels.</p>
Expand Down
8 changes: 4 additions & 4 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ footer h6 a {
#index-teaser {
background: #EBEBEB;
color: #222;
margin-top: 10px;
margin-top: 20px;
padding-top: 10px;
margin-bottom: 20px;
padding-bottom: 10px;
Expand Down Expand Up @@ -261,17 +261,17 @@ pre.install-example {
}

.meta .author:before {
font: 1.0em FontAwesome;
font: 0.9em "Font Awesome 5 Free";
content: "\f007"
}

.meta .date:before {
font: 1.0em FontAwesome;
font: 0.9em "Font Awesome 5 Free";
content: "\f073"
}

.meta .tags:before {
font: 1.0em FontAwesome;
font: 0.9em "Font Awesome 5 Free";
content: "\f02c"
}

Expand Down
Loading

0 comments on commit ec2e486

Please sign in to comment.