-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresponsive.css
123 lines (108 loc) · 2.1 KB
/
responsive.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
/* Add Some Responsive ness for the website */
/* For Desktop Tablets and larger screen */
@media only screen and (min-width: 600px) {
.container {
display: flex;
flex-direction: row;
justify-content: space-around;
}
.job_for_open,.pr_ol{
display: flex;
}
.mn {
margin-top: 5em;
}
/* Additional Styles for child_nav */
.right {
box-shadow: 0px 6px 6px 6px rgba(0, 0, 0, 0.2);
position: fixed;
top: 1em;
width: 97.8vw;
border-radius: 0.5em;
z-index: 99;
transition: top 0.5s ease-in-out;
}
.right.hidden {
top: -50px;
}
.right a:hover {
background-color: #ddd;
color: rgb(215, 59, 210);
border-radius: 0.3em;
}
/* showing my photo */
.xpc {
/* parent container for the adj_txt and pr_img img */
text-align: center;
justify-content: space-around;
}
.adj_txt {
display: flex;
/* align-content: space-around; */
}
.pr_img img {
margin-left: 20vw;
width: 300px;
border: 4px solid yellow;
height: fit-content;
box-sizing: border-box;
height: 300px;
border-radius: 400px;
margin-top: 10px;
}
}
/* For Smaller Screen */
@media screen and (max-width: 600px) {
.right a:not(:first-child) {
display: none;
}
.right a.icon {
float: right;
display: block;
}
.container {
display: flex;
flex-direction: row;
justify-content: space-around;
}
.mn {
margin-top: 5em;
}
/* Additional Styles for child_nav */
.right {
box-shadow: 0px 6px 6px 6px rgba(0, 0, 0, 0.2);
position: fixed;
top: 1em;
width: 94vw;
border-radius: 0.5em;
z-index: 99;
transition: top 0.5s ease-in-out;
}
.right.hidden {
top: -50px;
}
.right a:hover {
background-color: #ddd;
color: rgb(215, 59, 210);
border-radius: 0.3em;
}
.bar3 {
margin-right: 4px;
}
.right.responsive {
position: relative;
}
.right.responsive .icon {
position: absolute;
right: 0;
top: 0;
}
.right.responsive a {
float: none;
display: block;
text-align: left;
}
.pr_img img {
display: none;
}
}