Skip to content

Vocabulary styles being overriden by custom styling #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 11, 2019
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 43 additions & 10 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@
<HTMLGenerator :shortLicenseName="selected.shortName"/>
</div>
<Footer>
<p>
<a href="https://github.com/creativecommons/cc-chooser">Icons</a> by The Noun Project and FontAwesome.
</p>
<p>
View this page's source code <a href="https://github.com/creativecommons/cc-chooser">on Github</a>.
</p>
<Locale/>
<div class="panel">
<div>
<h6 class="vocab heading inherit-colored">Credits</h6>
<span>Built using <a href="https://creativecommons.github.io/cc-vocabulary/">Vocabulary</a>.</span>
<br>
<span>Icons by <a href="https://fontawesome.com/">Font Awesome</a>.</span>
<br>
<span>Images from <a href="https://commons.wikimedia.org/">Wikimedia Commons</a>.</span>
</div>
<Locale/>
</div>
</Footer>
</div>
</template>
Expand Down Expand Up @@ -96,10 +100,39 @@ hr {
margin-right: 3%;
}
}
.vocab-container .vocab-grid .panel {
height: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
.vocab.select-field.normal-sized {
font-size: 1rem;
}
.vocab.select-field>.field.has-addons {
padding-left: calc(1em + var(--select-field-addons-space));
margin-bottom: 0;
min-width: 10em;
}
.vocab.select-field>.field>option[disabled] {
opacity: 0.6;
}
</style>
<style scoped>
p {
margin-bottom: .5em;
<style scoped>
p { margin-bottom: .5em; }
#custom .panel > div:first-child {
margin-bottom: 10vh;
}
.vocab.footer {
font-family: Source Sans Pro,Noto Sans,Arial,Helvetica Neue,Helvetica,sans-serif;
line-height: 1.2;
}
</style>

Expand Down