From 720b82ac4f304ee2c801f1e6c6295e4d890925f3 Mon Sep 17 00:00:00 2001 From: Kuamr Shubham Date: Sun, 17 May 2020 15:10:22 +0530 Subject: [PATCH] Shubham | Add styling --- src/components/components.css | 117 ++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 src/components/components.css diff --git a/src/components/components.css b/src/components/components.css new file mode 100644 index 0000000..d4cf8f8 --- /dev/null +++ b/src/components/components.css @@ -0,0 +1,117 @@ +* { + box-sizing: border-box; + font-family: -apple-system ; +} + +body { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, + sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-size: 14px; + line-height: 1.5; + color: #24292e; + background-color: #fff; +} + +.app { + width: 90%; + margin-left: 5%; + margin-right: 5%; + /*justify-content: right;*/ +} + +a { + color: #08c; +} + +code { + background: #eee; + padding: .1rem; + font-family: 'Menlo'; + font-size: 13px; + color: #ff00aa; +} + +input { + padding: .5rem; + font-size: 16px; + width: 100%; + display: block; + border-radius: 4px; + border: 1px solid #ccc; +} + +input:focus { + border-color: #007eff; + outline: none; +} + +input.error { + border-color: red; +} + +label { + font-weight: bold; + font-size: large; + +} + +.input-feedback { + color: red; + margin-top: .25rem; +} + +button { + max-width: 150px; + margin: 20px 0; + padding: 12px 20px; + border-style: none; + border-radius: 5px; + background-color: #08c; + box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15); + font-size: 17px; + font-weight: 500; + color: #fff; + cursor: pointer; + outline: none; + -webkit-appearance: none; +} + +button:disabled { + opacity: .5; + cursor: not-allowed !important; +} + +button + button { + margin-left: .5rem; +} + +button.outline { + background-color: #eee; + border: 1px solid #aaa; + color: #555; +} + +.card{ + width: 100%; + height: available; + border: black; + padding: 10px 10px 10px 10px; +} + +.panel{ + padding: 10px 10px 10px 10px; + color: black; + margin-bottom: 20px; + position: relative; +} +.float-right{ + float: right; +} + +.float-center{ + position: center; +} + +.header{ + font-size: xx-large; +} \ No newline at end of file