Aki’s Diary

あいにくご期待に添えません

これはメモです

流用することもあるかもしれないので、消す前にAdSense周りのデザインをいじるの時のコードをメモっとく。

div#google_afc_user {
    margin: 2em 1em 4em;
}

div#google_afc_user div.google_ads_by {
    background: #333;
    margin: 0 0 0.5em;
    padding: 0 8px 0;
    font-size: 300%;
    font-weight: bold;
    text-align: left;
    text-transform: uppercase;
    line-height: 0.5;
    letter-spacing: -0.1em;
    word-spacing: -0.1em;
}

div#google_afc_user a {
    color: #000;
}

div#google_afc_user div.google_ads_by a {
    color: #fff;
    opacity: 1.0;
}

div#google_afc_user li {
    margin: 0 8px 0.75em;
}

div#google_afc_user ul span.title {
    margin-bottom: 0.25em;
}

div#google_afc_user ul span.title a {
    text-decoration: none;
    letter-spacing: 0px;
}

div#google_afc_user ul span.title a:hover::after,
div#google_afc_user ul span.title a:focus::after {
    content: " \002192";
}

div#google_afc_user ul span.summary {
    display: block !important;
    color: #555;
    opacity: 1.0;
}

div#google_afc_user ul span.visible_url a {
    font-weight: bold;
    letter-spacing: 0;
}

div#google_afc_user ul span.visible_url a:hover,
div#google_afc_user ul span.visible_url a:focus {
    text-decoration: underline;
}