Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJonathan Leon
18,813 PointsUser agent stylesheet overrides the style shown in the video
Using the preloaded workspace from this video, the callout anchors still display an underline and colored hblue, when I inspected this with the chrome dev tools, it says user agent stylesheet overrides this and sets a to
color: -webkit-link; text-decoration: underline; cursor: auto;
Help? :(
Jonathan Leon
18,813 PointsOfcourse:
/* Base Styles -------------------- */
body { color: #878787; margin: 0; font: 1em/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; }
h1 {
font-size: 5.625rem; /* 90px/16px */
color: rgba(255, 255, 255, 1);
text-transform: uppercase;
font-weight: normal;
line-height: 1.3;
}
h2 { font-size: 3.3125em; /* 53px/16px / font-weight: normal; line-height: 1.1; margin: 0 0 .5em; / 0 0 26px */ }
h3 { font-size: 1.25em; /* 20px/16px / color: #48525c; line-height: 1.2; margin-bottom: 1.7em; / 34px */ }
/* li {
display:inline-block; padding: 0 12px; border-right: solid 1px; margin: 80px 0;
/ } / Pseudo-classes ------------------ */
a:link { color: rgb(255, 169, 73); text-decoration: none; }
a:visited { color: lightblue; }
a:hover { color: rgba(255, 169, 73, .4); }
a:active { color: lightcoral; }
/* Main Styles --------------------- */
.main-header { background-color: #ffa949; }
.title { color: white; font-size: 1.625rem; /* 26px/16px */ }
.intro {
font-size: 1.25em; /* 20px/16px */
line-height: 1.6;
}
.primary-content, .main-header, .main-footer { text-align: center; }
.primary-content { padding-top: 25px; padding-bottom: 95px; }
.secondary-content { padding-top: 80px; padding-bottom: 70px; border-bottom: 2px solid #dfe2e6; }
.callout {
font-size: 1.25em; border-bottom: 3px solid; padding: 0 9px 3px; margin-top: 20px; display:inline-block;
}
.main-footer { padding-top: 60px; padding-bottom: 60px; border-bottom: 10px solid #ffa949; }
.t-border { border-top: 2px solid #dfe2e6; }
/* Layout Styles ------------------ */
.primary-content, .secondary-content { width: 60%; margin: auto; }
.wildlife { color: white; background-color: #434a52; padding: 18% 24%; border-top: 10px solid #ffa949; margin: 105px 0 60px; }
Demian Martinez
2,985 PointsDemian Martinez
2,985 PointsCould you paste the CSS code you're writing so we can have a look please?