summaryrefslogtreecommitdiff
path: root/css/zoom.less
blob: 5ada0caff9b491c444fd08523f17900d6e3b6ce7 (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
body.ttrss_zoom {
	max-width : 900px;
	margin : 2em auto;

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

		.attachments {
			display : none;
		}

		div.header {
			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-items : center;
				justify-content : space-between;
			}
		}

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

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

			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 : @color-panel-bg;
				display : block;
				max-width : 98%;
				overflow : auto;
			}
		}
	}

}