Add typescript CSS module for type safe and autocomplete CSS
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
.App {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.logo {
|
||||
animation: logo-spin infinite 20s linear;
|
||||
height: 40vmin;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.header {
|
||||
background-color: #282c34;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: calc(10px + 2vmin);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.link {
|
||||
color: #b318f0;
|
||||
}
|
||||
|
||||
.menu {
|
||||
padding: 8px 20px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.menu li{
|
||||
display: inline;
|
||||
padding: 10px 0 10px 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.menu li:not(:first-child)::before {
|
||||
content: '•';
|
||||
margin-right: 1ch;
|
||||
}
|
||||
|
||||
.active {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@keyframes logo-spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
.menu {
|
||||
padding: 8px 20px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.menu li{
|
||||
display: inline;
|
||||
padding: 10px 0 10px 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.menu li:not(:first-child)::before {
|
||||
content: '•';
|
||||
margin-right: 1ch;
|
||||
}
|
||||
|
||||
.active {
|
||||
font-weight: bold;
|
||||
}
|
||||
Reference in New Issue
Block a user