-
Notifications
You must be signed in to change notification settings - Fork 0
/
phone.css
176 lines (127 loc) · 3.1 KB
/
phone.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
/*Navigation*/
header label{
display: initial;
text-align: right;
transform: translateY(-1.8rem);
font-size: 1.4rem;
}
header .nav-items{
position:absolute;
top:5rem;left:0;right:0;
z-index:1000;
display: none;
background-color: black;
}
.nav-items ul{
text-align: center;
flex-direction: column;
}
/* Went wrong targeting ul instead od iv ul is in coz then menu was not at right but sort of had margin right which we wanted to remove coz probably nav had flex on space between so there was space left after menu even though ul was down there must be div space so...
.nav-items ul{
display: flex;
flex-direction:column;
text-align: center;
background-color: red;
position: absolute;
left:0;
right:0;
display: none;
width:100%;
z-index: 1000;
top:5rem;
}
*/
nav ul li{
border: 1.5px solid #ef8b8b;
padding-bottom:10px;
}
#menu-bar:checked ~ .nav-items{
display: initial;
}
/*Home Section*/
#home{
padding:0;
}
/*Services Section*/
#services{
flex-direction: column;
}
.subh{
font-size: 1.545rem;
}
#services p{
font-size: 1.45rem;
}
/*MENU CSS GRID*/
.menu-container{
height: 100%;
width:100%;
display: grid;
margin:auto;
grid-template-rows: 0.18fr 1fr 1fr 1fr 1fr;
grid-template-columns: 1fr;
grid-template-areas:
"item-1"
"item-2"
"item-3"
"item-4"
"item-5";
column-gap: 0.2rem;
row-gap: 0.2rem;
color: white;
}
.item-1{
grid-area: item-1;
color:white;
text-align: center;
overflow-x: auto;
}
.item-2{
grid-area: item-2;
background: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.3)),url(./imgs/ivan-torres-MQUqbmszGGM-unsplash.jpg) no-repeat center center/cover;
overflow-x: auto;
}
.item-3{
grid-area: item-3;
background: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.3)),url(./imgs/fidel-fernando-DKWZrV0Ty14-unsplash.jpg) no-repeat center center/cover;
text-align: center;
overflow-x: auto;
}
.item-4{
grid-area: item-4;
background: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.3)),url(./imgs/kai-pilger-tL92LY152Sk-unsplash.jpg)no-repeat center center/cover;
overflow-x: auto;
}
.item-5{
grid-area: item-5;
background: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.3)),url(./imgs/aydin-ghadakchi-lamor-xzI8Xt8diMQ-unsplash.jpg)no-repeat center center/cover;
overflow-x: auto;
}
.item-2 ul,.item-5 ul{
list-style: none;
font-size: 1.3rem;
font-family: 'Dosis', sans-serif;
/*padding: 20px;*/
text-align:center;
line-height:50px;
}
.item-3 h1,.item-4 h1{
transform: translateY(90px);
}
/*About us*/
div.about-container{
height:100vh;
font-size: 1.1rem;
}
/*COntact US*/
.form1 input,.form1 textarea{
text-overflow: ellipsis;
}
.form1 form{
width:50%;
}