Skip to content

Commit be889ae

Browse files
committed
style fix for general content
1 parent 2a149ae commit be889ae

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

themes/cc-commoners/assets/css/extra.css

+39
Original file line numberDiff line numberDiff line change
@@ -386,4 +386,43 @@ table.ccgn-profile tr td.title {
386386
.entry-content p {
387387
margin: 1.2rem 0;
388388
line-height: 1.8rem;
389+
}
390+
.cc-content-area .block-area .entry-content ul.user-list {
391+
margin: 1rem 0 2rem;
392+
-webkit-columns: 2;
393+
-moz-columns: 2;
394+
columns: 2;
395+
-webkit-column-gap: 2rem;
396+
-moz-column-gap: 2rem;
397+
column-gap: 2rem;
398+
list-style-type: none;
399+
}
400+
.cc-content-area .block-area .entry-content ul.link-list {
401+
margin: 0;
402+
padding: 0;
403+
border-top: 1px solid #f1f1f1;
404+
border-bottom: 1px solid #f1f1f1;
405+
list-style-type: none;
406+
}
407+
.cc-content-area .block-area .entry-content ul.link-list li {
408+
padding: .5rem;
409+
}
410+
.cc-content-area .block-area .entry-content ul.link-list li a {
411+
text-decoration: none;
412+
}
413+
.cc-content-area .block-area .entry-content ul.link-list li a:hover {
414+
text-decoration: underline;
415+
}
416+
.cc-content-area .block-area .entry-content h1, .cc-content-area .block-area .entry-content h2, .cc-content-area .block-area .entry-content h3, .cc-content-area .block-area .entry-content h4, .cc-content-area .block-area .entry-content h5, .cc-content-area .block-area .entry-content h6 {
417+
margin: 1rem 0;
418+
}
419+
.cc-content-area .block-area .entry-content ul.user-list li {
420+
padding: .8rem 1rem;
421+
border-bottom: 1px solid #f1f1f1;
422+
}
423+
.cc-content-area .block-area .entry-content ul {
424+
padding-left: 1.5rem;
425+
margin-top: .5rem;
426+
margin-bottom: .5rem;
427+
margin-left: 1rem;
389428
}

themes/cc-commoners/functions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function cc_commoners_widgets () {
3535
add_action( 'widgets_init', 'cc_commoners_widgets', 11 );
3636

3737
function cc_commoners_theme_scripts () {
38-
$style_version = '2.0.4';
38+
$style_version = '2.0.5';
3939
$script_version = '1.0.0';
4040

4141
wp_enqueue_script(

0 commit comments

Comments
 (0)