T
T
Tutucu2016-09-20 21:02:55
css
Tutucu, 2016-09-20 21:02:55

Why is there such a difference in the font on the layout and in the layout?

I’m typing according to the layout, everything went well, but then I connected the fonts that came with the site design and just went nuts from the difference:
PS:
a75171c9a9cd43edb3e10009ec78ac3e.png
And the browser: I
f4724dc4f0bf40a690bb33ed0e297625.png
connected it like this:

@font-face{
    font-family: oxygen;
    font-weight: normal;
    src: url(fonts/oxygen/oxygenmono-regular.otf);
}

.page{
    width: 970px;
    margin: auto;
    background-color: #fff;
    height: 500px;
    margin-top: 50px;
    border: 1px solid #ededed;
    padding: 50px;
    box-sizing: border-box;
    font-family: oxygen;
}

It's the same in all other browsers. The names of the fonts (both in Photoshop and in the file) are the same. There are no errors in the console. The font is activated but the difference is phenomenal! What is it for?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Bukreev, 2016-09-20
@Tutucu

most likely the designer's font is just different, and you rocked some leftist

D
dom1n1k, 2016-09-20
@dom1n1k

The font name seems to be correct. Here it is:
https://www.fontsquirrel.com/fonts/oxygen
And you just didn't connect at all and the browser doesn't see it.
The font in the browser is similar to Lucida, it was the default on older poppies.
Author, admit it, do you have a Mac?
You just need to properly connect the fonts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question