From 5dd112453445da6ae7a04c1423b02ef33d65e652 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Tue, 13 Dec 2016 22:46:22 +0000 Subject: [PATCH] Move CSS to separate file --- index.html | 38 ------------------ index.css | 35 +++++++++++++++++ 2 files changed, 36 insertions(+), 37 deletions(-) diff --git a/index.css b/index.css new file mode 100644 index 0000000..5edcb4a --- /dev/null +++ b/index.css @@ -0,0 +1,35 @@ +tr.active { + color: gray; +} +.form-round-left { + border-top-left-radius: 4px !important; + border-bottom-left-radius: 4px !important; + border-right: 0; +} +.navbar-text { + margin-right: 15px; + margin-left: 15px; +} +.input-group-btn:first-child { + width: 50%; +} +@keyframes blink { + 50% { color: transparent; } +} +.status-boarding { + animation: blink 1s linear infinite; +} +.status-delayed { + font-weight: bold; +} +.bg-active { + background-color: #eee; +} +.bg-default { + border: 1px solid #eee; +} +.label.bg-success, .label.bg-warning, .label.bg-danger, .label.bg-active, .label.bg-default { + color: black; + font-weight: normal; + font-size: inherit; +} diff --git a/index.html b/index.html index d3e32c7..52958c1 100644 --- a/index.html +++ b/index.html @@ -6,43 +6,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> - <style type="text/css"> - tr.active { - color: gray; - } - .form-round-left { - border-top-left-radius: 4px !important; - border-bottom-left-radius: 4px !important; - border-right: 0; - } - .navbar-text { - margin-right: 15px; - margin-left: 15px; - } - .input-group-btn:first-child { - width: 50%; - } - @keyframes blink { - 50% { color: transparent; } - } - .status-boarding { - animation: blink 1s linear infinite; - } - .status-delayed { - font-weight: bold; - } - .bg-active { - background-color: #eee; - } - .bg-default { - border: 1px solid #eee; - } - .label.bg-success, .label.bg-warning, .label.bg-danger, .label.bg-active, .label.bg-default { - color: black; - font-weight: normal; - font-size: inherit; - } - </style> + <link rel="stylesheet" type="text/css" href="index.css"> </head> <body> <nav class="navbar navbar-default"> -- Gitblit v1.9.1