/*
Theme Name:     Azure Night Divi Child theme
Theme URI:      
Description:    Divi child theme.
Author:         Azure Night LLC
Author URI:     https://www.azurenight.com/
Template:       Divi
Version:        0.1.0
*/
@import url('fonts/stylesheet.css');

.footer-widget {
  margin: 0 2.5% 2.5% 0 !important;
}
#footer-widgets {
  padding: 2% 0 0 0 !important;
}
/*
* Remove sidebar on all archive pages
*/
.search #main-content .container::before,
.archive #main-content .container::before {
    display: none;
}
.search #left-area,
.archive #left-area {
    width: 100%;
    float: none;
    padding-right: 0;
}
.search #sidebar,
.archive #sidebar {
    display: none;
}

/* Bare bones style for the desired effect */
pre.code {
    display: table;
    table-layout: fixed;
    width: 100%; /* anything but auto, otherwise fixed layout not guaranteed */
    white-space: pre-wrap;
    border: solid 1px black;

}
pre.code::before {
    counter-reset: linenum;
}
pre.code span.tr {
    display: table-row;
    counter-increment: linenum;
}
pre.code span.th { /* used for line numbers */
    display: table-cell;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    background: #f0f0f0;
    padding: 3px;
    padding-top: 0px;
    border-right: solid 1px silver;
    border-top: solid 1px silver;

}
pre.code span.th::before {
    content: counter(linenum);
    text-align: right;
    display: block;
    margin-right: 5px;
}
pre.code span.th {
    width: 4em; /* or whatever the desired width of the numbers column is */
}
pre.code code {
    display: table-cell;
}
