我可以通过将此脚本添加到~/.profile中来更改TTY中的字体:
if [ "$TERM" == "linux" ]; then
setfont /usr/share/consolefonts/Uni3-Terminus32x16.psf.gz
fi
但是,此脚本在登录后执行。登录提示消息仍然很小。如何在登录前更改字体大小?
我试图理解为什么设置不同的基本字体大小不会影响媒体查询的EM值。
它们的作用是默认的基本字体大小为16 as,而其他内容的反应正常。
你自己试试看:
PX中的媒体查询: OK
EM中的媒体查询: 不确定
REM中的媒体查询: NOT
html {
font-size: 62.5%; /*setting the base font size to 10px*/
}
body {
background: white;
}
span {
font-size:6em; /* 60px, as it should */
}
@media only screen and (min
<FONT FACE="Comic Sans MS" SIZE=“2“ COLOR="Red">
This is comical and red and small</FONT><BR>
<FONT FACE="Comic Sans" SIZE="+2" COLOR="Red">
This is red and big. Is it comical?</FONT><BR>
<FONT FACE="Comic Sa