initial index
This commit is contained in:
parent
62cc828d6a
commit
88015a98cd
21 changed files with 343 additions and 56 deletions
70
app/components/index-world.css.ts
Normal file
70
app/components/index-world.css.ts
Normal file
|
@ -0,0 +1,70 @@
|
|||
import { style } from "@vanilla-extract/css";
|
||||
|
||||
export const container = style({
|
||||
background: "#333",
|
||||
flexBasis: "30%",
|
||||
margin: "0.5rem",
|
||||
});
|
||||
|
||||
export const header = style({
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
color: "inherit",
|
||||
textDecoration: "none",
|
||||
transition: "background-color 0.2s ease-in-out",
|
||||
backgroundColor: "#222",
|
||||
":hover": {
|
||||
backgroundColor: "#383838",
|
||||
},
|
||||
});
|
||||
export const headerName = style({
|
||||
padding: "0.5rem",
|
||||
fontSize: "1.5rem",
|
||||
});
|
||||
export const headerDetailsLink = style({
|
||||
fontVariant: "small-caps",
|
||||
fontSize: "0.8rem",
|
||||
color: "#aaa",
|
||||
paddingRight: "0.5rem",
|
||||
});
|
||||
export const headerMarkers = style({
|
||||
fontSize: "0.8rem",
|
||||
flex: 1,
|
||||
fontWeight: "bold",
|
||||
color: "#aaa",
|
||||
});
|
||||
|
||||
export const circle = style({
|
||||
display: "inline-block",
|
||||
width: "0.4rem",
|
||||
height: "0.4rem",
|
||||
borderRadius: "50%",
|
||||
marginLeft: "0.2rem",
|
||||
});
|
||||
|
||||
export const details = style({
|
||||
padding: "0.5rem",
|
||||
});
|
||||
|
||||
export const population = style({
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-evenly",
|
||||
});
|
||||
|
||||
export const popFaction = style({
|
||||
display: "flex",
|
||||
flexDirection: "row",
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
});
|
||||
|
||||
export const popImage = style({
|
||||
height: "1.5rem",
|
||||
marginRight: "0.5rem",
|
||||
});
|
||||
|
||||
export const totalPop = style({
|
||||
fontWeight: "bold",
|
||||
fontSize: "1.2rem",
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue