[FE training-materials-updates] Improve block environments

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Oct 1 11:37:56 CEST 2013


Repository : git://git.free-electrons.com/training-materials.git

On branch  : kernel-ng
Link       : http://git.free-electrons.com/training-materials/commit/?id=5b33c74e3d2421297f00f6ec0ae044349e9de2b4

>---------------------------------------------------------------

commit 5b33c74e3d2421297f00f6ec0ae044349e9de2b4
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date:   Tue Oct 1 11:36:42 2013 +0200

    Improve block environments
    
    Use a lighter gray, so that type names hilighted in gray by minted are
    readable.
    
    Remove the shadow around the code blocks, since it takes space for not
    much usefulness.
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>


>---------------------------------------------------------------

5b33c74e3d2421297f00f6ec0ae044349e9de2b4
 common/beamerthemeFreeElectrons.sty |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/beamerthemeFreeElectrons.sty b/common/beamerthemeFreeElectrons.sty
index 764131b..a06a8dd 100644
--- a/common/beamerthemeFreeElectrons.sty
+++ b/common/beamerthemeFreeElectrons.sty
@@ -19,10 +19,10 @@
 \definecolor{fecode}{rgb}{0.5,0.5,0.5}
 \setbeamercolor{code}{fg=fecode}
 
-\definecolor{fecodebg}{rgb}{0.7,0.7,0.7}
+\definecolor{fecodebg}{rgb}{0.9,0.9,0.9}
 \setbeamercolor{block body}{bg=fecodebg}
 
-\setbeamertemplate{blocks}[rounded][shadow=true]
+\setbeamertemplate{blocks}[rounded][shadow=false]
 
 % Custom free-electrons commands
 \newcommand{\code}[1]{{\usebeamercolor[fg]{code} \path{#1}}}



More information about the training-materials-updates mailing list