@@ -71,14 +71,15 @@ function addWater (version) {
71
71
if ( ! elementExists ) {
72
72
var header = document . getElementById ( 'common_srch' ) ;
73
73
var str = `
74
- <div id="water_pyer" title="Pyer Github Repository로 이동하기" OnClick="window.open('https://github.com/WooyeongCho/Pyer')", '_blank');" style="float: left; position:absolute; top: 13px; left: 320px;">
75
- <img src="https://i.ibb.co/PGCf9RG/icon-128.png" alt="icon-128" border="0" style="width: 22px; height: 22px;">
76
- <span style="color:white; font-size: 16px; font-weight:bold;" id="pyer">Pyer v.${ version } </span>
74
+ <div class="noselect" id="water_pyer" title="PYER Github Repository로 이동하기" OnClick="window.open('https://github.com/WooyeongCho/PYER')", '_blank');" style="float: left; position:absolute; top: 13px; left: 320px;">
75
+ <img src="https://i.ibb.co/PGCf9RG/icon-128.png" alt="icon-128" class="noselect" border="0" style="width: 18px; height: 18px;">
76
+ <span style="color:white; font-size: 14px; font-weight:800;" class="noselect" id="pyer"> PYER</span>
77
+ <span style="color:rgba(255,255,255,0.6); font-size: 8px; font-weight:400;" class="noselect" id="pyerversion">v.${ version } </span>
77
78
</div>
78
79
79
80
<style>
80
81
#water_pyer {
81
- top: 7px !important;
82
+ top: 10px !important;
82
83
padding: 3px;
83
84
padding-left: 5px;
84
85
padding-right: 5px;
@@ -94,8 +95,25 @@ function addWater (version) {
94
95
border: 2px solid rgba(255,255,255,0.325);
95
96
box-shadow: 0px 2px 6px rgba(255,255,255,0.2);
96
97
}
98
+
99
+ #water_pyer * {
100
+ font-family: 'Montserrat', sans-serif;
101
+ }
102
+
103
+ .noselect {
104
+ -webkit-touch-callout: none;
105
+ -webkit-user-select: none;
106
+ -khtml-user-select: none;
107
+ -moz-user-select: none;
108
+ -ms-user-select: none;
109
+ user-select: none;
110
+ }
97
111
98
112
</style>
113
+
114
+ <link rel="preconnect" href="https://fonts.googleapis.com">
115
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
116
+ <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;800&display=swap" rel="stylesheet">
99
117
` ;
100
118
101
119
header . insertAdjacentHTML ( 'beforeend' , str ) ;
0 commit comments