/*
* HTML5 Boilerplate
*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*
*/
/* ----------------------------------------------------------------------
Base styles: opinionated defaults
---------------------------------------------------------------------- */
html,
button,
input,
select,
textarea {
color: #000; }
body {
font-size: 1em;
line-height: 1.4; }
/*
* Remove text-shadow in selection highlight: h5bp.com/i
* These selection rule sets have to be separate.
* Customize the background color to match your design.
*/
::-moz-selection {
background: #efefef;
text-shadow: none; }
::selection {
background: #efefef;
text-shadow: none; }
/*
* A better looking default horizontal rule
*/
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0; }
/*
* Remove the gap between images and the bottom of their containers: h5bp.com/i/440
*/
img {
vertical-align: middle; }
/*
* Remove default fieldset styles.
*/
fieldset {
border: 0;
margin: 0;
padding: 0; }
/*
* Allow only vertical resizing of textareas.
*/
textarea {
resize: vertical; }
/*
* Set some base typography
*/
h1, h2, h3, h4, h5, h6 {
color: #f5cd55;
font-family: "myriad-pro", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif; }
p {
font-family: "museo-sans", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif; }
a {
color: #a31e22; }
a:visited {
color: #a31e22; }
a:hover {
color: #1752a3; }
a:active {
color: #1752a3; }
/*
* Set some base typography
*/
h1, h2, h3, h4, h5, h6 {
color: #000; }
h1 {
color: #000;
font-family: "myriad-pro-condensed", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif; }
p {
color: #000; }
a {
color: #a31e22; }
input[type=text], input[type=email] {
border-color: #939598;
border-radius: 3px;
color: #7f7f7f;
font-family: "museo-sans", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
font-size: .875rem;
font-style: italic;
padding: 9px 10px;
box-shadow: 0 0 6px rgba(0, 0, 0, 0.15) inset; }
input[type=text]:focus, input[type=email]:focus {
font-style: normal; }
input[type=submit], input.input-submit {
border: none;
background-color: #a31e22;
color: #fff;
border: none;
padding: 9px 10px !important;
border-radius: 3px;
font-family: "myriad-pro-condensed", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
font-weight: bold; }
input[type=submit]:hover, input.input-submit:hover {
background-color: #1752a3; }
.btn, button[type="submit"],
#funnel .promo.newsletter form .btn,
#funnel .promo.list form .btn,
.promo.resources form button[type="submit"],
.promo.newsletter form .btn,
section[role="main"] .bodee .promo.resources form button[type="submit"] {
background-color: #a31e22;
color: #fff;
border: none;
padding: 8px 11px 9px;
border-radius: 3px;
font-family: "myriad-pro-condensed", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
font-weight: 700;
text-transform: none;
border: none; }
.btn:hover, button[type="submit"]:hover,
#funnel .promo.newsletter form .btn:hover,
#funnel .promo.list form .btn:hover,
.promo.resources form button[type="submit"]:hover,
.promo.newsletter form .btn:hover,
section[role="main"] .bodee .promo.resources form button[type="submit"]:hover {
background-color: #1752a3; }
.slideshow #ss-prev-next li {
background-color: transparent !important;
padding: 0 !important; }
section[role=main] {
font-family: "museo-sans", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif; }
section[role=main] .insider {
color: #ffffff;
float: left; }
.filter-list-controls select.filter-list {
border: 1px solid #ccc;
background: #4e4b4a;
color: #fff;
font-family: "museo-sans", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif; }
/* line-height and width should be overridden on a case-by-case basis */
.bubble {
background-color: #a31e22;
border-radius: 50%;
-webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.25);
box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.25);
color: #fff;
display: inline-block;
font-size: 1rem;
font-style: normal;
line-height: 50px;
text-align: center;
text-transform: lowercase;
width: 50px; }
.contributor-nw {
font-family: "museo-sans", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
color: #7c7c7c;
font-weight: 400; }
/* BEGIN CW HEADER */
#banner {
margin-bottom: 10px;
background-color: #3c3c3c; }
#banner .ad, #banner .top-ad {
background-color: #efefef; }
#banner .main-header {
box-shadow: none; }
#banner .topics {
background-color: #000;
font-weight: 400; }
#banner .topics:after {
content: '';
position: absolute;
z-index: 10;
top: 0;
right: 0;
bottom: 0;
width: 20px;
height: 40px;
background-color: transparent;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, transparent), color-stop(100%, black));
background-image: -webkit-linear-gradient(left, transparent 0%, black 100%);
background-image: linear-gradient(to right,transparent 0%, black 100%); }
#banner .topics nav {
height: 2rem;
line-height: 2rem; }
#banner .topics nav ul li {
padding: 0 0 0 10px;
font-family: "museo-sans", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
font-size: 0.8125rem; }
#banner .topics nav ul li::after {
color: #fff; }
#banner .topics nav ul li.header {
color: #fff;
font-weight: 400;
background-color: #a31e22;
padding: 0 18px 0 10px;
font-family: "myriad-pro", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
position: relative; }
#banner .topics nav ul li.header:after {
background-color: #000;
background-image: url(http://idge.staticworld.net/ctw/angle-trending.png);
background-position: right top;
background-repeat: no-repeat;
content: '';
height: 100%;
padding: 0 0 0 18px;
margin: 0;
position: absolute;
right: 0;
display: block;
top: 0;
width: 0; }
#banner .topics nav ul li a {
color: #fff; }
#banner .topics nav ul li a:hover {
color: #f5cd55; }
#banner section.main {
padding-bottom: 8px;
background-color: #000; }
@media only screen and (min-width: 48em) {
#banner section.main {
padding-bottom: 0;
height: 60px; } }
#banner section.main .masthead {
width: 260px; }
@media only screen and (min-width: 48em) {
#banner section.main .masthead {
width: 406px;
height: 60px; } }
#banner section.main .masthead button {
background: #000;
border: 1px solid #000;
border-radius: 0px;
color: #fff;
padding: 9px 7px 5px 7px;
margin-right: 10px;
top: 0px; }
#banner section.main .masthead h1 {
margin: 0; }
#banner section.main .masthead .logo {
background: url(http://idge.staticworld.net/ctw/cw-logo-mobile.png) 0 0 no-repeat;
background-size: 211px 32px;
height: 32px;
width: 211px;
margin-left: -3px;
margin-top: 16px;
top: 6px; }
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
#banner section.main .masthead .logo {
background: url(http://idge.staticworld.net/ctw/computerworld-logo_mobile@x2.png) 0 0 no-repeat;
background-size: 211px 32px; } }
@media only screen and (min-width: 48em) {
#banner section.main .masthead .logo {
background: url(http://idge.staticworld.net/ctw/cw-logo.png) 0 0 no-repeat;
background-size: 360px 54px;
height: 54px;
width: 360px;
margin-left: -3px;
margin-top: -3px;
top: 19px; } }
@media only screen and (min-width: 48em) and (-webkit-min-device-pixel-ratio: 2), only screen and (min-width: 48em) and (min--moz-device-pixel-ratio: 2), only screen and (min-width: 48em) and (-moz-min-device-pixel-ratio: 2), only screen and (min-width: 48em) and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-width: 48em) and (min-device-pixel-ratio: 2), only screen and (min-width: 48em) and (min-resolution: 192dpi), only screen and (min-width: 48em) and (min-resolution: 2dppx) {
#banner section.main .masthead .logo {
background: url(http://idge.staticworld.net/ctw/cw-logo@x2.png) 0 0 no-repeat;
background-size: 360px 54px; } }
@media only screen and (min-width: 48em) {
#banner section.main #reading-tools-wrapper {
width: 25%;
width: -webkit-calc(100% - 420px);
width: -moz-calc(100% - 420px);
width: calc(100% - 420px); } }
@media only screen and (min-width: 60.625em) {
#banner section.main #reading-tools-wrapper {
position: relative; } }
#banner section.main .reading {
display: block; }
@media only screen and (min-width: 60.625em) {
#banner section.main .reading {
top: 8px !important;
left: 145px;
width: 150px;
margin-left: 0; } }
.lt-ie9 #banner section.main .reading {
display: none; }
#banner section.main .reading #reading-selector {
background: #3c3c3c;
border: 0 none;
border-radius: 3px;
color: #fff;
font-family: "myriad-pro", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
font-weight: 400;
font-size: 1rem; }
@media only screen and (min-width: 60.625em) {
#banner section.main .reading #reading-selector {
padding: 5px 0 5px 0; } }
#banner section.main .reading #reading-selector .label {
font-weight: 700;
-webkit-font-smoothing: antialiased; }
#banner section.main .reading #reading-selector .label .tick {
color: #a31e22;
padding: 7px 4px 0 0; }
#banner section.main .reading #reading-selector.open .label {
padding-bottom: 0; }
#banner section.main .reading #reading-selector.open ul {
position: absolute;
top: 45px;
left: -100px;
background: #3c3c3c;
border-radius: 3px;
width: 350px;
padding: 1rem 0; }
#banner section.main .reading #reading-selector.open ul li {
font-family: "museo-sans", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
font-size: 0.875rem;
font-weight: 500;
border-bottom: 0 none;
padding: 0.5rem 1rem; }
#banner section.main .reading #reading-selector.open ul li a {
color: #fff; }
#banner section.main .reading #reading-selector.open ul li a:hover {
color: #f5cd55; }
#banner section.main .reading #reading-selector.open ul li.subhed:hover {
background: none; }
#banner section.main .reading #reading-selector.open ul li.more a {
color: #f5cd55; }
#banner section.main .reading #reading-selector.open ul li.more .ss-icon {
position: relative;
top: 3px; }
#banner section.main .tools {
top: 28px; }
@media only screen and (min-width: 48em) {
#banner section.main .tools {
top: 15px; } }
#banner section.main .tools ul li a {
color: #b5b5b5; }
#banner section.main .tools ul li a:hover {
color: #a31e22; }
#banner section.main .tools ul li:last-child {
position: relative;
top: -10px; }
@media only screen and (min-width: 48em) {
#banner section.main .tools ul li:last-child {
top: 0px; } }
#banner section.tools-expand {
background: #3c3c3c; }
#banner section.tools-expand input {
padding: 9px 6px 6px 6px; }
#banner section.tools-expand input:focus {
box-shadow: 0 0 8px rgba(42, 107, 143, 0.45); }
#banner section.tools-expand input[type=text] {
width: 50%;
width: -webkit-calc(100% - 150px);
width: -moz-calc(100% - 150px);
width: calc(100% - 150px);
font-family: "museo-sans", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
font-weight: 500;
font-size: 0.9375rem; }
#banner section.tools-expand input[type=submit] {
font-family: "myriad-pro-condensed", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
background: #a31e22;
font-size: 1rem; }
#banner section.tools-expand .search-suggest {
font-family: "myriad-pro", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif; }
#banner section.tools-expand .ui-autocomplete {
font-family: "myriad-pro", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif; }
#banner section.tools-expand .ui-autocomplete li {
margin: 0 82px; }
#banner section.tools-expand .ui-autocomplete li a.ui-state-focus {
background-color: #c0deff; }
#banner label {
font-family: "myriad-pro", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
font-weight: 700;
font-size: 1em;
color: #fff; }
/* END CW HEADER */
/* BEGIN CW NAV */
#banner nav.main {
background: #000;
top: 107px; }
@media only screen and (min-width: 48em) {
#banner nav.main {
top: 97px; } }
#banner nav.main ul > li {
border-top: 1px solid rgba(202, 219, 232, 0.15);
font-family: "myriad-pro", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
background-color: #000; }
#banner nav.main ul > li a {
color: #FFF;
-webkit-font-smoothing: antialiased; }
#banner nav.main ul > li a:hover {
background: #a31e22; }
#banner nav.main ul > li a span {
color: #fff; }
#banner nav.main ul > li:last-child {
border-bottom: 1px solid rgba(202, 219, 232, 0.15); }
#banner nav.main ul > li ul li {
background-color: #3c3c3c; }
#banner nav.main ul > li ul li:first-child {
background: #3c3c3c; }
#banner.nav-open section.main .masthead button {
background: #a31e22;
border-color: #a31e22;
color: #fff; }
/* END CW NAV */
/* BEGIN CW FOOTER */
footer {
background-color: #000;
-webkit-font-smoothing: antialiased; }
.has-fireplace footer {
margin: 0 auto;
width: 1000px; }
footer .brand .logo {
color: #fff;
background: url(http://idge.staticworld.net/ctw/cw-logo-footer-mobile.png) 0 0 no-repeat;
background-size: 200px 31px;
position: relative;
height: 31px;
width: 200px;
margin: 0.3em auto 1.0rem auto; }
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
footer .brand .logo {
background: url(http://idge.staticworld.net/ctw/computerworld-logo_footer@x2.png) 0 0 no-repeat;
background-size: 200px 31px; } }
@media only screen and (min-width: 48em) {
footer .brand .logo {
background: url(http://idge.staticworld.net/ctw/cw-logo-footer2.png) 0 0 no-repeat;
background-size: 248px 38px;
height: 38px;
width: 248px; } }
@media only screen and (min-width: 48em) and (-webkit-min-device-pixel-ratio: 2), only screen and (min-width: 48em) and (min--moz-device-pixel-ratio: 2), only screen and (min-width: 48em) and (-moz-min-device-pixel-ratio: 2), only screen and (min-width: 48em) and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-width: 48em) and (min-device-pixel-ratio: 2), only screen and (min-width: 48em) and (min-resolution: 192dpi), only screen and (min-width: 48em) and (min-resolution: 2dppx) {
footer .brand .logo {
background: url(http://idge.staticworld.net/ctw/computerworld-logo_footer@x2.png) 0 0 no-repeat;
background-size: 248px 38px; } }
footer .brand .tagline {
color: #fff;
border-left: 0 none;
margin-top: 1.25rem;
padding-left: 0; }
@media only screen and (min-width: 48em) {
footer .brand .tagline {
margin-top: 1.625rem; } }
footer .brand .follow {
display: block;
margin-top: 20px; }
@media only screen and (min-width: 48em) {
footer .brand .follow {
margin-top: 15px;
margin-right: 15px; } }
footer .brand .follow label {
display: inline-block;
float: none;
font-family: "myriad-pro-condensed", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
font-size: 1.25rem;
font-weight: 700;
color: #fff; }
@media only screen and (min-width: 48em) {
footer .brand .follow label {
float: left;
margin-top: -0.1875rem; } }
footer .brand .follow ul {
display: inline-block;
margin-top: -2px; }
footer .brand .follow ul li {
border-right: 0 none;
padding: 0 0.625rem;
position: relative; }
footer .brand .follow ul li a {
position: relative;
top: 5px; }
footer .brand .follow ul li a:link,
footer .brand .follow ul li a:visited {
color: rgba(255, 255, 255, 0.6);
float: left; }
footer .brand .follow ul li a:hover,
footer .brand .follow ul li a:active {
color: #a31e22; }
footer .brand .follow ul li .brand {
padding: 0; }
footer .topics {
padding-top: 2.25rem;
float: none;
background-color: #000;
max-width: none;
clear: both; }
@media only screen and (min-width: 48em) {
footer .topics {
padding-top: 1.25rem; } }
footer .topics nav ul {
font-family: "myriad-pro-condensed", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif; }
footer .topics nav ul li {
margin-bottom: 0;
font-weight: 700;
font-size: 1.375rem;
text-transform: uppercase; }
@media only screen and (min-width: 48em) {
footer .topics nav ul li {
margin-bottom: 0.25rem; } }
footer .topics nav ul li::after {
position: relative;
color: #bccdce; }
footer .topics nav ul li:last-child::after {
content: none;
padding-left: 0; }
footer .topics nav ul li a {
color: #bccdce;
-webkit-font-smoothing: antialiased; }
footer .topics nav ul li a:hover {
color: #a31e22; }
footer .topics nav#ft2 ul li {
font-weight: 400;
font-size: 0.875rem;
text-transform: none;
font-family: "myriad-pro", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif; }
footer .topics nav#ft2 ul li::after {
color: #efefef; }
footer .topics nav#ft2 ul li a {
color: #efefef; }
footer .topics nav#ft2 ul li a:hover {
color: #a31e22; }
footer .topics nav#ft1,
footer .topics nav#ft2,
footer .topics nav#ft2 {
max-width: 970px;
margin: auto; }
footer .topics nav#ft2 {
position: relative;
top: 5px; }
@media only screen and (min-width: 48em) {
footer .topics nav#ft2 {
top: 0; } }
footer .topics nav#ft2 {
position: relative;
top: 15px; }
@media only screen and (min-width: 48em) {
footer .topics nav#ft2 {
top: 0; } }
footer .about {
background-color: #000; }
@media only screen and (min-width: 48em) {
footer .about {
padding-top: 0;
padding-bottom: 0; } }
footer .about nav ul {
font-size: 0; }
footer .about nav ul li {
font-family: "myriad-pro-condensed", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
font-size: 0.9375rem;
padding: 0 0.5rem;
border-right: 1px solid #7d7d7d;
font-weight: 400;
margin-bottom: .75rem; }
footer .about nav ul li:last-child {
border-right: 0 none; }
footer .about nav ul li a {
color: #7d7d7d; }
footer .about nav ul li a:hover {
color: #a31e22; }
footer .copyright {
background-color: #000;
padding-bottom: 2em; }
footer .copyright p {
color: #8a8a8a;
font-family: "museo-sans", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
max-width: 970px;
margin: 0 auto;
text-align: center; }
@media only screen and (min-width: 48em) {
footer .copyright p {
text-align: left; } }
footer .copyright p span {
color: #999;
display: inline-block;
padding-top: 10px; }
footer .copyright p span a {
color: #666;
text-decoration: none; }
footer .copyright p a {
color: #8a8a8a; }
footer .copyright p a:hover {
color: #a31e22; }
footer .copyright .network {
border-color: #878686;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
font-family: "myriad-pro", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif;
float: none;
margin-top: 1rem; }
@media only screen and (min-width: 48em) {
footer .copyright .network {
float: right;
margin-top: -4.125rem; } }
footer .copyright .network #network-selector.open {
border: 1px solid #878686;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
left: -1px; }
footer .copyright .network .label {
color: #000; }
/* END CW FOOTER */
