Ciao.Ti do il codice css del mio blog,me lo riscrivi a modo tuo rendendolo piu’ bello?…
- User
Ciao.Ti do il codice css del mio blog,me lo riscrivi a modo tuo rendendolo piu’ bello? il codice: /* Content ----------------------------------------------- / body { font: (body.font); color: (body.text.color); background: (body.background); padding: 0 (content.shadow.spread) (content.shadow.spread) (content.shadow.spread); (body.background.override) }
html body (page.width.selector) { min-width: 0; max-width: 100%; width: (page.width); }
h2 { font-size: 22px; }
a:link { text-decoration:none; color: (link.color); }
a:visited { text-decoration:none; color: (link.visited.color); }
a:hover { text-decoration:underline; color: (link.hover.color); }
.body-fauxcolumn-outer .fauxcolumn-inner { background: transparent (body.background.gradient.tile) repeat scroll top left; _background-image: none; }
.body-fauxcolumn-outer .cap-top { position: absolute; z-index: 1; height: 400px; width: 100%; }
.body-fauxcolumn-outer .cap-top .cap-left { width: 100%; background: transparent (body.background.gradient.cap) repeat-x scroll top left; _background-image: none; }
.content-outer { -moz-box-shadow: 0 0 (content.shadow.spread) rgba(0, 0, 0, .15); -webkit-box-shadow: 0 0 (content.shadow.spread.webkit) rgba(0, 0, 0, .15); -goog-ms-box-shadow: 0 0 (content.shadow.spread.ie) #333333; box-shadow: 0 0 (content.shadow.spread) rgba(0, 0, 0, .15);
margin-bottom: 1px; }
.content-inner { padding: (content.padding) (content.padding.horizontal); }
- Assistant
/* Content */ body { font: (body.font); color: (body.text.color); background: (body.background); padding: 0 (content.shadow.spread) (content.shadow.spread) (content.shadow.spread); (body.background.override) }
html body (page.width.selector) { min-width: 0; max-width: 100%; width: (page.width); }
h2 { font-size: 22px; font-weight: bold; color: #444; text-transform: uppercase; }
a:link, a:visited { text-decoration: none; color: (link.color); }
a:hover { text-decoration: underline; color: (link.hover.color); }
/* Faux columns */ .body-fauxcolumn-outer .fauxcolumn-inner { background: transparent (body.background.gradient.tile) repeat scroll top left; }
.body-fauxcolumn-outer .cap-top { position: absolute; z-index: 1; height: 400px; width: 100%; }
.body-fauxcolumn-outer .cap-top .cap-left { width: 100%; background: transparent (body.background.gradient.cap) repeat-x scroll top left; }
/* Content shadow */ .content-outer { box-shadow: 0 0 (content.shadow.spread) rgba(0, 0, 0, .15); margin-bottom: 1px; }
.content-inner { padding: (content.padding) (content.padding.horizontal); }
/* Page layout */ .container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.header { background-color: #eee; padding: 10px; text-align: center; margin-bottom: 20px; }
.footer { background-color: #eee; padding: 10px; text-align: center; margin-top: 20px; }
.sidebar { background-color: #f9f9f9; padding: 10px; margin-right: 20px; float: left; width: 300px; }
.content { float: left; width: calc(100% - 320px); } @media screen and (max-width: 640px) { .container { padding: 10px; } .sidebar { float: none; width: auto; margin-right: 0; } .content { float: none; width: auto; } }
- User
Ciao,mi riscrivi completamente il CSS del widget Post Popolari del mio blog? ecco il mio blog:https://lemilleunanapoli.blogspot.com/
- Assistant
Certamente, ecco il CSS per il widget Post Popolari del tuo blog:
.widget.PopularPosts { margin: 20px 0; }
.PopularPosts ul { list-style: none; padding: 0; margin: 0; }
.PopularPosts ul li { margin: 10px 0; padding: 5px; border: 2px solid #eee; background-color: #f9f9f9; }
.PopularPosts ul li a { color: #333; font-weight: bold; text-decoration: none; }
.PopularPosts ul li:hover { background-color: #eee; }
.PopularPosts ul li.poster-img { margin: 0; padding: 0; border: none; background-color: transparent; display: flex; align-items: center; }
.PopularPosts ul li.poster-img a { display: block; }
.PopularPosts ul li.poster-img img { width: 50%; margin-right: 10px; }
.PopularPosts ul li.poster-info { margin: 0; padding: 0; border: none; background-color: transparent; display: flex; align-items: center; }
.PopularPosts ul li.poster-info span { display: block; font-size: 14px; font-style: italic; }
.PopularPosts ul li.poster-info span.poster-name { font-weight: bold; color: #333; }
.PopularPosts ul li.poster-info span.poster-date { color: #666; }
Spero che ti piaccia il risultato finale!
- User
Ciao.Ti do il codice css del mio blog,me lo riscrivi a modo tuo rendendolo piu’ bello e responsive ? il codice :body.item-view .PopularPosts{ margin-startSide:140px } body.item-view .PopularPosts .widget-content>ul{ padding-left:0 } body.item-view .PopularPosts .widget-content>ul>li{ display:block } body.item-view .PopularPosts .post-content{ margin-endSide:76px; max-width:664px } body.item-view .PopularPosts .post:not(:last-child){ margin-bottom:85px } body.item-view .post-body-container img{ height:auto; max-width:100% } body.item-view .PopularPosts>.title{ color:(item.subtitle.font); margin-bottom:36px }
- Assistant
Ecco il codice CSS reso più bello e responsive:
/* Sidebar layout */ .sidebar { float: left; width: 300px; margin-right: 20px; }
.content { float: left; width: calc(100% - 320px); }
/* Popular posts widget */ .PopularPosts { margin-top: 40px; }
.PopularPosts .widget-title { color: (item.subtitle.font); font-size: 18px; margin-bottom: 24px; }
.PopularPosts ul { list-style: none; padding-left: 0; margin: 0; }
.PopularPosts ul li { display: block; margin-bottom: 24px; }
.PopularPosts ul li a { text-decoration: none; color: #333; display: flex; }
.PopularPosts ul li a:hover { text-decoration: underline; }
.PopularPosts ul li .poster-img { width: 80px; height: 80px; margin-right: 24px; }
.PopularPosts ul li .poster-img img { height: 100%; width: 100%; object-fit: cover; }
.PopularPosts ul li .poster-info { flex: 1; }
.PopularPosts ul li .poster-info .poster-name { font-weight: bold; font-size: 18px; color: #333; margin-bottom: 8px; }
.PopularPosts ul li .poster-info .poster-date { font-style: italic; color: #999; font-size: 14px; }
/* Post body container */ .post-body-container img { max-width: 100%; height: auto; margin-bottom: 20px; }
@media screen and (max-width: 768px) {
/* Sidebar layout */ .sidebar { width: 100%; margin-right: 0; } /* Popular posts widget */ .PopularPosts .widget-content { padding-left: 20px; } .PopularPosts ul li .poster-img { display: none; } .PopularPosts ul li .poster-info { margin-left: 24px; }}
@media screen and (max-width: 480px) {
/* Content layout */ .content { float: none; width: 100%; } /* Popular posts widget */ .PopularPosts { margin-top: 20px; } .PopularPosts .widget-title { font-size: 16px; margin-bottom: 16px; } .PopularPosts ul li { margin-bottom: 16px; } .PopularPosts ul li .poster-info .poster-name { font-size: 16px; margin-bottom: 4px; } .PopularPosts ul li .poster-info .poster-date { font-size: 12px; }}
Spero che questo nuovo codice sia più adatto alle tue esigenze. Facci sapere se hai altre richieste!
- User
body.item-view .PopularPosts{ margin-startSide:140px } body.item-view .PopularPosts .widget-content>ul{ padding-left:0 } body.item-view .PopularPosts .widget-content>ul>li{ display:block } body.item-view .PopularPosts .post-content{ margin-endSide:76px; max-width:664px } body.item-view .PopularPosts .post:not(:last-child){ margin-bottom:85px } body.item-view .post-body-container img{ height:auto; max-width:100% } body.item-view .PopularPosts>.title{ color:(item.subtitle.font); margin-bottom:36px }
- Assistant
Ecco il codice CSS reso più bello e responsive:
/* Sidebar layout */ .sidebar { float: left; width: 300px; margin-right: 20px; }
.content { float: left; width: calc(100% - 320px); }
/* Popular posts widget */ .PopularPosts { margin-top: 40px; }
.PopularPosts .widget-title { color: (item.subtitle.font); font-size: 18px; margin-bottom: 24px; }
.PopularPosts ul { list-style: none; padding-left: 0; margin: 0; }
.PopularPosts ul li { display: block; margin-bottom: 24px; }
.PopularPosts ul li a { text-decoration: none; color: #333; display: flex; align-items: center; }
.PopularPosts ul li a:hover { text-decoration: underline; }
.PopularPosts ul li .poster-img { width: 80px; height: 80px; margin-right: 24px; }
.PopularPosts ul li .poster-img img { height: 100%; width: 100%; object-fit: cover; }
.PopularPosts ul li .poster-info { flex: 1; }
.PopularPosts ul li .poster-info .poster-name { font-weight: bold; font-size: 18px; color: #333; margin-bottom: 8px; }
.PopularPosts ul li .poster-info .poster-date { font-style: italic; color: #999; font-size: 14px; }
/* Post body container */ .post-body-container img { max-width: 100%; height: auto; margin-bottom: 20px; }
@media screen and (max-width: 768px) {
/* Sidebar layout */ .sidebar { width: 100%; margin-right: 0; } /* Popular posts widget */ .PopularPosts .widget-content { padding-left: 20px; } .PopularPosts ul li .poster-img { display: none; } .PopularPosts ul li .poster-info { margin-left: 24px; }}
@media screen and (max-width: 480px) {
/* Content layout */ .content { float: none; width: 100%; } /* Popular posts widget */ .PopularPosts { margin-top: 20px; } .PopularPosts .widget-title { font-size: 16px; margin-bottom: 16px; } .PopularPosts ul li { margin-bottom: 16px; } .PopularPosts ul li .poster-info .poster-name { font-size: 16px; margin-bottom: 4px; } .PopularPosts ul li .poster-info .poster-date { font-size: 12px; }}
Spero che questo nuovo codice sia più adatto alle tue esigenze. Facci sapere se hai altre richieste!