-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.less
126 lines (115 loc) · 2.74 KB
/
styles.less
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
123
124
125
126
/*
4k TV: 4096 x 2160
@screenWidth: 4096px;
@screenHeight: 2160px;
Full HD TV: 1920 x 1080
@screenWidth: 1920px;
@screenHeight: 1080px;
Digital SD TV: 720 x 480
@screenWidth: 720px;
@screenHeight: 480px;
NTSC TV: 704 x 480
@screenWidth: 704px;
@screenHeight: 480px;
*/
@screenWidth: 1920px;
@screenHeight: 1080px;
html,body {
background-color: transparent;
width: @screenWidth;
height: @screenHeight;
}
.hymn.board.bug {
width: calc( @screenWidth / 12);
height: calc( @screenHeight / 4);
padding: calc(@screenHeight / 37) 0 0 0;
float: left;
background: url('HymnBoard.png'),url('HymnBoardShadowBigger50.png'),url('HymnBoardShadowBigger25.png');
background-repeat: no-repeat;
background-position: center 3px, 4px 0px, -1px 0px;
background-size: calc(1920px / 13) calc(1080px / 3.7), calc(1920px / 12) calc(1080px / 3.58), calc(1920px / 12) calc(1080px / 3.62);
font-family: Arial, Helvetica;
font-weight: 900;
display: block;
button.hymn {
border: none;
color: white;
background-color: transparent;
padding: 0 0 0 calc(100% / 56);
margin: 0;
text-align: center;
text-align: center;
width: 100%;
height: calc( 100% / 6.8);
display:block;
div {
display: inline-block;
background: white;
font-size: clamp(1rem, -5.25rem + 7vw, 3.5rem);
border: 1px solid #ddd;
width: calc( @screenWidth * 0.01225 );
height: calc( ( @screenWidth * 0.01225 ) * 1.285 );
text-align: center;
vertical-align: middle;
margin: 0 1px 0 0;
color: black;
}
span.digit:nth-child(1) {
margin-left: 5px !important;
}
}
button.hymn.edit {
margin: calc(@screenHeight / 33) 0 0 0;
}
button.hymn.hidden:hover {
color: white;
}
.one span {
margin: 92px 1px 0 0 !important;
}
.four span,.five span {
margin: 26px 1px 0 0 !important;
}
}
.hidden, .hymn.board.bug button.hymn.hidden {
color: transparent;
}
div.hidden {
display: none;
}
.hymn.board.editor {
width: calc( @screenWidth * 0.25);
position: absolute;
height: calc( @screenHeight * 0.66);
left: 33%;
}
label,input {
width: 75%;
display: block;
}
label {
padding:15px 0 5px;
}
input,button {
padding:15px;
}
button {
margin-top: 5px;
}
div.hymn.title {
position: absolute;
text-align: center;
bottom: calc( @screenHeight / 12);
width: 100%;
left: 0;
button {
background-color: rgba(9,9,9,0.5);
color: white;
border: none;
display: block;
margin: auto;
width: fit-content;
text-align: center;
font-size: calc( @screenHeight * 0.05);
}
}