summaryrefslogtreecommitdiff
path: root/css/zoom.less
blob: 566e34f0888c4e2ae87ae94d1d214b660296c75d (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
body.ttrss_zoom {
	margin-left : auto;
	margin-right : auto;
	padding : 20px;
	max-width : 800px;
	background : #f5f5f5;

	div.post {
		border : 1px solid #ddd;
		background : white;
		box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);

		div.header {
			margin : 10px;
			padding-bottom : 10px;
			border: 0px solid #eee;
			border-bottom-width: 1px;
			background : white;
			font-size : 12px;
			color : #555;

			.row {
				display : flex;
				margin-bottom : 4px;
				flex-wrap : nowrap;

				> * {
					align-self : center;
				}
			}

			.comments {
				flex-grow : 2;
			}

			.date {
				text-align : right;
				white-space : nowrap;
				align-self : flex-start;
			}

			img, i {
				margin : 0px 4px;
				vertical-align: middle;
			}

			.title {
				flex-grow : 2;
				align-self : flex-start;
				font-size : 15px;
				font-weight : 600;
				text-rendering: optimizelegibility;
				font-family : @fonts-ui-bold;
			}

			div.feed-title {
				text-align : right;
			}
		}

		p {
			-webkit-hyphens: auto;
			-moz-hyphens: auto;
			hyphens: auto;
		}

		div.footer {
			margin-top : 1em;
			text-align : center;
		}

		div.content {
			font-size : 15px;
			line-height : 1.5;
			padding : 10px;
			border-width : 0px;

			img, video {
				max-width : 760px;
				height : auto;
			}

			blockquote {
				margin : 5px 0px 5px 0px;
				color : @default-text;
				padding-left : 10px;
				border: 0px solid #ccc;
				border-left-width: 4px;
			}

			code {
				color : #009900;
				font-family : monospace;
				font-size : 12px;
			}

			pre {
				margin : 5px 0px 5px 0px;
				padding : 10px;
				color : @default-text;
				font-family : monospace;
				font-size : 12px;
				border: 0px solid #ccc;
				background : #f5f5f5;
				display : block;
				max-width : 98%;
				overflow : auto;
			}
		}
	}

}