Priyatham-sai-chand/index.css

246 lines
4.7 KiB
CSS
Raw Permalink Normal View History

2020-07-17 00:21:29 -07:00
html {
height: 100%;
width: 100%;
}
#navbar {
display: grid;
grid-template-columns: 50px 50px 1fr 50px 50px 50px 50px;
grid-template-rows: 50px;
grid-template-areas:
"about store . advanced image menu sign-in";
margin-right: 30px;
}
a, p {
text-decoration: none;
color: rgba(0,0,0,0.87);
font-size: 14px;
font-family: Arial, Helvetica, sans-serif;
}
a:hover {
text-decoration: underline;
}
#about {
grid-area: about;
justify-self: center;
align-self: center;
}
#store {
grid-area: store;
justify-self: center;
align-self: center;
}
#advanced {
grid-area: advanced;
justify-self: center;
align-self: center;
margin-right: 55px;
width:160px;
}
#image {
grid-area: image;
justify-self: center;
align-self: center;
margin-right: 20px;
}
#menu{
grid-area: menu;
justify-self: center;
align-self: center;
margin-right: 20px;
}
#menu img {
margin: 0;
height: 25px;
width: 25px;
}
#sign-in {
grid-area: sign-in;
justify-self: center;
align-self: center;
background-color: #4683ea;
height: 30px;
width: 65px;
line-height: 30px;
text-align: centeR;
color: white;
font-weight: bold;
border: 1px solid #4285f4;
border-radius: 3px;
}
.Main{
padding-top: 90px;
}
div img {
width: 272px;
height: 95px;
display:flex;
margin-left: 540px;
}
.search {
border: 1px solid #dfe1e5;
padding-right: 30px;
font: 16px arial, sans-serif;
text-indent:5px;
border-radius: 24px;
padding-bottom: 0px;
display:flex;
}
.buttons{
display: flex;
width: 290px;
margin-left: 515px;
padding-left: 9px;
margin-top: 10px;
padding-top: 0px;
}
.button {
display:flex;
flex:2;
white-space: nowrap;
background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1);
background-color: #f2f2f2;
border: 1px solid #f2f2f2;
color: #5F6368;
font-family: arial,sans-serif;
font-size: 14px;
margin-right: 10px;
padding: 0 16px;
line-height: 34px;
outline-width: 125px;
text-align: center;
cursor: pointer;
user-select: none;
border-radius: 4px;
outline:none;
}
.button:hover {
color: #2a2a2a;
border: 1px solid #bdbdbd;
}
.button:active{
border: 2px solid lightblue;
}
input[type=search], textarea {
width: 582px;
height: 44px;
-webkit-transition: all 0.30s ease-in-out;
-moz-transition: all 0.30s ease-in-out;
-ms-transition: all 0.30s ease-in-out;
-o-transition: all 0.30s ease-in-out;
outline: none;
padding: 3px 0px 3px 3px;
margin: 5px 1px 3px 0px;
border: 1px solid #DDDDDD;
background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/e8/Google_mic.svg/1200px-Google_mic.svg.png'), url('https://icon-library.com/images/google-search-magnifying-glass-icon/google-search-magnifying-glass-icon-5.jpg');
background-repeat:no-repeat;
background-position:545px 11px, 19px 12px;
background-size:14px 19px, 17px 19px;
padding-left: 40px;
display:flex;
flex:1;
margin-right: 370px;
margin-left: 400px;
margin-top: 5px;
}
input[type=search]:focus,textarea:focus {
box-shadow: 0 0 5px #bdbdbd;
padding: 3px 0px 3px 3px;
margin: 5px 1px 3px 0px;
padding-left:40px;
margin-right: 370px;
margin-left: 400px;
}
input[type=search]:hover,textarea:hover {
box-shadow: 0 0 5px #bdbdbd;
padding: 3px 0px 3px 3px;
margin: 5px 1px 3px 0px;
border: 1px solid #bdbdbd;
padding-left: 40px;
margin-right: 370px;
margin-left: 400px;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }
footer {
position: absolute;
bottom: 0px;
left:0px;
right:0px;
background:#f3f3f3;
padding-top: 25px;
border-top: 1px solid #e9e9e9;
line-height: 20px;
}
footer a:link, a:visited, a:active {
color: #696969;
font-family: arial, sans-serif;
font-size: 14px;
text-decoration:none;
}
footer a:hover {
text-decoration:underline;
}
.leftlinks {
position: relative;
bottom:14px;
left: 5px;
padding-right:15px;
padding-left:15px;
}
.rightlinks {
display:none;
}
@media (min-width: 1000px){
.rightlinks {
position: relative;
bottom:12px;
float:right;
right:18px;
padding-right:15px;
padding-left:15px;
display: flex;
flex:2;
}
}