More progress on new homepage css

This commit is contained in:
Victoria Wang 2014-09-23 13:53:58 -07:00
parent 2dd3a34961
commit a524ef7de5
6 changed files with 101 additions and 63 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

@ -13,12 +13,15 @@
border-bottom: 0;
}
.row.header-Content.content {
padding-bottom:27px;
}
.header-Content{
@media(max-device-width:480px), screen and (max-width:800px){
padding:0;
}
}
.blurb{background:#fff}
.header-Intro{

View file

@ -757,10 +757,28 @@ a.tag:hover {
.section {
padding: 50px 10%;
margin: 0 auto;
float: left;
}
.section.featured-Websites {
background:#971D31;
padding: 10px 2% 1px 2%;
padding: 30px 0;
width: 100%;
position:relative;
}
.section.featured-Websites .nav {
float:left;
width:4.25%;
height:45px;
background-size: 22px;
background-repeat: no-repeat;
background-position: center center;
margin-top: 3%;
}
.section.featured-Websites .nav.prev {
background-image:url(/img/hpgallery-prev.png);
}
.section.featured-Websites .nav.next {
background-image:url(/img/hpgallery-next.png);
}
.section.features {
background: #4F7E89;
@ -769,13 +787,19 @@ a.tag:hover {
color: #fff;
}
.section h2 {
font-size: 1.6em;
font-size: 1.7em;
text-align:center;
}
.section h3 {
font-size: 1.4em;
margin-top: 1.5em;
margin-bottom: .2em;
}
.section.last {
background: #666666;
background: #fff;
}
.section.last h2, .section.last blockquote {
color: white;
color: black;
}
.selected {
font-weight: bold;

View file

@ -30,16 +30,15 @@
&.int-Gall{
li{
li {
margin:0 .5% 12px;
width:24%;
background-color: white;
border: 9px solid white;
-moz-box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.2);
box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.3);
box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.3);
@media (max-device-width:480px), screen and (max-width:800px){
width:49%
@ -48,8 +47,8 @@
}
}
.neo-SS, .neo-Screen-Shot{
border: 1px solid #eee;
.neo-SS, .z{
border: 4px solid #eee;
display:block;
height:auto!important;
position:relative;
@ -62,14 +61,19 @@
background-size:cover!important;
display:block;
}
.hp-Gallery img, .neo-Screen-Shot img{
width:100%
}
.hp-Gallery li {
width: 14%;
margin-right: 2%;
}
.hp-Gallery {
padding: 24px 24px;
.hp-Gallery {
padding: 0px;
margin-bottom: 0;
li {
width: 14%;
margin-right: 1.5%;
margin-bottom: 0;
}
li:last-child {
margin-right: 0;
}
}

View file

@ -121,7 +121,6 @@
<div class="col col-50">
<h2 class="section-header">Introducing the New Neocities</h2>
<p class="intro-text">Nows a great time to join our community of over <%= @sites_count.to_s.reverse.gsub(/...(?=.)/,'\&,').reverse %> websites!
<br />
You get <%= Site::FREE_MAXIMUM_IN_MEGABYTES %> MB of free web space to make whatever youd like. </p>
<ul class="intro-List">
<li class="intro-Tools">
@ -196,57 +195,65 @@
<main class="content-Base">
<div class="section featured-Websites">
<ul class="row website-Gallery hp-Gallery">
<li>
<a href="http://dragonquest.neocities.org/" title="The Quest of Dragons" target="_blank">
<img src="//neocities.org/site_screenshots/dragonquest.jpg" class="neo-SS" alt="Thumbnail of The Quest of Dragons" />
</a>
</li>
<li>
<a href="http://codeventurer.neocities.org/" title="codeventurer" target="_blank">
<img src="//neocities.org/site_screenshots/codeventurer.jpg" class="neo-SS" alt="Thumbnail of codeventurer" />
</a>
</li>
<li>
<a href="http://clouds.neocities.org/" title="Cloud Quotes" target="_blank">
<img src="//neocities.org/site_screenshots/clouds.jpg" class="neo-SS" alt="Thumbnail of Cloud Quotes" />
</a>
</li>
<li>
<a href="http://manatee.neocities.org/" title="Title of Website" target="_blank">
<img src="//neocities.org/site_screenshots/manatee.jpg" class="neo-SS" alt="Thumbnail of TITLE OF WEBSITE" />
</a>
</li>
<li>
<a href="http://suppilulemur.neocities.org/" title="Sokoban" target="_blank">
<img src="//neocities.org/site_screenshots/suppilulemur.jpg" class="neo-SS" alt="Thumbnail of Sokoban" />
</a>
</li>
<li>
<a href="http://drawinglair.neocities.org/" title="Tomasz Zawadzki" target="_blank">
<img src="//neocities.org/site_screenshots/drawinglair.jpg" class="neo-SS" alt="Thumbnail of Tomasz Zawadzki" />
</a>
</li>
</ul>
<div class="nav prev"></div>
<ul class="website-Gallery hp-Gallery">
<li>
<a href="http://dragonquest.neocities.org/" title="The Quest of Dragons" target="_blank">
<img src="//neocities.org/site_screenshots/dragonquest/index.html.270x162.jpg" class="neo-SS" alt="Thumbnail of The Quest of Dragons" />
</a>
</li>
<li>
<a href="http://codeventurer.neocities.org/" title="codeventurer" target="_blank">
<img src="http://neocities.org/site_screenshots/codeventurer/index.html.270x162.jpg" class="neo-SS" alt="Thumbnail of codeventurer" />
</a>
</li>
<li>
<a href="http://clouds.neocities.org/" title="Cloud Quotes" target="_blank">
<img src="//neocities.org/site_screenshots/clouds/index.html.270x162.jpg" class="neo-SS" alt="Thumbnail of Cloud Quotes" />
</a>
</li>
<li>
<a href="http://manatee.neocities.org/" title="Title of Website" target="_blank">
<img src="//neocities.org/site_screenshots/manatee/index.html.270x162.jpg" class="neo-SS" alt="Thumbnail of TITLE OF WEBSITE" />
</a>
</li>
<li>
<a href="http://suppilulemur.neocities.org/" title="Sokoban" target="_blank">
<img src="//neocities.org/site_screenshots/suppilulemur/index.html.270x162.jpg" class="neo-SS" alt="Thumbnail of Sokoban" />
</a>
</li>
<li>
<a href="http://drawinglair.neocities.org/" title="Tomasz Zawadzki" target="_blank">
<img src="//neocities.org/site_screenshots/drawinglair/index.html.270x162.jpg" class="neo-SS" alt="Thumbnail of Tomasz Zawadzki" />
</a>
</li>
</ul>
<div class="nav next"></div>
</div>
<section class="section features">
<h2 class="delta">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce dapibus semper magna id euismod. Vivamus rutrum ultricies.</h2>
<h3>You own your own site</h3>
<p>We support custom domains (yoursite.com) for free. This means you always control the content on your site, and you can move it to/from Neocities whenever you want. And of course, all sites still get a subdomain (sitename.neocities.org) for free.</p>
<div class="col col-33">
<h3>You own your own site</h3>
<p>We support custom domains (yoursite.com) for free. This means you always control the content on your site, and you can move it to/from Neocities whenever you want. And of course, all sites still get a subdomain (sitename.neocities.org) for free.</p>
<h3>Developer tools</h3>
<p>We now have powerful APIs for developers building applications, and support for remote file uploading via command line tools. Using WebDAV, you can now mount your site to your computer, just like Dropbox.</p>
<h3>Developer tools</h3>
<p>We now have powerful APIs for developers building applications, and support for remote file uploading via command line tools. Using WebDAV, you can now mount your site to your computer, just like Dropbox.</p>
</div>
<div class="col col-33">
<h3>More space, more performance</h3>
<p>Neocities now uses a distributed, globally-cached file system in tier-1 datacenters to serve your sites. It's a system that took us a year to build - and it's ready to serve your site with blazing speed, whether it's your personal home page, or your professional site. Go ahead, put your site on Neocities. We can handle it.</p>
</div>
<div class="col col-33">
<h3>Encrypted everything</h3>
<p>Neocities now secures serving all your content with Snowden-grade cryptography, <em>by default</em>, preventing snoops, whether they are hackers or rogue government agencies, from seeing what you browse. And we're working on letting you use your own SSL (HTTPS) certificates for custom domains.
<h3>More space, more performance</h3>
<p>Neocities now uses a distributed, globally-cached file system in tier-1 datacenters to serve your sites. It's a system that took us a year to build - and it's ready to serve your site with blazing speed, whether it's your personal home page, or your professional site. Go ahead, put your site on Neocities. We can handle it.</p>
<h3>Encrypted everything</h3>
<p>Neocities now secures serving all your content with Snowden-grade cryptography, <em>by default</em>, preventing snoops, whether they are hackers or rogue government agencies, from seeing what you browse. And we're working on letting you use your own SSL (HTTPS) certificates for custom domains.
Until January, Neocities will donate 5% of all Supporter plan proceeds to the Courage Foundation, an international organization that supports those who risk life or liberty to disclose privacy abuses online.</p>
Until January, Neocities will donate 5% of all Supporter plan proceeds to the Courage Foundation, an international organization that supports those who risk life or liberty to disclose privacy abuses online.</p>
</div>
</section>
<section class="section last">