Created
July 21, 2017 09:30
-
-
Save GarySwift/62c48e3277a0fab9cc7d74c5d5640916 to your computer and use it in GitHub Desktop.
Footer Copyright. #php #zurbfoundation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="meta"> | |
<div id="copy"> | |
<div class="wrapper"> | |
<span class="wrap">Copyright ©<?php echo date("Y"); ?></span> | |
<span class="space">‐</span> | |
<span class="wrap"><?php bloginfo( 'name' ); ?></span> | |
<span class="space">‐</span> | |
<span class="wrap">All Rights Reserved</span> | |
</div><!-- @end .wrapper --> | |
</div><!-- @end #copy --> | |
</div><!-- @end .meta --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div.meta { | |
@extend .row; | |
margin-bottom: 15px; | |
} | |
#copy { | |
color: $white; | |
text-align: center; | |
.wrapper { | |
padding: 5px; | |
font-size: small; | |
span.wrap { | |
display: block; | |
padding: 5px; | |
} | |
span.space { | |
display: none; | |
} | |
} | |
} | |
@media screen and #{breakpoint(medium)} { | |
#copy { | |
.wrapper { | |
padding: 10px; | |
span.wrap { | |
display: inline; | |
margin-bottom: 0; | |
} | |
span.space { | |
display: inline; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment