/
styles3.css
133 lines (129 loc) · 2.51 KB
/
styles3.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
index3.html,
body {
font-size: x-large;
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 5)),
url(images/pexels-felix-mittermeier-956999.jpg) center no-repeat;
background-size: cover;
}
* {
color: white;
letter-spacing: 0.09rem;
font-family: "Cairo", sans-serif;
}
html,
body {
background-color: black;
}
h1 {
text-align: center;
}
.info {
text-align: center;
}
/* The sidebar menu */
.sidenav {
height: 100%; /* Full-height: remove this if you want "auto" height */
width: 160px; /* Set the width of the sidebar */
position: fixed; /* Fixed Sidebar (stay in place on scroll) */
z-index: 1; /* Stay on top */
top: 0; /* Stay at the top */
left: 0;
background-color: rgb(48, 3, 42); /* Black */
overflow-x: hidden; /* Disable horizontal scroll */
padding-top: 20px;
}
.sidenav p {
color: white;
padding-left: 1%;
padding-right: 90%;
position: fixed;
bottom: 0%;
}
/* The navigation menu links */
.sidenav a {
padding: 6px 8px 6px 16px;
text-decoration: none;
font-size: 25px;
color: white;
display: block;
}
/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
color: dimgray;
}
/* Style page content */
.main {
margin-left: 160px; /* Same as the width of the sidebar */
padding: 0px 10px;
}
/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-width: 450px) {
.sidenav {
padding-top: 15px;
width: 86px;
}
.sidenav a {
font-size: x-small;
}
.sidenav p {
font-size: small;
}
}
.gmail a img {
height: 17%;
width: 15%;
padding-left: 30%;
position: absolute;
}
.linkedin-contact a img {
height: 16%;
width: 10%;
padding-left: 43%;
position: absolute;
top: 25%;
}
.github-contact a img {
height: 15%;
width: 10%;
padding-left: 54%;
position: absolute;
top: 25%;
}
.end {
text-align: center;
margin-top: 13%;
}
@media screen and (max-width: 450px) {
.gmail a img {
height: 17%;
width: 15%;
padding-left: 32%;
position: absolute;
}
.linkedin-contact a img {
height: 16%;
width: 10%;
padding-left: 45%;
position: absolute;
top: 10%;
}
.github-contact a img {
height: 15%;
width: 10%;
padding-left: 56%;
position: absolute;
top: 10%;
}
h1 {
text-align: center;
font-size: large;
padding-left: 10%;
}
.end {
position: absolute;
text-align: center;
margin-top: 18%;
width: 70%;
padding-left: 20%;
}
}