/
styles4.css
90 lines (87 loc) · 1.76 KB
/
styles4.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
html,
body {
font-size: x-large;
background: url(images/pexels-felix-mittermeier-956999.jpg) center;
background-size: cover;
}
html,
body {
background-color: black;
}
h1 {
text-align: center;
padding-left: 9.5%;
}
* {
color: white;
letter-spacing: 0.09rem;
font-family: "Cairo", sans-serif;
}
.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;
}
}
.Hello {
padding-left: 37.5%;
height: 35%;
width: 35%;
}
@media screen and (max-width: 450px) {
.Hello {
padding-left: 32%;
height: 60%;
width: 60%;
}
.title {
font-size: medium;
padding-left: 18%;
}
}