agri-hackteurs / static /style.css
Ferrxni's picture
Upload 17 files
da4b152 verified
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
h1,
h2,
li,
p {
color: white;
}
.main_title {
color: #f1f1f1;
text-align: center;
}
body {
background-image: url('https://lh3.googleusercontent.com/JKE8WODi6oggtccvEyMnYswDLqSVjDv4FqIGec2qF1doGXf3HTJ5MnMHqG-thNklmxKO6aGf23XiZAFwbaSxt4sTyWc-IT-zyH6aQA=rj-w0-h1600-l80');
background-repeat: no-repeat;
background-size: cover;
margin: 0;
color: #f1f1f1;
}
header,
nav {
display: block;
}
a {
background-color: transparent;
color: inherit;
text-decoration: none;
}
a:active,
a:hover {
outline: 0;
}
img {
border: 0;
}
ul {
list-style: none;
margin: 0;
-webkit-margin-before: 0;
-webkit-margin-after: 0;
-webkit-margin-start: 0;
-webkit-margin-end: 0;
-webkit-padding-start: 0px;
}
header {
position: fixed;
top: 0;
left: 0;
bottom: 0;
width: 100px;
height: 100%;
min-height: 0;
min-width: 100px;
overflow-y: auto;
transition: 500ms;
background-color: rgb(56, 82, 102);
border-right: 1px solid #ffffff80;
z-index: 10;
}
.flexed {
display: flex;
}
.spacer {
display: inline-block;
position: relative;
height: 100%;
width: 10vw;
min-width: 110px;
}
.menus {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
width: 100%;
min-height: 400px;
text-align: center;
}
.main {
padding: 1em 1em 0.8em;
border-bottom: 1px solid #FFF;
color: #f1f1f1;
}
.menu {
margin: 0.5em 0 0;
color: #f1f1f1;
transition: 0.5s;
font-size: 1.5rem;
padding: 0.5em 0;
border-bottom: 1px solid #ececec;
width: 33.333%;
}
.menu:hover {
color: #ececec;
background-color: rgba(11, 123, 132, 1);
border: 1px solid #FFF;
border-radius: 50%;
padding: 0.3em;
box-shadow: 0 0 5px 0 #000;
}
.spacer {
display: flex;
flex: 1;
position: relative;
height: 100%;
min-width: 110px;
transition: 300ms;
}
.spacer.show {
width: auto;
margin-right: 1em;
}
.spacer .submenus {
display: none;
}
.spacer.show .submenus {
display: flex;
flex-direction: column;
justify-content: flex-start;
width: 300px;
height: 100vh;
min-height: 100px;
margin-left: 100px;
padding-left: 1em;
text-align: left;
background-color: rgb(56, 82, 102);
animation: sulod 300ms linear;
-webkit-animation: sulod 300ms linear;
}
.submenu {
margin: 0.5em 0 0;
color: #FFF;
transition: 0.5s;
font-size: 90%;
line-height: 2.2rem;
padding: 0.5em 0;
}
.spacer .main {
border: none;
color: transparent;
}
@keyframes sulod {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(0%);
}
}
@-moz-keyframes sulod {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(0%);
}
}
@-webkit-keyframes sulod {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(0%);
}
}
.map {
/* show full screen the iframe */
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.mistral {
width: 50px;
height: 42px;
}
.chat-message {
display: flex;
align-items: center;
}
.chat-input, .city {
width: 100%;
padding: 10px 20px;
margin: 10px 0;
box-sizing: border-box;
border: 3px solid #555;
border-radius: 4px;
background-color: #f8f8f8;
font-size: 16px;
}
#user-image,
#mistral-image {
width: 50px;
height: 50px;
margin-right: 10px;
}
.submenu b {
font-size: 12px;
color: #56e943;
/* italic */
font-style: italic;
/* set the paragraph space */
margin-bottom: 10px;
}
.button1 {
background-color: white;
color: black;
border: 2px solid #04AA6D;
/* Green */
padding: 10px 24px;
/* Add some padding */
text-align: center;
/* Center the text */
text-decoration: none;
/* Remove underline */
display: inline-block;
font-size: 16px;
margin: 4px 2px;
transition-duration: 0.4s;
/* Add transition */
cursor: pointer;
/* Change cursor on hover */
}
.button1:hover {
background-color: #04AA6D;
/* Green */
color: white;
}