Skip to content

Commit

Permalink
fixed class
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Mar 2, 2016
1 parent b09abf4 commit b60ed0e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 26 deletions.
34 changes: 9 additions & 25 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -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: "";
Expand All @@ -32,26 +10,32 @@ 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%;
margin: 0;
float: left;
height: 200px;
line-height: 200px;
font-size: 168px;
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="shortcut icon" href="favicon.ico">
</head>
<body>
<a class="title clearfix" href="https://iorust.github.io">
<a class="iorust-title clearfix" href="https://iorust.github.io">
<img alt="ioRust" class="flex-table-item avatar" height="200" width="200" src="https://avatars3.githubusercontent.com/u/15439811?v=3&s=200">
<h1>Rust</h1>
</a>
Expand Down

0 comments on commit b60ed0e

Please sign in to comment.