Commit e9e6143e authored by ebremner's avatar ebremner

Adding css for academic dates

parent 96fa97bf
academic_dates:
version: 1.x
css:
theme:
css/academic_dates.css: {}
\ No newline at end of file
.academic-dates-details {
padding-bottom: 1rem;
}
.academic-dates-date,
.academic-dates-term {
margin: 0;
font-family: verdana,sans-serif;
display: inline-block;
padding: .5rem 4rem .5rem 1rem;
text-transform: uppercase;
clear: both;
}
.academic-dates-date {
background-color: #000;
color: #FDD54F;
width: 100%;
}
.academic-dates-term {
background-color: #FDD54F;
color: #000;
}
.academic-dates .field--type-entity-reference {
margin: 0;
}
.academic-dates-type {
display: inline-block;
width: auto;
margin: 0;
font-family: verdana,sans-serif;
text-transform: uppercase;
font-size: .70233rem;
background-color: #000;
padding: .5rem;
color: #fff;
}
{{ attach_library('academic_dates/academic_dates') }}
<div class="academic-dates">
<div class="academic-dates-year">
<h2>{{ content.field_academic_date_year }}</h2>
......@@ -8,4 +9,4 @@
<div class="academic-dates-type">
{{ content.field_academic_date_type }}
</div>
</div>
</div>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment