Refactor code structure for improved readability and maintainability
This commit is contained in:
26
themes/css/cssdivalign.css
Normal file
26
themes/css/cssdivalign.css
Normal file
@ -0,0 +1,26 @@
|
||||
.div-fontawesome-circle {
|
||||
display: inline-block;
|
||||
width: 3em;
|
||||
height: 3em;
|
||||
border-radius:1.5em;
|
||||
margin-right: 1em;
|
||||
background-color: white;
|
||||
text-align: center;
|
||||
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.div-fontawesome-circle:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
vertical-align: middle;
|
||||
margin-right: -0.25em; /* Adjusts for spacing */
|
||||
}
|
||||
|
||||
.div-fontawesome-circle span {
|
||||
color: #3498db;
|
||||
font-size: 1.6em;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
Reference in New Issue
Block a user