Browse Source

marketing

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
74827d876e
  1. BIN
      app/assets/images/theme/check.png
  2. 42
      app/assets/stylesheets/marketing.css.scss
  3. 2
      app/assets/stylesheets/overrides.css.erb
  4. 22
      app/assets/stylesheets/theme/default.css.erb
  5. 8
      app/views/home/_headlines.html.erb
  6. 7
      app/views/home/index.html.erb

BIN
app/assets/images/theme/check.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 B

42
app/assets/stylesheets/marketing.css.scss

@ -1,3 +1,4 @@
@import "compass/css3/text-shadow";
@import "ui/buttons";
.marketing .header-inner {
@ -6,6 +7,27 @@
position: relative;
}
#main .marketing-block {
background-color: #261F1F;
.content h1 {
//text-align: center;
font-size: 32px;
//font-weight: bold;
padding-left: 30px;
padding-right: 30px;
background-color: #261F1F;
color: white;
em {
font-size: 26px;
color: #3e3d4c;
font-style: normal;
font-weight: normal;
color: white;
@include text-shadow(none, 0, 0, 0, 0);
}
}
}
.marketing-duo td {
vertical-align: top;
}
@ -16,14 +38,22 @@
float: none;
.block .content .marketing-inner {
padding: 0 30px 30px;
background-color: #e5ecf3;
padding: 20px 30px 30px;
@include border-bottom-radius(6px);
h2 {
font-size: 25px;
margin-top: 0;
}
p {
font-size: 18px;
line-height: 1em;
line-height: 1.2em;
color: #555;
}
.marketing-text li {
list-style-image: url(image_path('theme/check.png'));
font-size: 20px;
color: #555;
}
}
@ -35,15 +65,9 @@
padding-left: 20px;
}
h1 {
text-transform: uppercase;
font-size: 30px;
font-weight: bold;
}
em.mk-point {
font-style: normal;
color: #111;
@include text-shadow(0 0 6px rgba(143, 181, 200, 1),0 0 30px rgba(143, 181, 200, .7));
}
li {

2
app/assets/stylesheets/overrides.css.erb

@ -20,5 +20,5 @@ body.errors #main .inner {
.flash .alert {
border: 1px solid #bb9004;
background: #f9c006 url(<%= asset_path("messages/warning.png") %>) no-repeat 10px center;
background: #f9c006 url(<%= image_path("messages/warning.png") %>) no-repeat 10px center;
}

22
app/assets/stylesheets/theme/default.css.erb

@ -1,6 +1,6 @@
body {
color: #111111;
background: #c4c4c4 url(<%= asset_path("theme/bgd.jpg") %>);
background: #c4c4c4 url('<%= image_path("theme/bgd.jpg") %>');
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@ -100,7 +100,7 @@ hr {
}
.secondary-navigation {
background: #e0e0e0 url(<%= asset_path("theme/boxbar-background.png") %>) top;
background: #e0e0e0 url('<%= image_path("theme/boxbar-background.png") %>') top;
border-bottom-width: 0px;
-moz-border-radius-topleft: 6px;
-webkit-border-top-left-radius: 6px;
@ -214,7 +214,7 @@ hr {
#sidebar ul li {
background-position: 0 11px;
background-repeat: no-repeat;
background-image: url(<%= asset_path("theme/arrow.png") %>);
background-image: url('<%= image_path("theme/arrow.png") %>');
border-bottom: 1px dashed #777777;
list-style-type: none;
}
@ -243,7 +243,7 @@ hr {
min-width: 15px;
text-align: center;
background: #dddddd;
background-image: url(<%= asset_path("theme/button-background.png") %>);
background-image: url('<%= image_path("theme/button-background.png") %>');
color: #111111;
}
.pagination a:hover {
@ -259,7 +259,7 @@ hr {
}
.pagination a:active {
background-image: url(<%= asset_path("theme/button-background-active.png") %>);
background-image: url('<%= image_path("theme/button-background-active.png") %>');
outline: none;
}
@ -332,17 +332,17 @@ hr {
}
.flash .error, .flash .error-list {
border: 1px solid #993624;
background: #cc4831 url(<%= asset_path("messages/error.png") %>) no-repeat 10px center;
background: #cc4831 url('<%= image_path("messages/error.png") %>') no-repeat 10px center;
}
.flash .warning {
border: 1px solid #bb9004;
background: #f9c006 url(<%= asset_path("messages/warning.png") %>) no-repeat 10px center;
background: #f9c006 url('<%= image_path("messages/warning.png") %>') no-repeat 10px center;
}
.flash .notice {
color: #28485e;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
border: 1px solid #8a9daa;
background: #b8d1e2 url(<%= asset_path("messages/notice.png") %>)3 no-repeat 10px center;
background: #b8d1e2 url('<%= image_path("messages/notice.png") %>') no-repeat 10px center;
}
.flash .error-list {
text-align: left;
@ -396,7 +396,7 @@ ul.list li .item .avatar {
}
a.button, button.button {
background: #edeeed url(<%= asset_path("theme/button-background.png") %>) top;
background: #edeeed url('<%= image_path("theme/button-background.png") %>') top;
border: 1px solid #c3c4ba;
font-family: helvetica, arial, sans-serif;
font-weight: normal;
@ -409,11 +409,11 @@ a.button, button.button {
}
a.button:link, a.button:visited, a.button:hover, a.button:active, button.button:link, button.button:visited, button.button:hover, button.button:active {
font-weight: normal;
background: #edeeed url(<%= asset_path("theme/button-background.png") %>) top;
background: #edeeed url('<%= image_path("theme/button-background.png") %>') top;
}
a.button:active, button.button:active {
background: #eaeaea url(<%= asset_path("theme/button-background-active.png") %>) top;
background: #eaeaea url('<%= image_path("theme/button-background-active.png") %>') top;
outline: none;
margin-top: 1px;
margin-bottom: -1px;

8
app/views/home/_headlines.html.erb

@ -2,20 +2,20 @@
<p>
We're Sysadmins who built EntryDNS to fill our own needs.
We think it's important to have a <em class="mk-point">fast and reliable</em> DNS service
It's important to have a <em class="mk-point">fast and reliable</em> DNS service
that <em class="mk-point">you can configure in no-time</em>, and we'd like to show how
<em class="mk-point">you too can take advantage of it</em>.
</p>
<ul>
<li>
With our intuitive interface, configuring is a breeze
Intuitive interface
</li>
<li>
Friendly and reliable support you can count on
Friendly and reliable support
</li>
<li>
Global infrastructure using fast and secure systems
Global infrastructure
</li>
<li>
Full offsite backup, daily

7
app/views/home/index.html.erb

@ -1,11 +1,8 @@
<div class="block">
<div class="block marketing-block">
<div class="content">
<h1>Free DNS service for Humans Beings <em>created by Sysadmins</em></h1>
<div class="inner marketing-inner">
<h1>
Free DNS service created by Sysadmins for Humans
</h1>
<table class="marketing-duo">
<tr>
<td class="marketing-text">

Loading…
Cancel
Save