hilingriviw/src/app.css

130 lines
2.1 KiB
CSS
Raw Normal View History

2023-08-28 16:55:35 +07:00
/* #app {
} */
@media screen and (max-width: 768px) {
a.navLink {
font-size: 12px;
padding: 0px 20px;
}
}
@media screen and (max-width: 488px) {
a.navLink{
display: none;
}
div.nav-container {
padding: 4px;
}
form.search-input {
2023-08-28 21:58:52 +07:00
display: none;
margin-left: 0;
2023-08-28 16:55:35 +07:00
}
button.dropdown-menu {
display: block;
}
2023-08-28 21:58:52 +07:00
.search-input-dropdown {
margin-right: 10px;
display: block !important;
}
h1.title-dropdown {
display: none;
}
}
@media screen and (max-width: 390px){
input.text-input-search {
width: 230px;
}
2023-08-28 16:55:35 +07:00
}
.dropdown-menu {
display: none;
}
2023-08-28 21:58:52 +07:00
.search-input {
margin-left: auto;
}
label {
position: relative;
}
label:before {
content: "";
position: absolute;
left: 10px;
top: 0;
bottom: 0;
width: 18px;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' width='18' height='18' viewBox='0 0 25 25' fill-rule='evenodd'%3E%3Cpath d='M16.036 18.455l2.404-2.405 5.586 5.587-2.404 2.404zM8.5 2C12.1 2 15 4.9 15 8.5S12.1 15 8.5 15 2 12.1 2 8.5 4.9 2 8.5 2zm0-2C3.8 0 0 3.8 0 8.5S3.8 17 8.5 17 17 13.2 17 8.5 13.2 0 8.5 0zM15 16a1 1 0 1 1 2 0 1 1 0 1 1-2 0'%3E%3C/path%3E%3C/svg%3E") center / contain no-repeat;
}
.text-input-search {
padding: 12px 20px 12px 40px;
border-radius: 12px;
width: 325px;
font-size: 1em;
background-color: #4b4b4b;
}
.title {
font-size: 32px;
}
2023-08-28 16:55:35 +07:00
.content {
max-width: 1280px;
margin: 0 auto;
padding: 1rem;
text-align: center;
}
.navLink {
padding: 0px 30px;
font-size: 14px;
}
2023-08-28 21:58:52 +07:00
2023-08-28 16:55:35 +07:00
.nav-container {
background-color: #4b4b4b;
padding: 10px 0;
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
/* display: 'inline-block';
max-width: '100%';
text-align: 'center'; */
}
.navLink:hover{
border-bottom-width: 2px;
margin-bottom: -2px;
}
.logo {
height: 6em;
padding: 1.5em;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.preact:hover {
filter: drop-shadow(0 0 2em #673ab8aa);
}
.card {
padding: 2em;
}
.read-the-docs {
color: #888;
}