Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_icons.scss « components « sass « assets « static - github.com/curttimson/hugo-theme-massively.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fb9e8297d2b39409d95ccdf82edadb6b846f5dbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
///
/// Massively by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///

/* Icons */

	ul.icons {
		cursor: default;
		list-style: none;
		padding-left: 0;

		li {
			display: inline-block;
			padding: 0 0.5rem 0 0;
			vertical-align: middle;

			&:last-child {
				padding-right: 0;
			}

			.icon {
				&:before {
					width: 2.25rem;
					height: 2.25rem;
					line-height: 2.25rem;
					display: inline-block;
					text-align: center;
					border-radius: 100%;
					font-size: 1.25rem;
				}
			}
		}

		&.alt {
			li {
				.icon {
					&:before {
						@include vendor('transition', (
							'color #{_duration(transition)} ease-in-out',
							'background-color #{_duration(transition)} ease-in-out',
							'border-color #{_duration(transition)} ease-in-out',
							'box-shadow #{_duration(transition)} ease-in-out'
						));

						font-size: 1rem;
					}
				}
			}
		}
	}