Skip to content

Commit 6048c90

Browse files
committed
Pretty!
1 parent 533954a commit 6048c90

File tree

4 files changed

+42
-5
lines changed

4 files changed

+42
-5
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44

55
This site includes third party open source components, which has its own license:
66
* [DashingCode/front-cover](https://github.com/dashingcode/front-cover) - [DashingCode-LICENSE.txt](etc/DashingCode-LICENSE.txt).
7+
8+
Background images:
9+
* [Old workshop!](https://www.flickr.com/photos/adriano-1973/12663229044/in/photolist-ki1mPf-ar7fme-ar78tZ-ar9M37-zRcVpa-7Uizd8-ar7kmF-ar79ug-ozpsiq-c12bp7-edXdKh-bzmLiA-fm4NXA-oq2qM8-pXiroQ-rbuoFw-8Pzhk7-8PznyJ-7Ya7E6-o5yUju-8fStup-o5p92g-juLGNi-nyqHw2-oMC3cJ-py7hEo-FhFVo3-m2xG6B-m2x5Pe-bminP9-p7a6Hn-a7SwxG-p1prat-og5WXJ-pCwyEr-qiBEjc-m2vLek-p1njvW-ogUc6x-8EjaWH-prc1vz-e7nkL8-jRWJE6-bgEUwT-oo1EPS-9voDrj-aXYsCc-maAKrn-b5aing-r9PTes) by [Adriano BIDOLI](https://www.flickr.com/photos/adriano-1973/) is licensed under [CC BY-NC-CD 2.0](https://creativecommons.org/licenses/by-nc-nd/2.0/)

css/main.css

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,41 @@
1-
h1 {
1+
html {
2+
background: url(../images/background.jpg) no-repeat center center fixed;
3+
-webkit-background-size: cover;
4+
-moz-background-size: cover;
5+
-o-background-size: cover;
6+
background-size: cover;
7+
}
8+
body {
29
font-family: "Open Sans", sans-serif;
10+
color: #FFF;
11+
position: absolute;
12+
top: 0;
13+
bottom: 0;
14+
right: 0;
15+
left: 0;
16+
margin: 0;
17+
}
18+
19+
h1 {
320
font-size: 48px;
421
font-weight: normal;
522
margin: 10px;
23+
}
24+
#content {
25+
position: absolute;
626
text-align: center;
27+
background-color: rgba(0, 0, 0, 0.4);
28+
top: 0;
29+
bottom: 0;
30+
right: 0;
31+
left: 0;
32+
margin: 0;
33+
}
34+
#avatar img {
35+
height: 180px;
36+
border-radius: 100%;
37+
border: 3px solid white;
38+
margin-top:10px;
739
}
840
#navigation ul{
941
text-align: center;
@@ -14,21 +46,21 @@ h1 {
1446
list-style: none;
1547
display: inline-block;
1648
border-radius: 100%;
17-
border: 2px solid #000;
49+
border: 1px solid #FFF;
1850
height:50px;
1951
width: 50px;
2052
margin: 8px;
2153
}
2254
#navigation ul li:hover {
23-
color: #000;
55+
color: #FFF;
2456
text-decoration: none;
2557
-webkit-transition: 500ms;
2658
-moz-transition: 500ms;
2759
transition: 500ms;
2860
background-color: rgba(0, 0, 0, 0.25);
2961
}
3062
#navigation ul li a {
31-
color: #000;
63+
color: #FFF;
3264
}
3365
#navigation ul li a i {
3466
padding: 9px;

images/background.jpg

76.2 KB
Loading

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919
<title>Matthew Warman - warman.io</title>
2020
</head>
2121
<body>
22-
<div>
22+
<div id="content">
23+
<div id="avatar"><img src="https://avatars2.githubusercontent.com/u/7236500"/></div>
2324
<h1>Matthew Warman</h1>
25+
<h3>Technical Swiss Army Knife</h3>
2426
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
2527
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
2628
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

0 commit comments

Comments
 (0)