Skip to content

Commit

Permalink
Cut out more bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
jfyne committed Feb 4, 2013
1 parent 900815e commit f67e4f6
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 26 deletions.
10 changes: 10 additions & 0 deletions app/assets/stylesheets/_variables.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* Variables in the site
*
*/

@primary: #033F5c;
@secondary: lighten(@primary, 15%);
@tertiary: lighten(@secondary, 15%);

@light: #ffffff;
30 changes: 28 additions & 2 deletions app/assets/stylesheets/main.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,33 @@
/**
* Copyright Accordo Partners 2013
*
* @author Josh Fyne
*/

@import "_variables.less";

body {
font-family: 'Roboto', sans-serif;
color: @secondary;
}

hr {
border: 1px solid;
margin: 2em;
}

h1,h2,h3,a {
text-transform: uppercase;
text-decoration: none;
color: @tertiary;
}

.btn {
background-color: @primary;
padding:10px;
color: @light;
}

h1,h2,h3 {
text-transform:uppercase;
nav > ul {
list-style: none;
}
28 changes: 14 additions & 14 deletions app/views/main.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@
<![endif]-->
</head>
<body>
<nav>
<ul>
<li><a href="@routes.Application.index">Home</a></li>
<li><a href="@routes.Application.about">About</a></li>
<li><a href="@routes.Application.solutions">Solutions</a></li>
<li><a href="@routes.Application.experience">Experience</a></li>
<li><a href="@routes.Application.expos("Upcoming")">Events</a></li>
<li><a href="@routes.Application.contact">Contact</a></li>
</ul>
</nav>

<header>
<nav>
<ul>
<li><a href="@routes.Application.index">Home</a></li>
<li><a href="@routes.Application.about">About</a></li>
<li><a href="@routes.Application.solutions">Solutions</a></li>
<li><a href="@routes.Application.experience">Experience</a></li>
<li><a href="@routes.Application.expos("Upcoming")">Events</a></li>
<li><a href="@routes.Application.contact">Contact</a></li>
</ul>
</nav>

<div class="container">
<h2>@title</h2>
<p class="lead">@subtitle</p>
Expand All @@ -39,9 +39,9 @@ <h2>@title</h2>

@content

<footer>
<p>&copy; Accordo Partners 2013</p>
</footer>
</div>
<footer>
<p>&copy; Accordo Partners 2013</p>
</footer>
</body>
</html>
Loading

0 comments on commit f67e4f6

Please sign in to comment.