Skip to content

Commit 606eaa4

Browse files
committed
update home
1 parent dd5ebc7 commit 606eaa4

File tree

2 files changed

+49
-15
lines changed

2 files changed

+49
-15
lines changed

css/style.css

Lines changed: 45 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,63 @@ h1 {
2323
margin: 30px 0 0 0;
2424
}
2525

26-
.title {
27-
width: 700px;
28-
margin: 0 auto;
29-
padding-right: 35px;
30-
}
31-
3226
.title p {
3327
text-align: center;
3428
}
3529

36-
ul a {
37-
text-decoration: underline;
38-
font-weight: bold;
39-
color: #000000;
30+
.title a {
31+
text-decoration: none;
32+
color: #FF6600;
33+
4034
}
4135

42-
.credits {
36+
.title a:hover {
37+
color: #FF0000;
38+
}
39+
40+
.author {
4341
margin: 0 auto;
4442
width: 700px;
4543
text-align: center;
4644
clear: both;
4745
}
4846

47+
.author a {
48+
text-decoration: none;
49+
color: #FF6600;
50+
51+
}
52+
53+
.author a:hover {
54+
color: #FF0000;
55+
}
56+
57+
58+
.author .heart {
59+
display: inline-block;
60+
position: relative;
61+
top: .2em;
62+
font-size: 1.4em;
63+
color: #FF0066;
64+
-webkit-transform: scale(.7);
65+
-moz-transform: scale(.7);
66+
transform: scale(.7);
67+
-webkit-animation: heart .4s infinite linear alternate-reverse;
68+
-moz-animation: heart .4 infinite linear alternate-reverse;
69+
animation: heart .4s infinite linear alternate-reverse;
70+
}
71+
@-webkit-keyframes heart {
72+
to { -webkit-transform: scale(1.0); }
73+
}
74+
75+
@-moz-keyframes heart {
76+
to { -moz-transform: scale(1.0); }
77+
}
78+
79+
@keyframes heart {
80+
to { transform: scale(1.0); }
81+
}
82+
4983
#github-logo {
5084
position: fixed;
5185
bottom: -5px;

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE HTML>
1+
<!DOCTYPE HTML>
22
<html lang="en-US">
33
<head>
44

@@ -11,13 +11,13 @@
1111
</head>
1212
<body>
1313

14-
<a href="https://github.com/checkcheckzz/Python-open-projects">
14+
<a href="https://github.com/checkcheckzz/Python-open-projects" target="_blank">
1515
<img class="github-ribbon" src="img/github-ribbon.png" alt="Fork me on GitHub">
1616
</a>
1717

1818
<div class="title">
1919
<h1>Python Open Projects</h1>
20-
<p>Collect and classify Python open projects on Github.<br>For more informations, visit the <a href="https://github.com/checkcheckzz/Python-open-projects">repository</a>.</p>
20+
<p>Collect and classify Python open projects on Github.<br>For more informations, visit the <a href="https://github.com/checkcheckzz/Python-open-projects" target="_blank">repository</a>.</p>
2121
</div >
2222
<div class="container">
2323
<p class="gh-btns">
@@ -64,7 +64,7 @@ <h1>Python Open Projects</h1>
6464
</div>
6565
</div>
6666

67-
<p class="credits">Made by <a href="http://itgeekworkhard.com/">Zach</a>.</p>
67+
<p class="author">Made with <span class="heart"></span> by <a href="http://itgeekworkhard.com/" target="_blank">Zach</a>.</p>
6868

6969
<img id="github-logo" src="img/github-cat.png" alt="Github Cat" />
7070

0 commit comments

Comments
 (0)