/**
 * @file less/plugins/recommendByAuthor/articleFooter.less
 *
 * Copyright (c) 2014-2020 Simon Fraser University
 * Copyright (c) 2003-2020 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * @brief Stylesheet for Recommend Article by Author plugin
 *
 */

#articlesBySameAuthorList {

	& li {
		margin-bottom: 8px;
		position: relative;
	}

	& li:before {
		content: '';
		display: inline-block;
		position: static;
		left: 0;
		border-color: transparent;
		border-style: solid;
		border-width: 5px;
		border-top-color: #000;
		transform: rotate(-90deg);
	}

	& li a {
		margin-right: -4px;
		color: #000;

		&:hover {
			text-decoration: none;
			border-bottom: 1px dotted #000;
		}
	}

	& ul {
		display: flex;
		justify-content: space-between;
		list-style-type: none;
		padding-left: 3px;
		flex-direction: column;
	}
}

#articlesBySameAuthorPages {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	flex-direction: row;

	& strong, a {
		border: 1px solid #ddd;
		padding: 5px;
		margin: 0;
		box-shadow: none;
		-webkit-box-shadow: none;
	}

	& strong {
		background-color: @primary-colour;
		font-weight: normal;
	}
}
