study / okdevtv star
허광남 허광남 02-29
♻️ refactor
@598603ae72a038c64c05bf28f7e2e6eb416a3b46
.eslintrc.js
--- .eslintrc.js
+++ .eslintrc.js
@@ -1,22 +1,1 @@
 // disable for prettier
-/**
-module.exports = {
-  env: {
-    browser: true,
-    commonjs: true,
-    es6: true,
-    node: true,
-  },
-  extends: ['google'],
-  globals: {
-    Atomics: 'readonly',
-    SharedArrayBuffer: 'readonly',
-  },
-  parserOptions: {
-    ecmaVersion: 2018,
-  },
-  rules: {
-    quotes: ['error', 'single', 'backtick'],
-  },
-};
-*/
 
public/css/login.css (added)
+++ public/css/login.css
@@ -0,0 +1,20 @@
+.bd-placeholder-img {
+  font-size: 1.125rem;
+  text-anchor: middle;
+  -webkit-user-select: none;
+  -moz-user-select: none;
+  -ms-user-select: none;
+  user-select: none;
+}
+
+.login {
+  width: 24px;
+  vertical-align: text-top;
+  border-radius: 50%;
+}
+
+@media (min-width: 768px) {
+  .bd-placeholder-img-lg {
+    font-size: 3.5rem;
+  }
+}
 
public/css/okdevtv-list.css (added)
+++ public/css/okdevtv-list.css
@@ -0,0 +1,23 @@
+body {
+  padding: 10px;
+  font: 14px 'Lucida Grande', Helvetica, Arial, sans-serif;
+}
+
+nav ul li {
+  width: max-content;
+  display: inline-block;
+  margin: 0 20px;
+}
+
+#list {
+  padding: 0 8px;
+}
+a {
+  color: #00b7ff;
+}
+.cgrey {
+  color: lightgray;
+}
+.cblack {
+  color: black;
+}
 
public/stylesheets/style-md.css (deleted)
--- public/stylesheets/style-md.css
@@ -1,73 +0,0 @@
-#wrap {
-  min-width: 576px;
-  max-width: 800px;
-  width: 96%;
-  margin: auto;
-  padding: 0 12px;
-  border: 1px solid #99e;
-  border-radius: 18px;
-}
-
-#logo {
-  width: 36px;
-  margin-right: 6px;
-  margin-bottom: -6px;
-}
-
-table {
-  border-collapse: collapse;
-}
-
-th,
-td {
-  border: 1px solid #ddd;
-  padding: 4px;
-}
-pre {
-  border: 1px solid #888;
-  padding: 6px 12px;
-  border-radius: 5px;
-  background-color: #eefefe;
-  width: 97%;
-  font-size: 1.3em;
-  overflow-x: scroll;
-}
-
-p code,
-li code {
-  border: 1px solid #ddd;
-  border-radius: 5px;
-  padding: 0 3px;
-  background-color: aliceblue;
-}
-
-.img {
-  width: 50%;
-  max-width: 600px;
-}
-
-#whatelse {
-  text-align: center;
-  margin: 20px 0;
-}
-
-#bookmark {
-  border-radius: 5px;
-  position: fixed;
-  right: 20px;
-  background: linen;
-  padding: 4px;
-  cursor: pointer;
-}
-#bookmark:hover {
-  background: #eefefe;
-  border: 1px #888 solid;
-  padding: 3px;
-}
-
-#inflearn,
-#facebook-reply {
-  text-align: center;
-  color: #fff;
-  font-weight: 600;
-}
routes/template-mib.html
--- routes/template-mib.html
+++ routes/template-mib.html
@@ -6,7 +6,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1" />
     <meta property="og:title" content="__path3__" />
     <meta property="og:url" content="https://okdevtv.com__uri__" />
-    <link rel="stylesheet" href="/stylesheets/style-md.css" />
+    <link rel="stylesheet" href="/css/style-md.css" />
     <script
       src="https://browser.sentry-cdn.com/5.26.0/bundle.min.js"
       integrity="sha384-VGljl8BTZL6Py4DmlOaYmfkOwp8mD3PrmD2L+fN446PZpsrIHuDhX7mnV/L5KuNR"
views/okdevtv-list.ejs
--- views/okdevtv-list.ejs
+++ views/okdevtv-list.ejs
@@ -4,7 +4,7 @@
 <head>
   <title>방송 목록 - OKdevTV</title>
   <meta name="viewport" content="width=device-width, user-scalable=yes" />
-  <link rel="stylesheet" href="/stylesheets/okdevtv-list.css" />
+  <link rel="stylesheet" href="/css/okdevtv-list.css" />
   <script>
     let repo = '';
     function search(evt) {
views/user/login.ejs
--- views/user/login.ejs
+++ views/user/login.ejs
@@ -6,28 +6,7 @@
     integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
   <!-- Custom styles for this template -->
   <link href="https://getbootstrap.com/docs/4.3/examples/sign-in/signin.css" rel="stylesheet">
-  <style>
-    .bd-placeholder-img {
-      font-size: 1.125rem;
-      text-anchor: middle;
-      -webkit-user-select: none;
-      -moz-user-select: none;
-      -ms-user-select: none;
-      user-select: none;
-    }
-
-    .login {
-      width: 24px;
-      vertical-align: text-top;
-      border-radius: 50%;
-    }
-
-    @media (min-width: 768px) {
-      .bd-placeholder-img-lg {
-        font-size: 3.5rem;
-      }
-    }
-  </style>
+  <link rel="stylesheet" href="/css/login.css">
 
   <script src="/js/login-page.js"></script>
 
Add a comment
List