Skip to content

Commit

Permalink
Use less for CSS processing.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed Jun 28, 2009
1 parent 5501c2b commit 4560d5a
Show file tree
Hide file tree
Showing 2 changed files with 152 additions and 162 deletions.
152 changes: 152 additions & 0 deletions _stylesheets/root.less
@@ -0,0 +1,152 @@
@light_gray: rgb(200, 200, 200);
@dark_gray: rgb(75, 75, 75);

@nav_width: 200px;

body
{
background-color: rgb(0, 0, 0);
color: @light_gray;
font-family: sans-serif, serif;
}

a:link, a:visited
{
color: rgb(0, 190, 255);
text-decoration: none;
}

a:hover
{
text-decoration: none;
background-color: @dark_gray;
}

a:focus
{
color: #660099;
text-decoration: none;
}

a:active
{
color: #990099;
text-decoration: none;
}

.title
{
padding: 5px;
width: 45%;
}

.linkbox, #github-badge
{
width: @nav_width;
border-style: dashed;
border-width: 1px;
border-color: @light_gray;
padding: 5px;
margin-bottom: 10px;
}

.linkbox
{
display: block;
background-color: rgb(0, 0, 0);

ul
{
margin: 0;
padding: 0;
list-style-type: none;
}

li
{
position: relative;
display: block;
padding: 2px 2px 2px 2px;
border-bottom: 1px solid @light_gray;
}

li:last-child
{
border-bottom: none;
}

a
{
display: block;
}

.linkbox
{
position: absolute;
top: 0;
left: 100%;
right: 100%;
margin: 5px;
display: none;
}
}

#left
{
position: fixed;
top: 15px;
width: 15%;
z-index: 2;
}

#content
{
position: absolute;
left: @nav_width + 25;
top: 0;
}

#content div, p
{
line-height: 1.5;
}

.box
{
margin: 15px;
padding: 5px;
border: 1px solid rgb(38, 112, 255);
background-color: rgb(0, 0, 0);

h4
{
margin: 0px;
padding: 5px;
text-align: center;
background-color: @dark_gray;
color: rgb(0,0,0);
font-weight: normal;
}
}

.box h1, h2
{
font-weight: normal;
border-bottom: 1px solid rgb(45, 45, 45);
border-top: 1px solid rgb(45, 45, 45);
padding-left: 10px;
margin-top: 10px;
color: @dark_gray;
}

.figure
{
text-align: center;

img
{
display: block;
margin-left: auto;
margin-right: auto;
}
}
162 changes: 0 additions & 162 deletions css/root.css

This file was deleted.

0 comments on commit 4560d5a

Please sign in to comment.