gliscano-product-card
Version:
Product card is a test package, it was created with React and Typescript using State Initializer Component Pattern
57 lines (49 loc) • 946 B
CSS
html,body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
background-color: #282c34;
color: white;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
.main-layout {
display: flex;
flex-direction: column;
padding: 1%;
}
nav {
background-color: #363a45;
text-align: left;
width: 100%;
}
nav img {
width: 5%;
background-size: contain;
}
nav ul {
align-items: center;
display: flex;
flex-direction: row;
justify-content: left;
padding-left: 0;
margin-top: 0;
}
nav li {
list-style: none;
padding: 0% 16px;
}
nav li a {
color: white;
font-size: 1.2rem;
text-decoration: none;
}
.nav-active {
color: grey;
transition: all .3s ease-out;
}