mirror of
https://github.com/CoderSherlock/CoderSherlock.github.io.git
synced 2026-06-13 08:08:10 -07:00
Update css
This commit is contained in:
Binary file not shown.
@@ -20,9 +20,7 @@ This interface-like function will then pass the function name, in this case func
|
||||
|
||||
~~~~c
|
||||
#define SYS_function ## // ## is the system call number
|
||||
|
||||
[SYS_function] sys_function // real system function name
|
||||
|
||||
extern int sys_function(void); // real system function declaration
|
||||
~~~~
|
||||
|
||||
|
||||
+3
-3
@@ -26,13 +26,13 @@
|
||||
padding: 20px 40px;
|
||||
list-style: none;
|
||||
> li {
|
||||
padding-bottom: 30px;
|
||||
padding-bottom: 15px;
|
||||
border-bottom: 1px solid #CCC;
|
||||
margin-bottom: 30px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.post-title {
|
||||
font-size: 28px;
|
||||
font-weight: normal;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
}
|
||||
.post-meta {
|
||||
|
||||
@@ -83,9 +83,7 @@
|
||||
<p>This interface-like function will then pass the function name, in this case function, to <em>usys.S</em>. When using user mode function in programs, <em>usys.S</em> will generate a reference to SYS_function and push system call number of this function into %eax. After that, system can know from <em>syscall.c</em> and determining whether this system call is available. We must define same name system function and add it into <em>syscall.h</em> and <em>syscall.c</em>.</p>
|
||||
|
||||
<div class="language-c highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">#define SYS_function ## // ## is the system call number
|
||||
</span>
|
||||
<span class="p">[</span><span class="n">SYS_function</span><span class="p">]</span> <span class="n">sys_function</span> <span class="c1">// real system function name</span>
|
||||
|
||||
</span><span class="p">[</span><span class="n">SYS_function</span><span class="p">]</span> <span class="n">sys_function</span> <span class="c1">// real system function name</span>
|
||||
<span class="k">extern</span> <span class="kt">int</span> <span class="n">sys_function</span><span class="p">(</span><span class="kt">void</span><span class="p">);</span> <span class="c1">// real system function declaration</span>
|
||||
</code></pre></div></div>
|
||||
|
||||
|
||||
+20
-20
@@ -2,7 +2,7 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Open Sans", "Helvetica Neue", "DejaVu Sans", Arial, "PingFang SC", "Noto Sans CJK SC", "Hiragino Sans GB", "微软雅黑", Helvetica, sans-serif;
|
||||
font-size: 16px;
|
||||
font-size: 15px;
|
||||
line-height: 1.5; }
|
||||
|
||||
a {
|
||||
@@ -21,7 +21,7 @@ blockquote {
|
||||
|
||||
code, pre {
|
||||
font-family: Menlo, Monaco, Consolas, "DejaVu Sans Mono", "Liberation Mono", "文泉驿等宽微米黑", "Courier New", Courier, SimSun, monospace;
|
||||
font-size: 15px; }
|
||||
font-size: 12px; }
|
||||
|
||||
code {
|
||||
color: #900;
|
||||
@@ -74,8 +74,8 @@ h1, h2, h3, h4, h5, h6 {
|
||||
.wrapper {
|
||||
max-width: 800px; } }
|
||||
.header {
|
||||
line-height: 32px;
|
||||
background-color: #607D8B;
|
||||
line-height: 30px;
|
||||
background-color: rgba(53, 0, 138, 0.89);
|
||||
padding: 10px;
|
||||
margin: 0; }
|
||||
.header:after {
|
||||
@@ -86,17 +86,17 @@ h1, h2, h3, h4, h5, h6 {
|
||||
float: left;
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
font-size: 16px;
|
||||
line-height: 32px; }
|
||||
font-size: 15px;
|
||||
line-height: 30px; }
|
||||
.header .site-nav {
|
||||
text-align: right; }
|
||||
.header .site-nav a {
|
||||
text-decoration: none;
|
||||
color: #CFD8DC;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
white-space: nowrap; }
|
||||
.header .site-nav a:hover, .header .site-nav a:focus {
|
||||
background: #78909C; }
|
||||
background: #2b0070; }
|
||||
|
||||
.page-content {
|
||||
background: #e0e0e3;
|
||||
@@ -140,7 +140,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||
|
||||
.col-box {
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
font-size: 13.125px;
|
||||
padding-bottom: 20px; }
|
||||
.col-box p {
|
||||
margin: 0; }
|
||||
@@ -153,7 +153,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||
.col-box .col-box-title {
|
||||
color: #333;
|
||||
margin-bottom: 10px;
|
||||
font-size: 15.4px; }
|
||||
font-size: 14.4375px; }
|
||||
|
||||
@media (max-width: 1120px) {
|
||||
.page-content .wrapper:before {
|
||||
@@ -186,7 +186,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||
margin: 20px auto;
|
||||
display: block; }
|
||||
.col-box-author .name {
|
||||
font-size: 16px; }
|
||||
font-size: 15px; }
|
||||
.col-box-author .contact {
|
||||
margin-top: 10px; }
|
||||
.col-box-author .contact a {
|
||||
@@ -205,7 +205,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||
background-color: #e0e0e3;
|
||||
text-align: center;
|
||||
color: #666;
|
||||
font-size: 14px; }
|
||||
font-size: 13.125px; }
|
||||
|
||||
.post .post-header {
|
||||
margin: 0 100px;
|
||||
@@ -220,7 +220,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||
font-size: 34px; } }
|
||||
.post .post-header .post-meta {
|
||||
color: #999;
|
||||
font-size: 14px;
|
||||
font-size: 13.125px;
|
||||
margin: 0 -100px; }
|
||||
@media screen and (max-width: 600px) {
|
||||
.post .post-header {
|
||||
@@ -262,7 +262,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||
border: 1px solid;
|
||||
color: #999;
|
||||
background: #fff;
|
||||
font-size: 11.2px;
|
||||
font-size: 10.5px;
|
||||
padding: 1px 8px; }
|
||||
.home .rss-link:hover, .home .rss-link:focus {
|
||||
color: #666; }
|
||||
@@ -271,23 +271,23 @@ h1, h2, h3, h4, h5, h6 {
|
||||
padding: 20px 40px;
|
||||
list-style: none; }
|
||||
.home .post-list > li {
|
||||
padding-bottom: 30px;
|
||||
padding-bottom: 15px;
|
||||
border-bottom: 1px solid #CCC;
|
||||
margin-bottom: 30px; }
|
||||
margin-bottom: 15px; }
|
||||
.home .post-list .post-title {
|
||||
font-size: 28px;
|
||||
font-weight: normal;
|
||||
font-weight: bold;
|
||||
margin: 0; }
|
||||
.home .post-list .post-meta {
|
||||
font-size: 14px;
|
||||
font-size: 13.125px;
|
||||
color: #666;
|
||||
margin: 0 20px;
|
||||
margin-bottom: .5em; }
|
||||
.home .post-list .post-excerpt {
|
||||
margin: 0 20px; }
|
||||
.home .post-list .post-excerpt, .home .post-list .post-excerpt * {
|
||||
font-size: 14px;
|
||||
line-height: 14px;
|
||||
font-size: 13.125px;
|
||||
line-height: 13.125px;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
color: #333; }
|
||||
|
||||
+3
-5
@@ -6,8 +6,8 @@
|
||||
</description>
|
||||
<link>https://codersherlock.github.com//</link>
|
||||
<atom:link href="https://codersherlock.github.com//feed.xml" rel="self" type="application/rss+xml"/>
|
||||
<pubDate>Fri, 23 Feb 2018 15:23:54 -0500</pubDate>
|
||||
<lastBuildDate>Fri, 23 Feb 2018 15:23:54 -0500</lastBuildDate>
|
||||
<pubDate>Fri, 23 Feb 2018 15:42:08 -0500</pubDate>
|
||||
<lastBuildDate>Fri, 23 Feb 2018 15:42:08 -0500</lastBuildDate>
|
||||
<generator>Jekyll v3.7.2</generator>
|
||||
|
||||
<item>
|
||||
@@ -25,9 +25,7 @@
|
||||
<p>This interface-like function will then pass the function name, in this case function, to <em>usys.S</em>. When using user mode function in programs, <em>usys.S</em> will generate a reference to SYS_function and push system call number of this function into %eax. After that, system can know from <em>syscall.c</em> and determining whether this system call is available. We must define same name system function and add it into <em>syscall.h</em> and <em>syscall.c</em>.</p>
|
||||
|
||||
<div class="language-c highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">#define SYS_function ## // ## is the system call number
|
||||
</span>
|
||||
<span class="p">[</span><span class="n">SYS_function</span><span class="p">]</span> <span class="n">sys_function</span> <span class="c1">// real system function name</span>
|
||||
|
||||
</span><span class="p">[</span><span class="n">SYS_function</span><span class="p">]</span> <span class="n">sys_function</span> <span class="c1">// real system function name</span>
|
||||
<span class="k">extern</span> <span class="kt">int</span> <span class="n">sys_function</span><span class="p">(</span><span class="kt">void</span><span class="p">);</span> <span class="c1">// real system function declaration</span>
|
||||
</code></pre></div></div>
|
||||
|
||||
|
||||
+5
-5
@@ -4,12 +4,12 @@
|
||||
@charset "utf-8";
|
||||
|
||||
$base-font-family: "Open Sans", "Helvetica Neue", "DejaVu Sans", Arial, "PingFang SC", "Noto Sans CJK SC", "Hiragino Sans GB", "微软雅黑", Helvetica, sans-serif;
|
||||
$base-font-size: 16px;
|
||||
$base-font-size: 15px;
|
||||
$small-font-size: $base-font-size * 0.875;
|
||||
$base-line-height: 1.5;
|
||||
|
||||
$code-font-family: Menlo, Monaco, Consolas, "DejaVu Sans Mono", "Liberation Mono", "文泉驿等宽微米黑", "Courier New", Courier, SimSun, monospace;
|
||||
$code-font-size: 15px;
|
||||
$code-font-size: 12px;
|
||||
|
||||
// Width of the content area
|
||||
$content-width: 800px;
|
||||
@@ -20,9 +20,9 @@ $on-laptop: 800px;
|
||||
$color-link: #036;
|
||||
$color-link-hover: #069;
|
||||
|
||||
$header-bg: #607D8B;
|
||||
$header-bg-hover: #78909C;
|
||||
$header-link: #CFD8DC;
|
||||
$header-bg: rgba(53, 0, 138, 0.89);
|
||||
$header-bg-hover: rgb(43, 0, 112);
|
||||
$header-link: rgb(255, 255, 255);
|
||||
$header-fg: #FFF;
|
||||
|
||||
@mixin media-query($device) {
|
||||
|
||||
Reference in New Issue
Block a user