-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle3.css
138 lines (111 loc) · 2.55 KB
/
style3.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
134
135
136
137
138
html body{
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
height: 100%;
width: 100%;
background: url("mybackground1.jpg") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.content{
display: grid;
grid-template-rows: 1fr auto ;
}
.myself{
height: 75vh;
margin-top: 40px;
padding-right: 10px;
color:rgb(255, 255, 255);
text-align: center;
font-family: 'Roboto', sans-serif;
padding: 8px;
padding-bottom: 30%;
text-shadow: 6px 6px 6px rgb(32 31 31);
}
h1{
font-size: xx-large;
font-weight: bold;
}
/* The side navigation menu */
.sidebar {
margin: 0;
padding: 0;
width: 280px;
background-color:rgba(7, 2, 27, 0.685); ;
position: fixed;
height: 100%;
overflow: auto;
font-size: 3vw;
color: whitesmoke;
}
/* Sidebar links */
.sidebar a {
display: block;
color: rgb(255, 255, 255);
text-decoration: none;
opacity: 0.7;
padding: 12px;
}
/* Active/current link */
.sidebar a.active {
background-color: rgba(24, 189, 9, 0.753);
}
/* Links on mouse-over */
.sidebar a:hover:not(.active) {
background-color: #555;
color: rgb(255, 255, 255);
}
/* Page content. The value of the margin-left property should match the value of the sidebar's width property */
div.content {
margin-left: 280px;
height: 1000px;
}
/* On screens that are less than 700px wide, make the sidebar into a topbar */
@media screen and (max-width: 700px) {
.sidebar {
width: auto;
height: auto;
position: relative;
}
.sidebar a {float: left;}
div.content {margin-left: 0;}
}
.grid-wrapper{
display: grid;
gap: 10px;
grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
}
.box{
padding: 30px;
margin-right: 20px;
transition: all 0.7s;
margin: auto;
}
.card-img-top{
width:100%;
height: 200px;
}
.box:hover{
transform: scale(1.1);
}
.footer{
background-color: rgb(0 158 114 / 69%);
color: aliceblue;
font-size: x-large;
text-align: center;
}
p{
margin-top:5px;
margin-bottom: 5px;
}
a{
padding: 10px;
}
#fb{
border: 2px solid rgb(7, 62, 211);
border-radius: 50%;
}
#linkedin{
border: 2px solid rgb(7, 62, 211);
}