style : update gray color.
This commit is contained in:
parent
89c0127cd2
commit
e153a96d40
|
@ -28,7 +28,7 @@
|
||||||
\end{minipage}
|
\end{minipage}
|
||||||
|
|
||||||
% separator.
|
% separator.
|
||||||
\vspace{4mm}
|
|
||||||
\hspace{-8mm}{%
|
\hspace{-8mm}{%
|
||||||
\color{gray}{\rule{\linewidth}{1pt}}
|
\color[RGB]{229,229,229}{\rule{\linewidth}{1pt}}
|
||||||
}
|
}
|
||||||
|
\vspace{2mm}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
\definecolor{white}{RGB}{255,255,255} % default white.
|
\definecolor{white}{RGB}{255,255,255} % default white.
|
||||||
\definecolor{link} {RGB}{46,116,181} % web link.
|
\definecolor{link} {RGB}{46,116,181} % web link.
|
||||||
\definecolor{main} {RGB}{244,67,54} % main.
|
\definecolor{main} {RGB}{244,67,54} % main.
|
||||||
\definecolor{gray} {RGB}{209,213,219} % gray.
|
\definecolor{gray} {RGB}{127,127,127} % gray.
|
||||||
\definecolor{ref} {RGB}{53,82,105} % reference color.
|
\definecolor{ref} {RGB}{53,82,105} % reference color.
|
||||||
|
|
||||||
\definecolor{code_background}{RGB}{40,42,54} % code background.
|
\definecolor{code_background}{RGB}{40,42,54} % code background.
|
||||||
|
@ -14,16 +14,17 @@
|
||||||
\definecolor{code_keyword} {RGB}{255,184,108} % code keywords like "val", "fun" etc.
|
\definecolor{code_keyword} {RGB}{255,184,108} % code keywords like "val", "fun" etc.
|
||||||
\definecolor{code_comment} {RGB}{98,114,164} % code comment colors like // todo.
|
\definecolor{code_comment} {RGB}{98,114,164} % code comment colors like // todo.
|
||||||
|
|
||||||
% code block box.
|
% code block.
|
||||||
\newtcolorbox{scodebox}[1][]{
|
\newtcolorbox{scodebox}[1][]{
|
||||||
colback = code_background,
|
colback = code_background,
|
||||||
colframe = code_background,
|
colframe = code_background,
|
||||||
fontupper = \ttfamily,
|
fontupper = \ttfamily,
|
||||||
nobeforeafter
|
nobeforeafter
|
||||||
}
|
}
|
||||||
|
\newenvironment{scode}{\begin{scodebox}\catcode33=12\obeylines}{\end{scodebox}}
|
||||||
|
|
||||||
% styles.
|
% styles.
|
||||||
\newcommand{\sreset} [1]{\fontsize{14}{14}\selectfont\rm\color{black}#1} % reset font style.
|
\newcommand{\sreset} [1]{\fontsize{12}{10}\selectfont\rm\color{black}#1} % reset font style.
|
||||||
\newcommand{\spar} [0]{\par} % default paragraph break.
|
\newcommand{\spar} [0]{\par} % default paragraph break.
|
||||||
\newcommand{\stext} [1]{\sreset{#1}} % default text.
|
\newcommand{\stext} [1]{\sreset{#1}} % default text.
|
||||||
\newcommand{\sitallic} [1]{\textit{#1}} % itallic text.
|
\newcommand{\sitallic} [1]{\textit{#1}} % itallic text.
|
||||||
|
@ -31,11 +32,11 @@
|
||||||
\newcommand{\ssemibold} [1]{\fontseries{sb}{\selectfont{#1}}} % semi-bold text.
|
\newcommand{\ssemibold} [1]{\fontseries{sb}{\selectfont{#1}}} % semi-bold text.
|
||||||
\newcommand{\sunderline}[1]{\underline{#1}} % underline text.
|
\newcommand{\sunderline}[1]{\underline{#1}} % underline text.
|
||||||
\newcommand{\slink} [2]{\href{#1}{\textcolor{link}{\sunderline{#2}}}} % link webpage.
|
\newcommand{\slink} [2]{\href{#1}{\textcolor{link}{\sunderline{#2}}}} % link webpage.
|
||||||
\newcommand{\sname} [1]{\fontsize{21}{21}{\selectfont{\sbold{#1}}}} % name style.
|
\newcommand{\sname} [1]{\fontsize{21}{21}{\selectfont{\ssemibold{#1}}}} % name style.
|
||||||
\newcommand{\scolor} [2]{\textcolor{#1}{#2}} % text color alias.
|
\newcommand{\scolor} [2]{\textcolor{#1}{#2}} % text color alias.
|
||||||
\newcommand{\sicon} [1]{\raisebox{-1mm}{\includegraphics[height=5mm]{#1}}} % icons.
|
\newcommand{\sicon} [1]{\raisebox{-1mm}{\includegraphics[height=5mm]{#1}}} % icons.
|
||||||
\newcommand{\stitle} [1]{\hypertarget{#1}{}\fontsize{11}{11}%
|
\newcommand{\stitle} [1]{\hypertarget{#1}{}\hspace{-2mm}\fontsize{11}{10}%
|
||||||
{\selectfont{\textcolor{main}{\ssemibold{#1}}}}} % section title.
|
{\selectfont{\textcolor{main}{\ssemibold{#1}}}}\vspace{2mm}} % section title.
|
||||||
\newcommand{\shref} [1]{\hyperlink{#1}{\textcolor{link}{\sunderline{#1}}}} % reference section.
|
\newcommand{\shref} [1]{\hyperlink{#1}{\textcolor{link}{\sunderline{#1}}}} % reference section.
|
||||||
\newcommand{\sref} [1]{\textcolor{ref}{#1}} % reference text.
|
\newcommand{\sref} [1]{\textcolor{ref}{#1}} % reference text.
|
||||||
\newcommand{\slist} [1]{\textcolor{ref}{#1}} % list numbers.
|
\newcommand{\slist} [1]{\textcolor{ref}{#1}} % list numbers.
|
||||||
|
@ -46,7 +47,7 @@
|
||||||
\newcommand{\scproperty}[1]{\textcolor{code_property}{#1}} % color code string.
|
\newcommand{\scproperty}[1]{\textcolor{code_property}{#1}} % color code string.
|
||||||
\newcommand{\sckeyword} [1]{\textcolor{code_keyword}{#1}} % color code string.
|
\newcommand{\sckeyword} [1]{\textcolor{code_keyword}{#1}} % color code string.
|
||||||
\newcommand{\sccomment} [1]{\textcolor{code_comment}{#1}} % color code string.
|
\newcommand{\sccomment} [1]{\textcolor{code_comment}{#1}} % color code string.
|
||||||
\newenvironment{scode}{\begin{scodebox}\catcode32=12\obeylines}{\end{scodebox}} % code block.
|
\newcommand{\sdaterange}[1]{\hfill\fontsize{10}{10}\selectfont\textcolor{gray}{#1}}
|
||||||
|
|
||||||
% settings.
|
% settings.
|
||||||
\linespread{1.5} % height between non-breaking lines.
|
\linespread{1.5} % height between non-breaking lines.
|
||||||
|
|
Loading…
Reference in a new issue