Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- @media(max-width: 1000px){
- #main-nav {
- margin-top:105px;
- margin-left: 300px
- display: inline-table
- }
- #main-nav a{
- font-weight: bolder;
- display: table-cell;
- text-align: center;
- width: 95px;
- height: 35px;
- line-height: 35px;
- text-decoration: none;
- color: #a0a0a0;
- text-transform: uppercase;
- font-size: 0.7em;
- }
- }
- @media(min-width: 1001px){
- #main-nav {
- margin-top:105px;
- margin-left: 300px
- display: block;
- }
- #main-nav a{
- font-weight: bolder;
- display: block;
- float-left;
- text-align: center;
- width: 95px;
- height: 35px;
- line-height: 35px;
- text-decoration: none;
- color: #a0a0a0;
- text-transform: uppercase;
- font-size: 0.7em;
- }
- }
- </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement