-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
100 lines (91 loc) · 1.88 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
95
96
97
98
99
100
body {
font-family: Arial, Helvetica, sans-serif;
background-image: url(https://png.pngtree.com/thumb_back/fh260/back_pic/00/15/30/4656e81f6dc57c5.jpg);
background-repeat: no-repeat;
background-size: cover;
background-color: grey;
}
/* What kind of selector is this? */
.logo {
width: 150px;
height: 100px;
margin: 3% 10%;
}
header {
display: grid;
grid-template-columns: 40% 60%;
width: 100%;
}
main {
height: auto;
width: 100%;
display: grid;
grid-template-columns: 30% 40% 30%;
}
/* This is an element within and element selector */
nav > a {
margin: 2% 1% 3%;
height: 10%;
width: 15%;
color: white;
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
border-radius: 25px;
background: transparent;
padding: 20px;
text-align: center;
border: 2px solid white;
}
.has-border {
border-radius: 25px;
border: 2px solid #0795C3;
background: none;
padding: 20px;
}
nav {
display: flex;
justify-content: flex-end;
width: 100%;
padding-right: 2%;
}
/* This is an ID selector */
#profile-pic {
width: 300px;
height: 300px;
border-radius: 50%;
margin: 15% auto;
grid-column: 2/3;
}
h1 {
color:white;
grid-column: 2/3;
margin: 3% auto;
border-bottom: 2px solid #1940A9;;
}
h2 {
grid-column: 2/3;
margin: 3% auto;
font-style: italic;
}
.small-text {
grid-column: 2/3;
color: white;
font-size: 10px;
margin: 3% auto;
}
button {
grid-column: 2/3;
margin: 3% auto;
width: 70%;
height: 15%;
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
border-radius: 25px;
background: transparent;
padding: 20px;
padding-bottom: 5%;
text-align: center;
color: white;
letter-spacing: 16px;
font-style: italic;
}