Compare commits
2 commits
bc882de520
...
b3690093bf
Author | SHA1 | Date | |
---|---|---|---|
b3690093bf | |||
0636ba64d7 |
5 changed files with 75 additions and 22 deletions
|
@ -1,14 +0,0 @@
|
|||
body {
|
||||
margin: 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;
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
import "./App.css";
|
||||
import Messages from "./Messages";
|
||||
import TextField from "./TextField";
|
||||
import "./styles/App.css";
|
||||
import Messages from "./components/Messages";
|
||||
import TextField from "./components/TextField";
|
||||
import { useEffect, useState } from "react";
|
||||
import { io } from "socket.io-client";
|
||||
|
|
@ -1,6 +1,8 @@
|
|||
import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import App from './components/App';
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
|
||||
const root = ReactDOM.createRoot(document.getElementById("root"));
|
||||
root.render(<App />);
|
||||
import './styles/index.css';
|
||||
import App from './App';
|
||||
|
||||
const root = ReactDOM.createRoot(document.getElementById('root'));
|
||||
root.render(<App />);
|
65
rfront/src/styles/index.css
Normal file
65
rfront/src/styles/index.css
Normal file
|
@ -0,0 +1,65 @@
|
|||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
background-color: #383838;
|
||||
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;
|
||||
}
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
margin-bottom: 0.5rem;
|
||||
display: block;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
input {
|
||||
font: inherit;
|
||||
padding: 1rem;
|
||||
border: 1px solid #ccc;
|
||||
font-size: 1.5rem;
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-bottom: 1rem;
|
||||
border-radius: 30px;
|
||||
text-align: center;
|
||||
color: #242424;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
border-color: #6e0040;
|
||||
background-color: #ffdff2;
|
||||
}
|
||||
|
||||
button {
|
||||
font: inherit;
|
||||
background-color: #6e0040;
|
||||
color: white;
|
||||
border: 1px solid #6e0040;
|
||||
border-radius: 30px;
|
||||
padding: 0.5rem 1.5rem;
|
||||
cursor: pointer;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
button:hover,
|
||||
button:active {
|
||||
background-color: #b80e71;
|
||||
border-color: #b80e71;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
||||
monospace;
|
||||
}
|
Loading…
Reference in a new issue