/
style.css
94 lines (85 loc) · 1.29 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/* general */
body {
background-image: url("images/bkgd.jpg");
}
h2 {
font-style: italic;
margin-bottom: 20px;
}
/* page header */
.page-header {
margin-top: 70px;
padding-left: 10px;
}
/* navigation bar */
.navbar {
opacity: 0.9;
}
/* index page */
#index img {
-webkit-filter: grayscale(90%);
width: 100%;
}
/* about page */
#books {
-webkit-filter: grayscale(90%);
width: 100%;
}
#selfie {
float: left;
width: 140px;
margin-right: 20px;
border-radius: 100%;
}
/* résumé page */
#resume img {
width: 40%;
margin: 10px auto;
}
#resume img:hover {
width: 80%;
box-shadow: 2px 2px 10px #bdbdbd;
}
#resume a {
display: block;
margin-top: 10px;
}
/* portfolio page */
.row h3 {
font-size: 1.6em;
}
#portfolio img {
width: 100%;
}
.portDescrip {
margin-top: 5px;
}
.row div {
width: 30%;
height: 360px;
margin: 10px;
display: inline-block;
float: left;
}
#portfolio a {
text-decoration: none;
color: #333;
}
.projects:hover {
-webkit-transform: scale(1.5);
padding: 10px;
background-image: url("images/bkgd.jpg");
border: 1px solid #333;
border-radius: 10px;
box-shadow: 0px 0px 3px #333;
}
/* footer */
#footer {
position: relative;
padding: 10px 20px 10px 10px;
margin-top: 20px;
font-size: 90%;
color: #fff;
text-align: right;
background-color: black;
}