You need to avoid the indentation and also to take into account the padding of \colorbox
:
\documentclass{book}
\usepackage{xcolor}
\usepackage{amsmath}
\definecolor{usethiscolorhere}{rgb}{0.86666,0.78431,0.78431}
\begin{document}
\noindent\colorbox{usethiscolorhere}{%
\begin{minipage}{\dimexpr\textwidth-2\fboxsep}
\begin{enumerate}
\item bla bla
\item bla bla
\item $\lim\limits_{x\to -\infty}F(x)=0$ and
$\lim\limits_{x\to\infty} F(x)=1$
\end{enumerate}
\end{minipage}%
}
\end{document}
Note the two %
characters for avoiding spurious spaces in the output and \limits
to get the subscript underneath "lim".

This should get you started. More polishing can be done, but left as an exercise.
\documentclass{article}
\usepackage{tikz}
\tikzset{%
pics/.cd,
mynode/.style args={#1#2#3}{
code={\node (a) {#3};
\draw[thick,#1] (a.south west) |- (a.north east);
\draw[thick,#2] (a.south west) -| (a.north east);
}
},
}
\begin{document}
\begin{tikzpicture}
\pic {mynode={red}{blue}{Here}};
\pic at (4,0) {mynode={olive}{magenta}{Here comes another one}};
\end{tikzpicture}
\end{document}

\documentclass{article}
\usepackage{tikz}
\tikzset{%
pics/.cd,
mynode/.style args={#1#2#3}{
code={\node (a) {#3};
\draw[thick,#1,line cap=butt,shorten <= -0.5\pgflinewidth,shorten >= 0.5\pgflinewidth] (a.south west) |- (a.north east);
\draw[thick,#2,line cap=butt,shorten <= 0.5\pgflinewidth,shorten >= -0.5\pgflinewidth] (a.south west) -| (a.north east);
}
},
}
\begin{document}
\begin{tikzpicture}
\pic {mynode={red}{blue}{Here}};
\pic at (4,0) {mynode={olive}{magenta}{Here comes another one}};
\end{tikzpicture}
\end{document}

Best Answer