forked from codeschool-projects/HTMLPortfolioProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
121 lines (104 loc) · 1.7 KB
/
main.css
File metadata and controls
121 lines (104 loc) · 1.7 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
*, *:before, *:after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background: #F5F5F5;
color: #444;
font-family: "Helvetica Neue", Arial, serif;
font-size: 22px;
margin: 0;
padding: 0;
font-weight: 200;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
margin: 10px 0 15px;
}
p, ul {
margin: 10px 0;
}
ul li {
margin-left: 30px;;
}
a {
color: #00b8d4;
font-weight: 600;
text-decoration: none;
border-bottom: 3px solid #00b8d4;
padding: 3px;
}
a:hover {
background-color: #00b8d4;
color: white;
}
a:active {
position: relative;
top: 1px;
}
.content-wrapper {
line-height: 1.4;
margin: 0 auto;
max-width: 900px;
padding: 30px 25px;
}
/*
* HEADER
*/
.header {
align-items: center;
background-color: #EFEFEF;
background-image: url('bg.jpg');
background-position: cover;
background-repeat: no-repeat;
background-size: 100% auto;
border-top: 4px solid #e91e63;
color: #FFFFFF;
display: flex;
flex-direction: column;
height: 40vh;
justify-content: center;
min-height: 250px;
padding: 0 20px;
position: relative;
text-align: center;
}
@media only screen and (max-device-width: 420px) {
.header {
background-size: auto 100%;
}
}
.header:before {
background: rgba(0, 0, 0, .7);
bottom: 0;
content: ' ';
display: block;
left: 0;
position: absolute;
right: 0;
top: 0;
z-index: 1;
}
.header * {
position: relative;
z-index: 2;
text-shadow: 1px 1px 10px black;
}
.header h1 {
font-size: 4rem;
font-weight: 100;
}
.header h2 {
font-size: 2.1rem;
font-weight: 100;
margin: 5px 0;
}
/*
* SKILLS
*/
.skills {
background: #e91e63;
color: white;
}