Font style italic is not being applied in the safari browser but works as expected in chrome, Please see the below snapshot
This is the CSS i am using and woff format
{
margin: 0em;
font-family: jubilat-italic-bold;
font-weight: 700;
line-height: 1.1em;
letter-spacing: 0.03em;
text-transform: uppercase;
text-decoration: none;
align-items: center;
display: flex;
flex-direction: column;
}
In chrome
In Safari
Format
Related
I have h1 h2 and a for the text formatting.
In fact....h2 and a are identical,but I'd like to change a to non-bold text.
How can I do that?
here is my what I have put together so far:http://jsbin.com/tifuhute/44/
Set font-weight: normal;
to your css class:
#text h2 {
color: #151515;
font-family: Arial, Helvetica, sans-serif;
text-align: left;
font-size: 14px;
padding-left: 15px;
padding-right: 15px;
font-weight: normal;
}
Text within a button is breaking up in two lines in Safari - but not in Chrome and Firefox, see the screenshots. Using the CSS property break-word: keep-all; doesn't seem to work.
Any suggestions how to solve this?
not good:
good:
CSS code:
.button {
font-size: 1.5em;
padding: 0em 0.6em 0.1em 0.6em;
margin-left: 0%;
margin-right: 0%;
margin-bottom: 24px;
width: auto;
text-decoration:none;
display: inline-block;
border: none;
border-radius: 1em;
background-color: #4ca8da;
background-repeat: no-repeat;
font-family: 'Populaire';
font-weight: normal;
font-style: normal;
color: white;
text-align: left; }
white-space: nowrap; should fix it.
Further information.
I have a menu on a page that uses a custom webfont. It is a condensed font type and has a shadow. When I render it with Firefox it looks OK, but in Chrome it is hard to read. This is some antialiasing problem.
Firefox:
Chrome:
I already tried to switch off the shadow and played with -webkit-font-smoothing but it didn't help. What else can I try?
The relevant CSS is here:
#submenu li {
float: left;
list-style: none;
margin: 0;
padding: 0;
color: #fff;
text-shadow:1px 1px 0px #9a60a0;
}
#submenu li a {
color: #fff;
display: block;
margin: 0;
padding: 16px 10px 12px 40px;
text-decoration: none;
position: relative;
text-shadow:1px 1px 0px #9a60a0;
height: 22px;
}
#mainmenu{
width:1000px;
height:60px;
margin:0px auto;
font-family:LeagueGothicRegular,Arial, verdana,Century gothic, sans-serif;
font-size: 18px;
}
#font-face {
font-family: 'LeagueGothicRegular';
src: url('fonts/League_Gothic-webfont.eot');
src: url('fonts/League_Gothic-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/League_Gothic-webfont.woff') format('woff'),
url('fonts/League_Gothic-webfont.ttf') format('truetype'),
url('fonts/League_Gothic-webfont.svg#LeagueGothicRegular') format('svg');
font-weight: normal;
font-style: normal;
}
I'm using a Raspberry Pi and Screenly-OSE as a Digital Signage solution for our pharmacy. I display various ads along with the overnights. I'm using a very simple Sinatra application to to serve overnights. Works great except from a small detail which bugs me a lot, there's a white space available there: see picture .
I'm using the following very simple css file:
body {
/* background-color: #246013; */
background-image:url('moon.jpg');
color: white;
text-align: center;
font: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
#wrapper{
width:1200px;
margin:0 auto;
text-align: center;
}
#content{
text-align: center;
margin:auto;
}
#footer{
text-align: center;
padding-top: 30px;
color: #D6D6D6;
font: 14px "Courier New", Courier, mono;
}
h1 {
font-size: 80px;
padding-top: 10px;
font-weight: bold;
text-align: center;
}
h2 {
text-align: center;
font-size: 60px;
font-weight: bold;
}
h3 {
text-align: center;
font-size: 32px;
padding-top: 10px;
padding-bottom: 3px;
font-weight: bold;
}
h4 {
text-align: left;
font-size: 25px;
padding-top: 5px;
padding-bottom: 3px;
text-decoration: underline;
}
h5 {
text-align: left;
font-size: 23px;
padding-top: 5px;
padding-bottom: 3px;
font-weight: bold;
}
I wonder if there's a way to get full-screen background cover. The background picture cover goes along with the text, some days overdays are displayed and if the overdays are 5 or 6 the entire screen is covered.
I know I can simulate this behavior by adding br/ and/or counting the text lines displayed. But I wonder if there's any other other, more natural way of achieving this.
Thanks
Make sure setting both html and body to 100% height to make them cover it all.
html, body {
height: 100%;
}
The image slider menu items are shifted downward 5px on every page the blog page, where they are positioned correctly. I can see the shift in Firebug but do not know where in CSS to fix.
http://drkateklemer.com
Thanks!
Your problem is in line 662 of your style.css for the organic natural summer theme. Change the margins to 0px, going from this:
#contenthome h1, #content h1 {
color: #333333;
font-size: 32px;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
text-transform: normal;
letter-spacing: -1px;
margin: 5px 0px 5px 0px;
padding: 0px;
line-height: 32px;
}
To this:
#contenthome h1, #content h1 {
color: #333333;
font-size: 32px;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
text-transform: normal;
letter-spacing: -1px;
margin: 0px;
padding: 0px;
line-height: 32px;
}
Note: Tested using Developer Tools for Chrome.
wordpress is loading the images into the content block, i dont think it your css just how images are accessed through your template
#contenthome h1, #content h1 {
color: #333333;
font-size: 32px;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
text-transform: normal;
letter-spacing: -1px;
margin: 0px 0px 0px 0px;
padding: 0px;
line-height: 32px;
}