-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
161 lines (158 loc) · 4.73 KB
/
index.html
File metadata and controls
161 lines (158 loc) · 4.73 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<!-- Bootstrap CSS Interno! -->
<link
rel="stylesheet"
href="./node_modules/bootstrap/compiler/bootstrap.css"
/>
<link rel="stylesheet" href="./node_modules/bootstrap/compiler/style.css" />
<!-- align content at right using @media -->
<!-- search button tem que receber classe ml=0 quando px max width 992px tem que receber um max width para não quebrar o butão. -->
<!-- icone de lupa no searchbar! -->
<style>
#colorblack {
color: black;
}
/* id sem uso */
#borderblack {
border-bottom: 0.0625em solid rgba(0, 0, 0, 0.096);
box-shadow: rgba(0, 0, 0, 0.34);
}
#secondnavbar {
box-shadow: 0.5em 0.5em 1.25em rgba(0, 0, 0, 0.103);
border: 0ch;
}
/* .nav-link {
color: aqua;
} */
.nav-link:hover {
font-weight: 499;
}
.nav-item:hover {
background-color: rgba(115, 211, 222, 0.753);
transition-duration: 0.5s;
border-radius: 0.5em;
}
.dropdown-menu {
background-color: rgb(255, 255, 255);
border: 0ch;
}
#searchbar {
margin-left: 1em;
}
/* media query para redim */
@media (max-width: 992px) {
#searchbar {
margin-left: 0em;
max-width: 200px;
margin-top: 0.625em;
}
#searchbutton {
margin-top: 0.625em;
}
li {
text-align: left;
padding-left: 0.3em;
}
/* separando botões */
.dropdown-menu {
margin-bottom: 0.325em;
margin-right: 0.325em;
}
/* margem primeiro item da lista */
#navitem1 {
margin-top: 0.625em;
}
/* joga o logo pro centro ao redimencionar */
.navbar-brand {
margin: 0 auto;
}
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-gradient-light">
<div class="container">
<a href="#" class="navbar-brand" id="colorblack">Cresci</a>
</div>
</nav>
<nav
class="navbar navbar-expand-lg navbar-light bg-gradient-light"
id="secondnavbar"
>
<div class="container">
<!-- <a href="#" class="navbar-brand">Cresci</a> -->
<button
class="navbar-toggler mr-auto"
type="button"
data-toggle="collapse"
data-target="#navbarSite"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse mr-auto" id="navbarSite">
<ul class="navbar-nav">
<li class="nav-item" id="navitem1">
<a href="#" class="nav-link">Início</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">Produtos</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">Contato</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">Doe</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">Sobre Nós</a>
</li>
<li class="nav-item">
<a href="#" target="_blank" class="nav-link">Dúvidas?</a>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<li class="nav-item dropdown">
<a
href="#"
class="nav-link dropdown-toggle"
data-toggle="dropdown"
id="navdrop"
>Entre</a
>
<div class="dropdown-menu">
<a href="#" class="dropdown-item" id="dropdown-item">Entrar</a>
<a href="#" class="dropdown-item" id="dropdown-item"
>Cadastro</a
>
</div>
</li>
</ul>
<form class="form-inline">
<input
type="search"
class="form-control mr-2"
placeholder="Buscar..."
id="searchbar"
/>
<button class="btn btn-dark" id="searchbutton" type="submit">
Ok
</button>
</form>
</div>
</div>
</nav>
<!-- Optional JavaScript Interno com Sass -->
<!-- jQuery first, then Popper.js, then Bootstrap JS Locais!-->
<script src="node_modules/jquery/dist/jquery.js"></script>
<script src="node_modules/popper.js/dist/umd/popper.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.js"></script>
</body>
</html>