Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Div
idintroduction
classsection
Div
classcontainer
Html-bobswift
<p><a class="link-cta primary before" href="https://ec.europa.eu/digital-building-blocks/sites/display/OOTS/Projectathons"><span>Back to projectathons</span></a></p>

<div class="introduction-box">

<div class="introduction-box-cover">
</div>

<div class="introduction-box-content">
<p class="h5">19 - 21 April 2023 | Brussels, Belgium</p>
<h1 class="h2"><span class="heading-subtitle">projectathon</span>Projectathon #1</h1>
<p>A marathon of peer-to-peer interoperability and compliance tests in a structured environment.</p>
<p>Registration: <strong>Closed</strong></p>
<!--<p class="text-right"><a class="btn primary" href="#"><span>Register</span></a></p>-->
</div>

</div>
Div
styledisplay:none
idpast-insights
classsection
Div
classcontainer
Div
classcols justify-content-between align-items-center
Div
classcol-7
Html-bobswift
<h2>Projectathon #1 highlights</h2>
<p class="past-insights-p">Explore the valuable insights and reflections on Projectathon events and discover how Member States can benefit from participation before implementing the OOTS.</p>
<p class="past-insights-cta"><a target="_blank" class="btn ghost" href="https://ec.europa.eu/digital-building-blocks/sites/display/OOTS/EU+Member+States+note+success+of+first+Once-Only+Technical+System+Projectathon"><span>Go to Projectathon highlights</span><span class="ico-cta-forward"></span></a></p>
Div
classcol-4
Html-bobswift
<p class="past-insights-illu"><img alt="" aria-hidden="true" src="https://ec.europa.eu/digital-building-blocks/sites/download/attachments/645595199/illu-past-insights.png"></p>

...

CSS Stylesheet
/*------------------------------------------------*/
/*---OOH PROJECTATONS DETAIL PAGE - 13-03-2023---*/
/*----------------------------------------------*/ 

#main-content p:empty { display: none;}

.mb-0 { margin-bottom:0;}  

/*---INTRODUCTION---*/
#introduction { padding-bottom:0;}
.introduction-box { display: flex; border-radius: 16px; overflow: hidden; }
.introduction-box-cover { width: 50%; background: url("https://ec.europa.eu/digital-building-blocks/sites/download/attachments/647954663/illu-introduction-projectathon-01.jpg"); background-size: cover;} 
.introduction-box-content { position:relative; padding: 3.5rem 7rem 2.5rem 0; width: 50%; background-color: #F3F4F7;}
.introduction-box-content * { position: relative;}
.introduction-box-content:before { position:absolute; top: -10%; left:-110px; display: inline-block; content:""; background-color: #F3F4F7; width: 200px; height: 120%; border-radius: 50% 50% 52% 48% / 50% 50% 50% 50% ;}   
.heading-subtitle { display: block; font-size: 14px; line-height: 24px;}

@media screen and (max-width: 768px) {
    .introduction-box { display: block;}
    .introduction-box-cover { height: 12rem; width: 100%;}
    .introduction-box-content { padding: 2rem; width: 100%;}
    .introduction-box-content:before { width: 0;}
}

/*---INFORMATION---*/
#information { padding-top:0;}
#information h2 { margin:7.5rem 0 2.5rem 0;}

/*---INFORMATION---*/
.information-list { margin: 0; padding: 0;}
.information-list li { margin:2rem 0 0 0; padding-bottom:1rem; list-style-type: none; border-bottom: 1px solid #E3E6EB;}
.information-list li:first-child { margin-top:0;}
.information-list li:last-child { padding-bottom:0; border-bottom: none;}
.information-col:nth-child(1) p { font-size: 18px; color: #001832;}
.information-list li:last-child .information-col:nth-child(2) p { margin-bottom:0;}

@media screen and (min-width: 769px) {
	.information-cols { display: flex; align-items: center;}
	.information-col:nth-child(1) { width: 30%;}
	.information-col:nth-child(2) { width: 70%}
}  

/*---AGENDA---*/
.agenda-list { margin: 0; padding: 0;}
.agenda-list > li { margin:2rem 0 0 0; padding-bottom:1rem; list-style-type: none; border-bottom: 1px solid #E3E6EB;}
.agenda-list > li:first-child { margin-top:0;}
.agenda-list > li:last-child { padding-bottom:0; border-bottom: none;}
.agenda-col:nth-child(1) p { font-size: 18px; color: #001832;}
.agenda-list > li:last-child .information-col:nth-child(2) p { margin-bottom:0;}
.agenda-list li:last-child .agenda-col:nth-child(2) p:last-child { margin-bottom:0;}

.agenda-hour { margin: 0; padding:0; }
.agenda-hour li { padding:1rem 0; list-style: none; border-bottom: 1px dashed #F2E5F7;}
.agenda-hour li:first-child { padding-top:0;}
.agenda-hour li:last-child { padding-bottom:0; border-bottom: none;}
.agenda-hour li .agenda-hour-cols { display: flex;}
.agenda-hour li .agenda-hour-col:nth-child(1) { width: 25%;  font-family: Source Sans Pro SB;}
.agenda-hour li .agenda-hour-col:nth-child(2) { width: 75%;}
.agenda-list .label { margin-bottom:0;}
.agenda-list .label span { padding:4px 10px; font-size: 12px; line-height: 12px; background: #E3E6EB; border-radius: 40px;}
.agenda-list .label.plenary span { color: #842DB5; background: #F2E5F7;}
.agenda-list .label.ccab span { color: #995E00; background: #FFEECC;}
.agenda-list .label.tbc span { background: #E3E6EB;}

@media screen and (min-width: 769px) {
	.agenda-cols { display: flex;}
	.agenda-col:nth-child(1) { width: 30%;}
	.agenda-col:nth-child(2) { width: 70%}
}

/*---ROOM---*/ 
.room-list { margin: 0; padding: 0;}
.room-list > li { margin:2rem 0 0 0; padding-bottom:1rem; list-style-type: none; border-bottom: 1px solid #E3E6EB;}
.room-list > li:first-child { margin-top:0;}
.room-list > li:last-child { padding-bottom:0; border-bottom: none;}
.room-col:nth-child(1) p { font-size: 18px; color: #001832;}
/*.room-list > li:last-child .room-col:nth-child(2) p { margin-bottom:0;}*/
.room-list li:last-child .room-col:nth-child(2) p:last-child { margin-bottom:0;}

.room-hour { margin: 0; padding:0; }
.room-hour li { padding:1rem 0; list-style: none; border-bottom: 1px dashed #F2E5F7;}
.room-hour li:first-child { padding-top:0;}
.room-hour li:last-child { padding-bottom:0; border-bottom: none;}
.room-hour li .room-hour-cols { display: flex;}
.room-hour li .room-hour-col:nth-child(1) { width: 25%;  font-family: Source Sans Pro SB;}
.room-hour li .room-hour-col:nth-child(2) { width: 75%;}
.room-list .label {}
.room-list .label span { padding:4px 10px; font-size: 12px; line-height: 12px; background: #E3E6EB; border-radius: 40px;}
.room-list .label.room1 span { color: #842DB5; background: #F2E5F7;}
.room-list .label.room2 span { color: #995E00; background: #FFEECC;}

@media screen and (min-width: 769px) {
	.room-cols { display: flex;}
	.room-col:nth-child(1) { width: 30%;}
	.room-col:nth-child(2) { width: 70%}
}

/*---PERFORM---*/ 
#perform { margin-top:-2.5rem; margin-bottom:1.5rem; padding-top:0; padding-bottom:0;}
#perform .cols { margin-bottom:0;} 
#perform ul { margin:2.5rem 0 0 0; padding: 0; list-style: none;}
#perform ul li > div { display:flex; align-items: baseline; gap:10px;}
#perform ul li > div > span { display: flex; align-items: center; justify-content: center; background: #E3E6EB; width: 24px; height: 24px; min-width: 24px; border-radius: 24px; color: #3D597A; font-size: 12px;}
#perform ul li:last-child > div > p { margin-bottom:0;}
#perform h3 { margin-bottom:2.5rem;}
.perform-illu { margin-bottom:0; line-height:0 !important;} 
.perform-illu img { width: 180px;}

@media screen and (min-width: 769px) {
  .perform-illu img { width: 100%; max-width: 270px; height: auto;}
}

/*---TIMELINE---*/
#timeline .cols { margin-bottom:0;}

.timeline-list { margin: 0 !important; padding: 0;}
.timeline-list li { margin:2rem 0 0 0; padding-bottom:1rem; list-style-type: none; border-bottom: 1px solid #E3E6EB;}
.timeline-list li:first-child { margin-top:0;}
.timeline-list li:last-child { padding-bottom:0; border-bottom: none;}
.timeline-col:nth-child(1) p { font-size: 18px; color: #001832;}
.timeline-col:nth-child(2) p:first-child { font-size: 18px; font-weight: bold; color: #001832;}
.timeline-list li:last-child .timeline-col:nth-child(2) p:last-child { margin-bottom:0;}

@media screen and (min-width: 769px) {
	.timeline-cols { display: flex; align-items: center;}
	.timeline-col:nth-child(1) { width: 30%;}
	.timeline-col:nth-child(2) { width: 70%}
}

/*---BOX CTA PROJECTATHON---*/
#box-cta-projectathon { padding-top:0; position:relative;}
#box-cta-projectathon .projectathon-box { padding:1.5rem; background-color: #00284A; border-radius:20px;}
#box-cta-projectathon .container .cols { margin-bottom:-1rem;}
#box-cta-projectathon .projectathon-box-col-illu { margin-bottom:1rem;}
#box-cta-projectathon .projectathon-box-col-illu img { width: 120px; height:auto;}
#box-cta-projectathon h3, #box-cta-projectathon p { color: white;}
#box-cta-projectathon p.p-opacity { opacity: 0.75}
#box-cta-projectathon p:last-of-type { margin-bottom:0;}
/*hack - remove empty p from confluence*/
#box-cta-projectathon .container > p:first-child, #box-cta-events .container > p:last-child { display: none; border:1px solid green;}

@media screen and (min-width: 769px) {
 #box-cta-projectathon .projectathon-box { padding:2.5rem;}
 #box-cta-projectathon .projectathon-box-cols { display: flex; align-items: center;}
 #box-cta-projectathon .projectathon-box-col-illu { margin-bottom:0; padding:0 3rem 0 0}
}

@media screen and (min-width: 1366px) {
 #box-cta-projectathon .projectathon-box { padding:5rem;}
}

/*---HOW TO REGISTER DISPLAY NONE FOR THE MOMENT---*/
#how-to-register { margin-top:-2rem; padding-top:0;}
#how-to-register-box { padding:3rem 1rem; background: #F3F4F7; border-radius: 60px;}
#how-to-register-box .cols p:first-child { display: none;}
#how-to-register-box ul { margin:2.5rem 0 0 0; padding: 0; list-style: none;}
#how-to-register-box ul li > div { display:flex; align-items: baseline; gap:10px;}
#how-to-register-box ul li > div > span { display: flex; align-items: center; justify-content: center; background: #E3E6EB; width: 24px; height: 24px; min-width: 24px; border-radius: 24px; color: #3D597A; font-size: 12px;}
#how-to-register-box ul li:last-child > div > p { margin-bottom:0;}
#how-to-register-box h3 { margin-bottom:2.5rem;}

@media screen and (min-width: 1366px) {
	#how-to-register-box { padding:5rem;}
} 

/*---PAST INSIGHTS---*/
#past-insights { padding-bottom:0; /*background-color: #F3F4F7;*/*}
.wiki-content .past-insights-p { margin-bottom:2rem;}
.past-insights-illu { line-height:0 !important;}
.past-insights-illu img { width: 180px;}
.wiki-content .past-insights-cta { margin-bottom:0;}

@media screen and (min-width: 769px) {
  .past-insights-illu img { width: 100%; max-width: 200px; height: auto;}
}