summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/schule/latex/schule.mod.Storycard.code.tex
blob: b353049c83f2f7ab4e36cb6859c801248a15691a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
\newenvironment{scMaterial}{\begin{smallitemize}}{\end{smallitemize}}
\tcolorboxenvironment{scMaterial}{
    colframe=red,
    coltitle=red!50!black,
    enhanced,
    attach boxed title to top left={xshift=3.2mm,yshift=-0.50mm},
    boxed title style={
        skin=enhancedfirst jigsaw,
        arc=1mm,bottom=-1mm,
        colback=red!30,
    },
    colback=red!10,
    title=Benötigtes Material
}

\newenvironment{scNeedSkillCards}{\begin{smallitemize}}{\end{smallitemize}}
\tcolorboxenvironment{scNeedSkillCards}{
    colframe=orange,
    coltitle=orange!50!black,
    enhanced,
    attach boxed title to top left={xshift=3.2mm,yshift=-0.50mm},
    boxed title style={
        skin=enhancedfirst jigsaw,
        arc=1mm,bottom=-1mm,
        colback=orange!30,
    },
    colback=orange!10,
    title=Benötigte Skill-Cards
}

\newtcolorbox{scAufgabe}{
    colframe=yellow,
    coltitle=yellow!20!black,
    enhanced,
    attach boxed title to top left={xshift=3.2mm,yshift=-0.50mm},
    boxed title style={
        skin=enhancedfirst jigsaw,
        arc=1mm,bottom=-1mm,
        colback=yellow!30,
    },
    colback=yellow!10,
    title=Aufgabe
}

\newtcolorbox{scLoesung}{
    colframe=blue,
    coltitle=blue!50!black,
    enhanced,
    attach boxed title to top left={xshift=3.2mm,yshift=-0.50mm},
    boxed title style={
        skin=enhancedfirst jigsaw,
        arc=1mm,bottom=-1mm,
        colback=blue!30,
    },
    colback=blue!10,
    title=Lösung
}

\newtcolorbox{scStoryCard}[2][]{
    parbox=false,
    colframe=green!30!black,
    toptitle=1mm,
    before title={\textcolor{yellow}{\Large Story-Card:}~},
    fonttitle=\sffamily\bfseries\Large,
    oversize,
    height fill,
    height fixed for=all,
    breakable,
    title=#2,
    #1
}

\newtcolorbox{scSkillCard}[2][]{
    parbox=false,
    colframe=orange!80,
    toptitle=1mm,
    before title={\textcolor{blue!80}{\Large Skill-Card:}~},
    fonttitle=\sffamily\bfseries\Large,
    oversize,
    height fill,
    height fixed for=all,
    breakable,
    title=#2,
    #1
}