#37 some more scss conversion

This commit is contained in:
Daniel 2018-07-01 21:33:21 -04:00
parent e03df320a5
commit 6a08d045b5
5 changed files with 83 additions and 85 deletions

View File

@ -1,11 +1,11 @@
import React from 'react';
import { Route, Link } from 'react-router-dom';
import {Donate} from './Snippets';
import "../scss/with_love.scss";
export default function Home() {
return (
<div>
<link rel="stylesheet" href="/src/css/with_love.css" />
<br />
<div className="with-love">
<div>Welcome to the <a href="https://github.com/chaoticbackup" className="name" target="_blank">Chaotic Backup Project</a>.

View File

@ -47,8 +47,7 @@ export default class PackSimulator extends React.Component {
if (i>9) break;
}
return (<div>
<link rel="stylesheet" href="/src/css/packs.css" />
return (<div className="packsim">
<Interactive as={Link} {...s.link}
to={`/EnterTheCode/`}>Enter The Code</Interactive>
<br /><br />

View File

@ -4,6 +4,13 @@
}
} /* Desktop */
.packsim {
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
opacity: 1;
}
}
.pack {
height: 100%;
display: flex;
@ -11,7 +18,6 @@
flex-wrap: wrap;
justify-content: center;
margin: auto;
}
.card {
width: 150px;
@ -34,11 +40,6 @@
height: 350px;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
opacity: 1;
}
.stats {
height: 100%;
width: 100%;
@ -100,3 +101,5 @@ input[type=number]::-webkit-outer-spin-button {
left: -21px;
font-size: 20px;
}
}

View File

@ -109,7 +109,3 @@
font-size: 16px;
line-height: 20px;
}
.collection > .left {
position: fixed;
}