aboutsummaryrefslogtreecommitdiff
path: root/assets/scss/_main.scss
blob: 00ee2a7c84aece5ea26adde529b31401ae26f444 (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
114
115
116
117
118
119
120
121
122
body > main {

    position: relative;
    top: 0rem;
    right: 0;
    left: 0;

    font-size: 1.6rem;
    
    margin: 0 auto;
    max-width: 96rem;
    
    > article {
	background: $bg-txt-ps-on;

	margin: 0 auto;
	max-width: 60rem;
	min-height: calc(100vh - 24rem);
	height: auto;
	
	padding: 12rem 9rem;	
    }

}


article {
    > header {
	p {
	    font-size: 2rem;
	    line-height: 1.25;
	    font-family: $serif;
	    text-variant: italic;
	    padding: 2rem 4rem;
	    text-align: justify;
	}
    }

    section:after {
	display: table;
	content: "";
	clear: both;
	margin-bottom: 2rem;
    }

    aside {
	
	ul {
	    display: table;
	    position: relative;
	    list-style: none;
	    margin: 0 -8rem 1rem -8rem;
	    width: calc(100% + 16rem);
	    
	    li {
		display: table-cell;
		text-align: center;
	    }

	    img {
		display: block;
		width: 16rem;
		height: 9rem;
		background-color: black;
		margin: 1rem auto;
	    }
	}
    }

    .intro {
	background-color: rgba(255, 255, 255, 0.1);
	box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.5);
	height: auto;
	max-height: 2rem;
	margin: 2rem;
	padding: 2rem;
	overflow: hidden;
	text-overflow: ellipsis;
	
	p {
	    white-space: nowrap;
	    overflow: hidden;
	    text-overflow: ellipsis;
	}

	&:hover {
	    max-height: 100vh;
	    p {
		white-space: normal;
		overflow: auto;
	    }
	}
    }

    .outro {
	p {
	    font-size: 2rem;
	    text-align: justify;
	}
    }

    .video {
	margin: 0 -6rem 0 -4rem;
	
	video {
	    width: 30rem;
	    background: black;
	    float: left;
	    margin: 0 2rem 0 -4rem;
	}
	p {
	    line-height: 1.25;
	}
	&:hover {
	    video {
		width: calc(100% + 6rem);
		height: auto;
		float: none;
	    }
	}
    }
}