Explorar o código

adapt Spearhead author bio

Ben Dwyer %!s(int64=4) %!d(string=hai) anos
pai
achega
3befca6fe2

+ 22 - 0
spearhead/assets/sass/_author-bio.scss

@@ -0,0 +1,22 @@
+.author-link {
+	font-size: var(--global--font-size-xs);
+	position: relative;
+
+	&:after {
+		background-image: url("data:image/svg+xml,%3Csvg class='svg-icon' width='24' height='24' aria-hidden='true' role='img' focusable='false' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.96954 10.2804L11.9999 15.3107L17.0302 10.2804L15.9695 9.21973L11.9999 13.1894L8.0302 9.21973L6.96954 10.2804Z' fill='%23DB0042'%3E%3C/path%3E%3C/svg%3E");
+		background-repeat: no-repeat;
+		background-position: center center;
+		background-size: 14px 14px;
+		content: '';
+		position: absolute;
+		bottom: 0;
+		right: -14px;
+		width: 14px;
+		height: 14px;
+		transform: rotate(-90deg);
+
+		@media ( prefers-color-scheme: dark ) {
+			background-image: url("data:image/svg+xml,%3Csvg class='svg-icon' width='24' height='24' aria-hidden='true' role='img' focusable='false' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.96954 10.2804L11.9999 15.3107L17.0302 10.2804L15.9695 9.21973L11.9999 13.1894L8.0302 9.21973L6.96954 10.2804Z' fill='%23ff6a81'%3E%3C/path%3E%3C/svg%3E");
+		}
+	}
+}

+ 2 - 2
spearhead/assets/sass/_posts-and-pages.scss

@@ -38,7 +38,7 @@
 	article > * {
 		margin-top: calc( 0.48 * var(--global--spacing-vertical) );
 		margin-bottom: calc( 0.48 * var(--global--spacing-vertical) );
- 
+
 		/* This overrides Seedlet's style for this breakpoint */
 	 	@include media(mobile) {
 			margin-top: calc( 0.48 * var(--global--spacing-vertical) );
@@ -117,5 +117,5 @@
 }
 
 .single {
-	color: var(--global--color-foreground-light);
+	color: var(--global--color-foreground);
 }

+ 1 - 0
spearhead/assets/sass/style.scss

@@ -14,6 +14,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 */
 
 @import "../../../seedlet/assets/sass/abstracts/mixins";
+@import "author-bio";
 @import "breakpoints";
 @import "responsive";
 @import "posts-and-pages";

+ 26 - 1
spearhead/style-rtl.css

@@ -15,6 +15,31 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 /**
  * Required Variables
  */
+.author-link {
+	font-size: var(--global--font-size-xs);
+	position: relative;
+}
+
+.author-link:after {
+	background-image: url("data:image/svg+xml,%3Csvg class='svg-icon' width='24' height='24' aria-hidden='true' role='img' focusable='false' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.96954 10.2804L11.9999 15.3107L17.0302 10.2804L15.9695 9.21973L11.9999 13.1894L8.0302 9.21973L6.96954 10.2804Z' fill='%23DB0042'%3E%3C/path%3E%3C/svg%3E");
+	background-repeat: no-repeat;
+	background-position: center center;
+	background-size: 14px 14px;
+	content: '';
+	position: absolute;
+	bottom: 0;
+	left: -14px;
+	width: 14px;
+	height: 14px;
+	transform: rotate(90deg);
+}
+
+@media (prefers-color-scheme: dark) {
+	.author-link:after {
+		background-image: url("data:image/svg+xml,%3Csvg class='svg-icon' width='24' height='24' aria-hidden='true' role='img' focusable='false' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.96954 10.2804L11.9999 15.3107L17.0302 10.2804L15.9695 9.21973L11.9999 13.1894L8.0302 9.21973L6.96954 10.2804Z' fill='%23ff6a81'%3E%3C/path%3E%3C/svg%3E");
+	}
+}
+
 /**
  * Required Variables
  */
@@ -145,7 +170,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 
 .single {
-	color: var(--global--color-foreground-light);
+	color: var(--global--color-foreground);
 }
 
 .has-link-color a, a {

+ 26 - 1
spearhead/style.css

@@ -15,6 +15,31 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 /**
  * Required Variables
  */
+.author-link {
+	font-size: var(--global--font-size-xs);
+	position: relative;
+}
+
+.author-link:after {
+	background-image: url("data:image/svg+xml,%3Csvg class='svg-icon' width='24' height='24' aria-hidden='true' role='img' focusable='false' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.96954 10.2804L11.9999 15.3107L17.0302 10.2804L15.9695 9.21973L11.9999 13.1894L8.0302 9.21973L6.96954 10.2804Z' fill='%23DB0042'%3E%3C/path%3E%3C/svg%3E");
+	background-repeat: no-repeat;
+	background-position: center center;
+	background-size: 14px 14px;
+	content: '';
+	position: absolute;
+	bottom: 0;
+	right: -14px;
+	width: 14px;
+	height: 14px;
+	transform: rotate(-90deg);
+}
+
+@media (prefers-color-scheme: dark) {
+	.author-link:after {
+		background-image: url("data:image/svg+xml,%3Csvg class='svg-icon' width='24' height='24' aria-hidden='true' role='img' focusable='false' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.96954 10.2804L11.9999 15.3107L17.0302 10.2804L15.9695 9.21973L11.9999 13.1894L8.0302 9.21973L6.96954 10.2804Z' fill='%23ff6a81'%3E%3C/path%3E%3C/svg%3E");
+	}
+}
+
 /**
  * Required Variables
  */
@@ -145,7 +170,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 
 .single {
-	color: var(--global--color-foreground-light);
+	color: var(--global--color-foreground);
 }
 
 .has-link-color a, a {

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 0
spearhead/style.css.map


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio