Compare commits
2
Commits
0ed097e9e7
...
009cfa19f6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
009cfa19f6 | ||
|
|
afb112db93 |
No files matched your search
+3
-1
@@ -1,5 +1,8 @@
|
||||
@import "cybercore-css";
|
||||
|
||||
:root {
|
||||
}
|
||||
|
||||
.stats-and-skills {
|
||||
margin-top: 20px;
|
||||
display: flex;
|
||||
@@ -37,5 +40,4 @@
|
||||
margin-left: 50px;
|
||||
margin-right: 50px;
|
||||
overflow-y: auto;
|
||||
height: 75vh
|
||||
}
|
||||
@@ -64,7 +64,7 @@ function TechRole({rank, fabrication, upgrade, field}) {
|
||||
|
||||
export function Details() {
|
||||
return (
|
||||
<main>
|
||||
<main style={{display: "flex", flexDirection:"column"}}>
|
||||
<div className="cyber-card">
|
||||
<div className="cyber-card__body flex flex-col">
|
||||
<div className="flex">
|
||||
@@ -76,7 +76,9 @@ export function Details() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="cyber-card" style={{marginTop: "20px"}}>
|
||||
<span style={{flexGrow:"1"}}/>
|
||||
|
||||
<div className="cyber-card" style={{marginTop: "20px", flexGrow:1}}>
|
||||
<div className="cyber-card__body">
|
||||
<Health />
|
||||
</div>
|
||||
|
||||
@@ -89,14 +89,13 @@ const header = {
|
||||
|
||||
export function WeaponsAndArmor() {
|
||||
return (
|
||||
<div style={{ display: "flex", flexDirection: "row", height: "230px" }}>
|
||||
<div style={{ display: "flex", flexDirection: "row", justifyContent:"space-between", height: "230px" }}>
|
||||
<div className="cyber-card" style={card}>
|
||||
<div className="cyber-card__header" style={header}>
|
||||
<div>Armor</div>
|
||||
</div>
|
||||
<Armor armor={wandr} />
|
||||
</div>
|
||||
<span className="cyber-flex"></span>
|
||||
<div className="cyber-card" style={card}>
|
||||
<div className="cyber-card__header" style={header}>
|
||||
<div>Weapons</div>
|
||||
|
||||
+34
-28
@@ -19,11 +19,34 @@ export function meta({ }: Route.MetaArgs) {
|
||||
];
|
||||
}
|
||||
|
||||
function SkillTable() {
|
||||
return (
|
||||
<div style={{display: "flex", flexDirection: "row"}}>
|
||||
<div style={{flexGrow: 1}} >
|
||||
<Awareness />
|
||||
<Body />
|
||||
<Control />
|
||||
<EducationTop />
|
||||
</div>
|
||||
<div style={{flexGrow: 1}} >
|
||||
<EducationBottom />
|
||||
<Fighting />
|
||||
<Performance />
|
||||
<RangedTop />
|
||||
</div>
|
||||
<div style={{flexGrow: 1}} >
|
||||
<RangedBottom />
|
||||
<Social />
|
||||
<Technique />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main>
|
||||
<main style={{display:"flex", flexDirection:"column", height:"100vh"}}>
|
||||
|
||||
<div className="demo-layout">
|
||||
<nav className="cyber-nav">
|
||||
<span className="cyber-nav__brand">Collateral</span>
|
||||
<ul className="cyber-nav__links">
|
||||
@@ -33,39 +56,22 @@ export default function Home() {
|
||||
<li><span className="cyber-nav__link">Loadouts</span></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div className="stats-and-skills">
|
||||
<div className="stats-sand-skills-details-box">
|
||||
<div style={{ display: "flex", flexDirection: "row" }}>
|
||||
<div className="stats-and-skills-details"><Details /></div>
|
||||
<div className="stats-and-skills-stats" style={{ marginLeft: "20px" }}><Stats /></div>
|
||||
</div>
|
||||
</div>
|
||||
<div style={{position:"relative", height:"100%"}}>
|
||||
<div style={{display:"flex", flexDirection:"row", position:"absolute", height:"100%"}}>
|
||||
|
||||
<div className="stats-and-skills-skill-group">
|
||||
<div className="flex-col stats-and-skills-skill-column">
|
||||
<Awareness />
|
||||
<Body />
|
||||
<Control />
|
||||
<EducationTop />
|
||||
<div style={{width: "400px", padding: "10px", height: "100%"}}>
|
||||
<Details />
|
||||
</div>
|
||||
<div className="flex-col stats-and-skills-skill-column">
|
||||
<EducationBottom />
|
||||
<Fighting />
|
||||
<Performance />
|
||||
<RangedTop />
|
||||
</div>
|
||||
<div className="flex-col stats-and-skills-skill-column">
|
||||
<RangedBottom />
|
||||
<Social />
|
||||
<Technique />
|
||||
<div style={{overflow:"auto"}}><Stats /></div>
|
||||
<div style={{display:"flex", flexDirection:"column"}}>
|
||||
<div style={{overflow:"auto"}}><SkillTable /></div>
|
||||
<div><WeaponsAndArmor /></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<WeaponsAndArmor />
|
||||
</main>
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user