Skip to content

Commit 8d93748

Browse files
committed
Undo any changes to borg
1 parent a7b58f6 commit 8d93748

File tree

2 files changed

+127
-122
lines changed

2 files changed

+127
-122
lines changed

www/themes/borg/css/components.css

Lines changed: 103 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -333,11 +333,19 @@ article.comment ul.links.inline {
333333
padding: 10px;
334334
}
335335

336+
/*******************************************************************************
337+
* General submitted
338+
*******************************************************************************/
339+
div.submitted {
340+
color: #595959; /* AAA */
341+
}
342+
336343
/*******************************************************************************
337344
* All entity footers
338345
*******************************************************************************/
339346
article footer {
340347
font-size: 0.875rem; /* 16px */
348+
color: #000;
341349
background-color: #f7f7f7;
342350
border: 1px solid #E8E6E5;
343351
border-radius: 10px;
@@ -625,6 +633,28 @@ a.feed-icon {
625633
color: #7D7D7D;
626634
}
627635

636+
/*******************************************************************************
637+
* Social media icons - general.
638+
*******************************************************************************/
639+
640+
div.fa-mastodon {
641+
display: inline-block;
642+
-webkit-mask-image: url(../images/mastodon-logo-black.svg);
643+
mask-image: url(../images/mastodon-logo-black.svg);
644+
background-image: url(../images/mastodon-logo-black.svg);
645+
background-color: #007CBA;
646+
content: '-';
647+
}
648+
649+
div.fa-bluesky {
650+
display: inline-block;
651+
-webkit-mask-image: url(../images/bluesky-logo-black.svg);
652+
mask-image: url(../images/bluesky-logo-black.svg);
653+
background-image: url(../images/bluesky-logo-black.svg);
654+
background-color: #007CBA;
655+
content: '-';
656+
}
657+
628658
/*******************************************************************************
629659
* On The Web social media links block.
630660
*******************************************************************************/
@@ -634,6 +664,9 @@ a.feed-icon {
634664
.block-on-the-web-social-links a i {
635665
color: #007CBA;
636666
}
667+
.block-on-the-web-social-links a svg {
668+
background-color: #007CBA;
669+
}
637670
.l-footer .block-on-the-web-social-links a i {
638671
text-align: left;
639672
}
@@ -644,19 +677,51 @@ a.feed-icon {
644677
color: #000;
645678
}
646679

680+
/* add top/bottom margin */
681+
svg.otw-square {
682+
margin: 5px;
683+
}
684+
685+
/* 8 iccons should stack */
686+
a.otw-icon {
687+
display: inline-block;
688+
width: 25%;
689+
text-align: center;
690+
}
691+
647692
a.otw-svg-mask {
693+
width: 28px;
694+
height: 32px;
695+
}
696+
a.otw-svg-mask-2 {
697+
display: inline-block;
648698
margin: 5px;
649699
background: #007CBA;
650700
width: 28px;
651701
height: 32px;
652702
}
653-
a.otw-svg-mask:first-child {
654-
margin-left: 0;
655-
}
656-
a.otw-svg-mask:last-child {
657-
margin-right: 0;
703+
704+
@media (min-width: 22.5em) { /* 360px @ 16px font size -- SM */
705+
a.otw-icon {
706+
width: auto;
707+
text-align: left;
708+
}
709+
a.otw-icon:first-child svg.otw-square {
710+
margin-left: 0;
711+
}
712+
a.otw-icon:last-child svg.otw-square {
713+
margin-right: 0;
714+
}
715+
716+
a.otw-svg-mask:first-child {
717+
margin-left: 0;
718+
}
719+
a.otw-svg-mask:last-child {
720+
margin-right: 0;
721+
}
658722
}
659723

724+
660725
@media (min-width: 34em) { /* 544px @ 16px font size -- SM */
661726
.block-on-the-web-social-links {
662727
padding-bottom: 0;
@@ -741,71 +806,15 @@ a.otw-svg-mask:last-child {
741806
}
742807
}
743808

744-
/* @TODO temp hack to fix overlapping text in footer */
745-
.l-footer {
746-
position: relative;
747-
z-index: 0;
748-
border-bottom: 0;
749-
overflow: hidden;
750-
}
751-
752-
.l-footer-inner .row:after {
753-
content: '';
754-
grid-row: 2 / 4;
755-
grid-column: 1 / -1;
756-
position: relative;
757-
left: 50%;
758-
z-index: -1;
759-
display: block;
760-
width: 100vw;
761-
height: 100%;
762-
background: #E8E6E5;
763-
transform: translate(-50%);
764-
}
765-
766-
.l-footer-inner > .row {
767-
display: grid;
768-
grid-template-columns: repeat(2, minmax(0, 1fr));
769-
}
770-
771-
.l-footer-inner > .row > [class*="col-"] {
772-
width: 100%;
773-
max-width: 100%;
774-
}
775-
776-
.block-menu-menu-footer-menu[class][class] {
777-
position: static;
778-
grid-column: 1 / -1;
779-
grid-row: 3;
780-
font-size: 1rem;
781-
padding: 1em 0;
782-
width: 100%;
783-
}
784-
785-
.block-menu-menu-footer-menu[class][class] ul {
786-
position: relative;
787-
left: -1.25em;
788-
text-align: left;
789-
}
790-
791-
.block-menu-menu-footer-menu[class][class] a {
792-
font-size: inherit;
793-
}
794-
795809
/*******************************************************************************
796810
* Powered by Backdrop block.
797811
*******************************************************************************/
798812
.l-footer .block-system-powered-by {
799-
position: static;
800-
}
801-
802-
.l-footer .block-system-powered-by {
803-
grid-row: 2;
804-
grid-column: 1 / -1;
805-
display: flex;
806-
flex-wrap: wrap;
807-
align-items: center;
808-
padding: 1em 0 0;
813+
position: absolute;
814+
bottom: -62px;
815+
left: 2.9375rem;
816+
padding: 0;
817+
padding-bottom: 0;
809818
}
810819
.block-system-powered-by span {
811820
display: block;
@@ -864,6 +873,10 @@ a.otw-svg-mask:last-child {
864873
margin: 0 0 1em;
865874
}
866875

876+
.field-prefix {
877+
line-height: 2.2em;
878+
}
879+
867880

868881
/*******************************************************************************
869882
* Site contact form.
@@ -913,6 +926,8 @@ body.user-form .page-title {
913926
*******************************************************************************/
914927
#user-login .help p {
915928
font-size: 1.5rem; /* 24px */
929+
text-align: right;
930+
margin-top: .6em;
916931
}
917932
#user-login .form-item {
918933
padding: 15px 0;
@@ -993,6 +1008,8 @@ body.user-form .page-title {
9931008
}
9941009
#user-register-form .help p {
9951010
font-size: 1.5rem; /* 24px */
1011+
text-align: right;
1012+
margin-top: .6em;
9961013
}
9971014
#user-register-form fieldset .form-item {
9981015
padding: 5px 0;
@@ -1050,7 +1067,8 @@ body.user-form .page-title {
10501067
}
10511068
#user-register-form .form-type-textfield label,
10521069
#user-register-form .form-type-email label {
1053-
width: 140px;
1070+
width: 145px;
1071+
text-align: right;
10541072
}
10551073
#user-register-form .form-item input[type="text"],
10561074
#user-register-form .form-item input[type="email"] {
@@ -1062,8 +1080,9 @@ body.user-form .page-title {
10621080
padding-left: 165px;
10631081
}
10641082

1065-
#user-register-form .form-type-checkbox label {
1066-
1083+
/* Hide bad descriptions.*/
1084+
#user-register-form .form-item-captcha-response div.description {
1085+
display: none;
10671086
}
10681087
#user-register-form #edit-contact .form-item input {
10691088
flex: none;
@@ -1521,14 +1540,28 @@ div.addressfield-container-inline::after {
15211540
.views-exposed-form input[type="submit"],
15221541
.views-exposed-form .form-submit {
15231542
font-size: 1rem;
1543+
margin: 0;
15241544
}
15251545
@media (min-width: 34em) { /* 544px @ 16px font size -- SM */
15261546
.views-exposed-form {
1527-
padding: 30px;
1547+
padding: 30px 0;
15281548
margin-bottom: 30px;
15291549
}
15301550
}
15311551

1552+
/* Exposed forms in l-top *****************************************************/
1553+
.l-top .views-exposed-form {
1554+
background: transparent;
1555+
padding: 15px 0;
1556+
}
1557+
.l-top .views-exposed-form label {
1558+
text-transform: uppercase;
1559+
letter-spacing: .5px;
1560+
}
1561+
.l-top .views-exposed-form select {
1562+
border: 1.5px solid black;
1563+
}
1564+
15321565
/*******************************************************************************
15331566
* Font Awesome
15341567
*******************************************************************************/

0 commit comments

Comments
 (0)