Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions css/banner.styl
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#banner {
position: relative
margin-left: 272px
}

.cut-origin {
margin-left: -643px
}

.cut-medieval {
margin-left: -550px
}

.cut-cmc {
margin-left: -451px
}

.cut-fantasy {
margin-left: -353px
}

.cut-mars {
margin-left: -247px
}

.cut-western {
margin-top: 20px
margin-left: -148px
}

.snow {
position: absolute
margin-top: 0px
margin-left: -600px
height: 50px

-webkit-animation: winter 1s linear infinite
}


[class^="cut"] {
top: 8px
position: absolute
}

@-webkit-keyframes winter {
0% { bottom: 0px }
100% { bottom: -50px }
}
5 changes: 2 additions & 3 deletions css/layout.styl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ header {
text-decoration: none
}


nav {
background: #D4D4D4
white-space: nowrap
Expand Down Expand Up @@ -92,6 +93,4 @@ footer {
a:hover {
color: white
}
}


}
12 changes: 11 additions & 1 deletion html/layout.ect
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,21 @@
<% content 'head' %>
<link rel="stylesheet" href="/css/clonkspot.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="/css/pages.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="/css/banner.css" type="text/css" charset="utf-8">
</head>
<body>
<header>
<a href="/">
<img src="/images/header.jpg" alt="header">
<div id="banner">
<img src="/images/header/cut_all.png" alt="header">
<img src="/images/header/cut_origin.png" alt="header" class="cut-origin">
<img src="/images/header/cut_medieval.png" alt="header" class="cut-medieval">
<img src="/images/header/cut_cmc.png" alt="header" class="cut-cmc">
<img src="/images/header/cut_fantasy.png" alt="header" class="cut-fantasy">
<img src="/images/header/cut_mars.png" alt="header" class="cut-mars">
<img src="/images/header/cut_western.png" alt="header" class="cut-western">
</div>

<div class="logo">
<img src="/images/logo.png" alt="clonkspot - your hub for Clonk.">
</div>
Expand Down
44 changes: 44 additions & 0 deletions public/css/clonkspot.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
#banner {
position: relative;
margin-left: 272px;
}
.cut-origin {
margin-left: -643px;
}
.cut-medieval {
margin-left: -550px;
}
.cut-cmc {
margin-left: -451px;
}
.cut-fantasy {
margin-left: -353px;
}
.cut-mars {
margin-left: -247px;
}
.cut-western {
margin-top: 20px;
margin-left: -148px;
}
.snow {
position: absolute;
margin-top: 0px;
margin-left: -600px;
height: 50px;
-webkit-animation: winter 1s linear infinite;
}
[class^="cut"] {
top: 8px;
position: absolute;
}
@-webkit-keyframes winter {
0% {
bottom: 0px;
}

100% {
bottom: -50px;
}
}

/* Clonkspot CSS */
html {
background: #b3b3b3 url("/images/bg.jpg") no-repeat;
Expand Down