Skip to content

Commit 7e2aa0f

Browse files
committed
Fix CSS
1 parent b988b34 commit 7e2aa0f

File tree

2 files changed

+20
-28
lines changed

2 files changed

+20
-28
lines changed

assets/academy.css

Lines changed: 19 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -13,48 +13,44 @@
1313
text-indent: 28px;
1414
}
1515

16-
.tl_listing_container a {
16+
#tl_contaoacademy a {
1717
color: #f47c00;
1818
}
1919

20-
.tl_listing_container a:hover {
20+
#tl_contaoacademy a:hover {
2121
color: #0f1c26;
2222
}
2323

2424

25-
h2.sub_headline {
25+
h2.academy_headline {
2626
font-size: 2em;
27-
margin-left: 12px;
27+
margin: 15px;
2828
}
2929

30-
.intro {
31-
margin: 0 0 20px 0;
32-
}
33-
34-
.ca-list,
35-
.ca-item {
30+
#tl_contaoacademy .ca-list,
31+
#tl_contaoacademy .ca-item {
3632
list-style: none;
3733
padding: 0 5px;
3834
margin: 0;
3935
}
4036

41-
.ca-item,
42-
.ca-item a {
37+
#tl_contaoacademy .ca-item,
38+
#tl_contaoacademy .ca-item a {
4339
font-size: 1em;
4440
}
4541

46-
.ca-item a {
42+
#tl_contaoacademy .ca-item a {
4743
display: flex;
4844
justify-content: space-between;
4945
line-height: 2;
5046
color: #0f1c26;
5147
}
5248

53-
.ca-item:nth-child(odd) {
49+
#tl_contaoacademy .ca-item:nth-child(odd) {
5450
background: #f7f7f7;
5551
}
5652

57-
.ca-item:hover {
53+
#tl_contaoacademy .ca-item:hover {
5854
background: #fffce1;
5955
}
6056

@@ -83,11 +79,7 @@ h2.sub_headline {
8379
height: 100%;
8480
}
8581

86-
87-
.modal-popup {
88-
padding: 10px;
89-
}
90-
82+
/** Top Navigation **/
9183
.header_videohandbuch {
9284
padding: 2px 0 3px 20px;
9385
background-position: left center;
@@ -100,18 +92,18 @@ h2.sub_headline {
10092
}
10193

10294
/** Accordion **/
103-
.accordionWrapper {
95+
#tl_contaoacademy .accordionWrapper {
10496
width: 100%;
10597

10698
}
10799

108-
.accordionItem {
100+
#tl_contaoacademy .accordionItem {
109101
display: block;
110102
width: 100%;
111103
box-sizing: border-box;
112104
}
113105

114-
.accordionItemHeading {
106+
#tl_contaoacademy .accordionItemHeading {
115107
background: #0f1c26;
116108
color: #fff;
117109
display: block;
@@ -121,18 +113,18 @@ h2.sub_headline {
121113
margin-bottom: 0;
122114
}
123115

124-
.close .accordionItemContent {
116+
#tl_contaoacademy .close .accordionItemContent {
125117
height: 0px;
126118
transition: height 0.4s ease-out;
127119
transform: scaleY(0);
128120
display: block;
129121
}
130122

131-
.close .accordionItemHeading:hover {
123+
#tl_contaoacademy .close .accordionItemHeading:hover {
132124
background-color: #f47c00;
133125
}
134126

135-
.open .accordionItemContent {
127+
#tl_contaoacademy .open .accordionItemContent {
136128
padding: 0.75em;
137129
background-color: #fff;
138130
border: 1px solid #d0d0d2;
@@ -145,7 +137,7 @@ h2.sub_headline {
145137
box-sizing: border-box;
146138
}
147139

148-
.open .accordionItemHeading {
140+
#tl_contaoacademy .open .accordionItemHeading {
149141
margin: 0px;
150142
background-color: #f47c00;
151143
color: #fff;

templates/be_videohandbuch.html5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h2 class="sub_headline"><?= $this->Titel; ?></h2>
1+
<h2 class="academy_headline"><?= $this->Titel; ?></h2>
22

33
<div class="tl_listing_container" id="tl_contaoacademy">
44
<div class="accordionWrapper">

0 commit comments

Comments
 (0)