From b60ed0e1c37896deddc540d7ee0a9ab75590e8f0 Mon Sep 17 00:00:00 2001 From: zensh Date: Wed, 2 Mar 2016 22:56:09 +0800 Subject: [PATCH] fixed class --- css/main.css | 34 +++++++++------------------------- index.html | 2 +- 2 files changed, 10 insertions(+), 26 deletions(-) diff --git a/css/main.css b/css/main.css index 627de91..50b1684 100644 --- a/css/main.css +++ b/css/main.css @@ -1,25 +1,3 @@ -body { - margin: 0; - font-family: "Avenir Next", "Segoe UI", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; -} - -a { - text-decoration: none; - -webkit-transition: all 0.4s; - -moz-transition: all 0.4s; - -ms-transition: all 0.4s; - -o-transition: all 0.4s; - transition: all 0.4s; -} - -h1 { - font-size: 168px; -} - -a:hover { - color: #000; -} - .clearfix:before, .clearfix:after { content: ""; @@ -32,21 +10,26 @@ a:hover { *zoom: 1;/*IE/7/6*/ } -.title { +.iorust-title { display: block; margin-top: 50px; width: 100%; text-align: center; color: #333; + text-decoration: none; + font-family: "Avenir Next", "Segoe UI", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; +} +.iorust-title:hover { + color: #000; } -.title img { +.iorust-title img { display: block; position: relative; left: 50%; margin-left: -220px; float: left; } -.title h1 { +.iorust-title h1 { display: block; position: relative; left: 50%; @@ -54,4 +37,5 @@ a:hover { float: left; height: 200px; line-height: 200px; + font-size: 168px; } diff --git a/index.html b/index.html index 7af5893..529c7c8 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ - + ioRust

Rust