Browse Source

Modify <code> style

pull/6/head
Menci 6 years ago
parent
commit
a9e1e6b86e
  1. 9
      static/style.css
  2. 2
      views/header.ejs

9
static/style.css

@ -250,14 +250,11 @@ body > .ui.page.dimmer {
/* code tag */ /* code tag */
:not(pre) > code { :not(pre) > code {
background-color: rgba(0, 0, 0, 0.08);
border-radius: 3px;
display: inline-block; display: inline-block;
font-size: 0.9em; font-size: 0.94em;
font-weight: bold; font-weight: bold;
padding: 1px 6px; padding: 0 1px;
vertical-align: baseline; vertical-align: bottom;
color: #444;
} }
code { code {

2
views/header.ejs

@ -11,7 +11,7 @@
<link href="/mathjax.css?20181105" rel="stylesheet"> <link href="/mathjax.css?20181105" rel="stylesheet">
<link href="https://cdnjs.loli.net/ajax/libs/KaTeX/0.10.0/katex.min.css" rel="stylesheet"> <link href="https://cdnjs.loli.net/ajax/libs/KaTeX/0.10.0/katex.min.css" rel="stylesheet">
<link href="https://cdnjs.loli.net/ajax/libs/morris.js/0.5.1/morris.css" rel="stylesheet"> <link href="https://cdnjs.loli.net/ajax/libs/morris.js/0.5.1/morris.css" rel="stylesheet">
<link href="/style.css?2018121101" rel="stylesheet"> <link href="/style.css?20181212" rel="stylesheet">
<link href="https://fonts.loli.net/css?family=Fira+Mono" rel="stylesheet"> <link href="https://fonts.loli.net/css?family=Fira+Mono" rel="stylesheet">
<link href="https://fonts.loli.net/css?family=Lato:400,700,400italic,700italic&subset=latin" rel="stylesheet"> <link href="https://fonts.loli.net/css?family=Lato:400,700,400italic,700italic&subset=latin" rel="stylesheet">
<link href="https://fonts.loli.net/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&amp;subset=latin-ext" rel="stylesheet"> <link href="https://fonts.loli.net/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&amp;subset=latin-ext" rel="stylesheet">

Loading…
Cancel
Save