react-modal-p14-openclassrooms
Version:
Made with create-react-library
68 lines (59 loc) • 1.33 kB
CSS
/* add css module styles here (optional) */
._styles-module__test__3ybTi {
margin: 2em;
padding: 0.5em;
border: 2px solid #000;
font-size: 2em;
text-align: center;
}
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
._styles-module__modal-background__28JSg{
position: absolute;
top : 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: hsla(109, 0%, 67%, 0.8);
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
._styles-module__modal-container__1DUXS{
position: relative;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
border: solid;
border-radius: 10px;
max-width: 200px;
height: 50px;
color: white;
background-color: cornflowerblue;
font-size: 1rem;
padding: 10px;
}
._styles-module__modal-btn__2pvzF{
position: absolute;
top: 2px;
right: 2px;
width: 15px;
height: 15px;
fill: #a52a2a;
}
._styles-module__modal-btn__2pvzF:hover{
cursor: pointer;
}