forked from rezka-commints/mooreStreet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdesktop.css
executable file
·224 lines (177 loc) · 5.29 KB
/
desktop.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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
* {box-sizing: border-box;}
body {
margin: 0;
padding-top: 90px;
padding-left:0;
font-family: Tahoma, Geneva, sans-serif;
}
/*hidden search box in the navigation bar*/
.hide
{
opacity: 0;
max-height: 0;
}
#trigger {
position: absolute;
left: -999em;
}
/*.container{*/
/* max-width: 100% !important;*/
/*}*/
/*#container input[type="checkbox"]:checked + div*/
/*!*#container input[type="checkbox"]:checked *!*/
/*{*/
/* max-height: 99em;*/
/* opacity: 1;*/
/* height: auto;*/
/* overflow: hidden;*/
/*}*/
/***********************************************/
/**************** toggle search bar ******************/
.search-form-wrapper {
display: none;
position: absolute;
left: 0;
right: 0;
padding: 10px 10px;
margin-top: 120px;
background: right center no-repeat #42adf5;
}
.search-form-wrapper.open {
display:block;
position: absolute;
}
/**************************************************/
/** pseudo elements are used to underline the links for the desktop size screens**/
@media all and (min-width: 992px) {
.nav-link.active:after{
content: ""; /* This is necessary for the pseudo element to work. */
display: block; /* This will put the pseudo element on its own line. */
margin: 0 auto; /* This will center the border. */
width: 50px; /* Change this to whatever width you want. */
padding-top: 10px; /* This creates some space between the element and the border. */
border-bottom: 2px solid #0f6674; /* This creates the border. Replace black with whatever color you want. */
}
.nav-link:after{
content: ""; /* This is necessary for the pseudo element to work. */
display: block; /* This will put the pseudo element on its own line. */
margin: 0 auto; /* This will center the border. */
width: 50px; /* Change this to whatever width you want. */
padding-top: 10px; /* This creates some space between the element and the border. */
border-bottom: 2px solid grey; /* This creates the border. Replace black with whatever color you want. */
}
.nav-link:hover:after {
content: ""; /* This is necessary for the pseudo element to work. */
display: block; /* This will put the pseudo element on its own line. */
margin: 0 auto; /* This will center the border. */
width: 50px; /* Change this to whatever width you want. */
padding-top: 10px; /* This creates some space between the element and the border. */
border-bottom: 2px solid #3293a8; /* This creates the border. Replace black with whatever color you want. */
}
/*logo for the desktop with container*/
/* .container> .navbar-brand{*/
/* margin:auto 0;*/
/* background-color: #3e3f40;*/
/* padding: 20px;*/
/* font-weight: bold;*/
/* }*/
/* .container>.navbar-light{*/
/* color: rgba(0, 0, 0, 0.9);*/
/* }*/
/* .navbar-nav > li{*/
/* margin-left:100px;*/
/* margin-right:100px;*/
/* }*/
/* .logo1 {*/
/* display: block;*/
/* color: white;*/
/* }*/
/*.logo1:before {*/
/* //content: attr(data-text);*/
/* color: white;*/
/* // background: black;*/
/* padding: 1px 8px;*/
/* }*/
/*.logo2{*/
/* color:white;*/
/* }*/
/*logo for the desktop with navbar*/
.navbar> .navbar-brand{
margin:auto 0;
background-color: #3e3f40;
padding: 20px;
font-weight: bold;
}
.navbar>.navbar-light{
color: rgba(0, 0, 0, 0.9);
}
.navbar-nav > li{
margin-left:100px;
margin-right:100px;
}
.logo1 {
display: block;
color: white;
}
.logo1:before {
//content: attr(data-text);
color: white;
// background: black;
padding: 1px 8px;
}
.logo2{
color:white;
}
.search-form-wrapper {
margin-top: 20px;
}
/*** remove the padding and margin from the logo in the navbar*/
.navbar {
padding-left: 0 !important;
margin-left:0 !important;
margin-top:0 !important;
padding-top:0 !important;
margin-bottom:0 !important;
padding-bottom: 0 !important;
}
}
.navbar{
background-color: white;
margin: 0;
padding: 0;
overflow: hidden;
}
/*<div class="search-container">
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit" <i class="fa fa-search"></i></button>
</form>
</div>
*/
/* Style all font awesome icons */
.list-inline-item>.fa {
padding: 10px;
font-size: 40px;
width: 25px;
text-align: center;
text-decoration: none;
border-radius: 50%;
}
/* Add a hover effect if you want */
.list-inline-item>.fa:hover {
opacity: 0.7;
}
/* Set a specific color for each brand */
/* Facebook */
.list-inline-item>.fa-facebook {
/*background: #3B5998; */
color: #3B5998;
}
/* Twitter */
.list-inline-item>.fa-twitter {
/* background: #55ACEE; */
color: #55ACEE;
}
footer{
background-color: white;
}