Simplified code further.
This commit is contained in:
parent
c5397d8922
commit
9487cc42c5
@ -1,33 +0,0 @@
|
|||||||
#main {
|
|
||||||
font-family: "Ubuntu", sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
img#me {
|
|
||||||
position: relative;
|
|
||||||
width: 240px;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*img#me.fixed {
|
|
||||||
position: fixed;
|
|
||||||
top: 48px;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
#skills, #about-me, #hobbies {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
width: 600px;
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
#skills ul {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0 0 2em 2em;
|
|
||||||
font-size: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#skills p, #about-me p, #hobbies p {
|
|
||||||
margin: 0 0 1em;
|
|
||||||
text-indent: 2.5em;
|
|
||||||
font-size: 1em;
|
|
||||||
}
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
img#error-cat {
|
#error-cat {
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
width: 240px;
|
width: 240px;
|
||||||
}
|
}
|
||||||
@ -1,50 +1,30 @@
|
|||||||
.item {
|
|
||||||
display: block;
|
|
||||||
margin: 1em 0 3em;
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item img {
|
|
||||||
margin: 0 16px 16px 0;
|
|
||||||
box-shadow: 0 0 16px 4px #000;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item a {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item h3 {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item p {
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section {
|
.section {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 2em 0 0;
|
padding: 2em 0 0;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
#android .item img {
|
#me {
|
||||||
|
position: relative;
|
||||||
width: 240px;
|
width: 240px;
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#websites .item img {
|
.about-section {
|
||||||
width: 320px;
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
width: 600px;
|
||||||
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sysadmin .item img {
|
.about-section ul {
|
||||||
width: 320px;
|
margin: 0;
|
||||||
|
padding: 0 0 2em 2em;
|
||||||
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 650px) {
|
.about-section p {
|
||||||
#android img, #websites img, #sysadmin img {
|
margin: 0 0 1em;
|
||||||
display: block;
|
text-indent: 2.5em;
|
||||||
float: none;
|
font-size: 1em;
|
||||||
clear: both;
|
|
||||||
margin: 1em auto;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -35,7 +35,7 @@ a:visited {
|
|||||||
font-family: "Ubuntu Mono", monospace;
|
font-family: "Ubuntu Mono", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header img#logo {
|
#logo {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
float: left;
|
float: left;
|
||||||
@ -49,18 +49,18 @@ a:visited {
|
|||||||
font-size: 2.5em;
|
font-size: 2.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header h2#tagline {
|
#tagline {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: .75em;
|
font-size: .75em;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header #name {
|
#name {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-family: "Ubuntu", sans-serif;
|
font-family: "Ubuntu", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header #name a {
|
#name a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -74,23 +74,6 @@ a:visited {
|
|||||||
background: #000;
|
background: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav.top {
|
|
||||||
position: relative;
|
|
||||||
top: auto;
|
|
||||||
left: auto;
|
|
||||||
padding: 0;
|
|
||||||
font-size: .85em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav.scrolled {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
padding: 4px;
|
|
||||||
font-size: .7em;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav ul {
|
#nav ul {
|
||||||
clear: both;
|
clear: both;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -101,16 +84,9 @@ a:visited {
|
|||||||
#nav li {
|
#nav li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
|
||||||
|
|
||||||
#nav.top li {
|
|
||||||
padding: 0 1em 0;
|
padding: 0 1em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav.scrolled li {
|
|
||||||
padding: 0 .65em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav li.selected a {
|
#nav li.selected a {
|
||||||
color: #099;
|
color: #099;
|
||||||
}
|
}
|
||||||
@ -119,30 +95,6 @@ a:visited {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav.top #top-link {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav.scrolled #top-link {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
#small-logo {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
vertical-align: middle;
|
|
||||||
display: none;
|
|
||||||
width: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav.top #small-logo {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav.scrolled #small-logo {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Main body */
|
/* Main body */
|
||||||
#main {
|
#main {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -228,15 +180,6 @@ body {
|
|||||||
#header {
|
#header {
|
||||||
font-size: 1.75em;
|
font-size: 1.75em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav.scrolled {
|
|
||||||
max-width: 980px;
|
|
||||||
font-size: .9em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#nav.scrolled #small-logo {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
@ -250,7 +193,7 @@ body {
|
|||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header img#logo {
|
#logo {
|
||||||
display: block;
|
display: block;
|
||||||
width: 128px;
|
width: 128px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@ -268,13 +211,9 @@ body {
|
|||||||
min-width: 480px;
|
min-width: 480px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header img#logo {
|
#logo {
|
||||||
display: block;
|
display: block;
|
||||||
width: 64px;
|
width: 64px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#greeting {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,49 +2,32 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>ianonavy{% block title %}{% endblock title %}</title>
|
<title>ianonavy{% block title %}{% endblock title %}</title>
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="keywords" content="ianonavy, freelance, android, web, developer, ian, adam, naval">
|
<meta name="keywords" content="ianonavy, freelance, android, web, developer, ian, adam, naval">
|
||||||
<meta name="description" content="Portfolio for software engineer and sysadmin Ian Adam Naval.">
|
<meta name="description" content="Portfolio for software engineer and sysadmin Ian Adam Naval.">
|
||||||
<meta name="author" content="Ian Adam Naval">
|
<meta name="author" content="Ian Adam Naval">
|
||||||
<meta name="robots" content="index,follow">
|
<meta name="robots" content="index,follow">
|
||||||
|
|
||||||
<link href="http://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet" type="text/css" media="all">
|
<link href="http://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet" type="text/css" media="all">
|
||||||
<link href="http://fonts.googleapis.com/css?family=Ubuntu+Mono" rel="stylesheet" type="text/css" media="all">
|
<link href="http://fonts.googleapis.com/css?family=Ubuntu+Mono" rel="stylesheet" type="text/css" media="all">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" type="text/css" media="screen" />
|
<link href="{{ url_for('static', filename='css/style.css') }}"rel="stylesheet" type="text/css" media="screen" />
|
||||||
{% block extrastyle %}{% endblock %}
|
{% block extrastyle %}{% endblock extrastyle %}
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script type="text/javascript" src="{{ url_for('static', filename='lib/modernizr.js') }}"></script>
|
|
||||||
<script type="text/javascript" src="{{ url_for('static', filename='lib/html5shiv.js') }}"></script>
|
|
||||||
<![endif]-->
|
|
||||||
<script type="text/javascript">
|
|
||||||
var _gaq = _gaq || [];
|
|
||||||
_gaq.push(['_setAccount', 'UA-33981209-1']);
|
|
||||||
_gaq.push(['_trackPageview']);
|
|
||||||
|
|
||||||
(function() {
|
|
||||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
||||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
||||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!--[if lt IE 8]><p>Sorry, your browser is not supported! You can try to use this website with your current browser, but we make no guarantees that it will work or look good. Please try using a different browser such as <a href="http://www.google.com/chrome">Google Chrome</a> or <a href="http://www.getfirefox.com/">Mozilla Firefox</a>. If you really want to stick with Internet Explorer, please <a href="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home"> upgrade your browser</a> to at least IE 9.</p><![endif]-->
|
|
||||||
<header id="header">
|
<header id="header">
|
||||||
<a href="/"><img id="logo" src="{{ url_for('static', filename='img/logo-196.png') }}" alt="ianonavy logo" /></a>
|
<a href="/"><img id="logo" src="{{ url_for('static', filename='img/logo-196.png') }}" alt="ianonavy logo" /></a>
|
||||||
<h1 id="name"><a href="/">Ian Adam Naval</a></h1>
|
<h1 id="name"><a href="/">Ian Adam Naval</a></h1>
|
||||||
<h2 id="tagline">Software engineer/sysadmin from Los Angeles, CA</h2>
|
<h2 id="tagline">Software engineer/sysadmin from Los Angeles, CA</h2>
|
||||||
|
|
||||||
<nav id="nav" class="top">
|
<nav id="nav">
|
||||||
<a href="/"><img id="small-logo" src="{{ url_for('static', filename='img/logo-24.png') }}" alt="small ianonavy logo" /></a>
|
|
||||||
<ul>
|
<ul>
|
||||||
<li{% block nav_portfolio %}{% endblock nav_portfolio %}><a href="{{ url_for('home') }}#portfolio">Portfolio</a></li>
|
<li><a href="{{ url_for('home') }}#portfolio">Portfolio</a></li>
|
||||||
<li{% block nav_about %}{% endblock nav_about %}><a href="{{ url_for('home') }}#about">About</a></li>
|
<li><a href="{{ url_for('home') }}#about">About</a></li>
|
||||||
<li{% block nav_contact %}{% endblock nav_contact %}><a href="{{ url_for('home') }}#contact">Contact</a></li>
|
<li><a href="{{ url_for('home') }}#contact">Contact</a></li>
|
||||||
<li{% block nav_labs %}{% endblock nav_labs %}><a href="{{ url_for('labs') }}">Labs</a></li>
|
<li><a href="{{ url_for('labs') }}">Labs</a></li>
|
||||||
<li{% block nav_code %}{% endblock nav_code %}><a href="http://www.github.com/ianonavy">Code</a></li>
|
<li><a href="http://www.github.com/ianonavy">Code</a></li>
|
||||||
<li{% block nav_blog %}{% endblock nav_blog %}><a href="http://blog.ianonavy.com/">Blog</a></li>
|
|
||||||
<li id="top-link"><a href="javascript:scrollToTop();">^Top^</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
@ -57,6 +40,17 @@
|
|||||||
<footer id="footer">
|
<footer id="footer">
|
||||||
{% block footer %}Copyright © 2014 Ian Adam Naval. All rights reserved.{% endblock footer %}
|
{% block footer %}Copyright © 2014 Ian Adam Naval. All rights reserved.{% endblock footer %}
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var _gaq = _gaq || [];
|
||||||
|
_gaq.push(['_setAccount', 'UA-33981209-1']);
|
||||||
|
_gaq.push(['_trackPageview']);
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||||
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||||
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -1,21 +1,19 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block nav_portfolio %} class="selected" {% endblock %}
|
{% block extrastyle %}<link rel="stylesheet" href="{{ url_for('static', filename='css/portfolio.css') }}" type="text/css" media="screen" />{% endblock %}
|
||||||
{% block extrastyle %}<link rel="stylesheet" href="{{ url_for('static', filename='css/portfolio.css') }}" type="text/css" media="screen" />
|
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/about.css') }}" type="text/css" media="screen" />{% endblock %}
|
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
||||||
<section id="portfolio">
|
<div id="portfolio">
|
||||||
<h2>Portfolio</h2>
|
<h2>Portfolio</h2>
|
||||||
<p><a class="button" href='http://files.ianonavy.com/resume.pdf'>View Resume</a></p>
|
<p><a class="button" href='http://files.ianonavy.com/resume.pdf'>View Resume</a></p>
|
||||||
</section>
|
</div>
|
||||||
|
|
||||||
<section id="about">
|
<div id="about">
|
||||||
<h2>About</h2>
|
<h2>About</h2>
|
||||||
<img id="me" src="{{ url_for('static', filename='img/ian.jpg') }}" alt="Picture of Ian Naval" />
|
<img id="me" src="{{ url_for('static', filename='img/ian.jpg') }}" alt="Picture of Ian Naval" />
|
||||||
|
|
||||||
<div id="skills">
|
<div id="skills" class="about-section">
|
||||||
<h3>Skills</h3>
|
<h3>Skills</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Learns fast.</li>
|
<li>Learns fast.</li>
|
||||||
@ -27,7 +25,7 @@
|
|||||||
<li>Experience with Flask, Django, node.js, and AngularJS.</li>
|
<li>Experience with Flask, Django, node.js, and AngularJS.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="about-me">
|
<div id="about-me" class="about-section">
|
||||||
<h3>Facts</h3>
|
<h3>Facts</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Likes potatoes, music and language.</li>
|
<li>Likes potatoes, music and language.</li>
|
||||||
@ -35,11 +33,11 @@
|
|||||||
<li>Does not own those glasses.</li>
|
<li>Does not own those glasses.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</div>
|
||||||
|
|
||||||
<section id="contact">
|
<div id="contact">
|
||||||
<h2>Contact</h2>
|
<h2>Contact</h2>
|
||||||
<p>See my <a href='http://files.ianonavy.com/resume.pdf'>résumé</a>.</p>
|
<p>Information is on my <a href='http://files.ianonavy.com/resume.pdf'>résumé</a>.</p>
|
||||||
</section>
|
</div>
|
||||||
|
|
||||||
{% endblock main %}
|
{% endblock main %}
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block title %} | Labs{% endblock %}
|
{% block title %} | Labs{% endblock %}
|
||||||
{% block nav_labs %} class="selected" {% endblock %}
|
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<h2>Labs</h2>
|
<h2>Labs</h2>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user