دسته: وب

  • Home Media Server 101

    ·

    همیشه دلم می‌خواست (بخوانید کِرم داشتم) که کنترل قلم مورد استفاده‌ام توی صفحه دست خودم باشه و خودم رو محدود به چندتا قلم که معمولا همه جا نصبه نکنم. خوب به آرزوم رسیدم (بهتر بگم خواهم رسید به زودی!).

    اگر این صفحه رو با یک مرورگر مدرن (مثل Opera 10, Frifox 3.5 و یا Safari 3.1 به بعد) باز کرده باشید حتما متوجه شکل عنوان نوشته‌ها شدید. اگر هم که از این مرورگرها استفاده نمی‌کنید این تصویر نمای خوبی بهتون می‌ده:

    web-fonts

    روش کار هم ساده است، کافیه از @font-face rule استفاده کنیم. کاری که برای همینجا کردم رو به عنوان نمونه با هم می‌ریم جلو. برای نمونه از قلم نستعلیق (که ۱فتحی معرفی کرده بود) استفاده کردم.

    اول از همه قلم(های) مورد نظر رو روی سرویس دهنده‌ی خودمون آپلود می‌کنیم. مثلا توی پوشه‌ی fonts. بعد لازمه این قلم(ها) رو به CSSامون معرفی کنیم.
    [source language=’css’]@font-face {

    font-family: “IranNastaliq”;

    src: url(fonts/IranNastaliq.ttf) format(“truetype”);

    }[/source]

    دیگه هرکجا که خواستیم از این قلم استفاده کنیم کافیه که اسمش رو ببریم:
    [source language=’css’]h3 { font-family: IranNastaliq; }[/source]

    به همین سادگی، به همین خوشمزگی.

  • Porco Rosso

    ·

    Porco Rosso (紅の豚)
    Porco Rosso (紅の豚) By Hayao Miyazaki (宮崎 駿)
  • دوجین سال و اندی ماه

    ·

    از پست اولم تا به امروز دوازده سال و سه ماه و چند روز گذشته و من همچنان آن تنبلم که بودم.

  • To kick the punch or to punch the kicks?

    ·

    Apparently the safest and easiest way to achieve a goal, any goal?, is to bullshit your way through it. Too bad I never learnt how to bullshit, otherwise I would’ve made it.

  • ·

    In another life, perhaps I could have been actually good in something. ANYTHING.

    A post shared by Mundo Lolita (@mundololita) on

  • Abominability*

    ·

    Apparently I am tolerable to some point, superficial mostly. The moment things get a tad bit intimate, the other party (without a single exception, regardless of the nature of the connection) realizes the dull tedious boring monster which has been lurking around, waiting for a chance to attack them.
    However that is not the problematic part (troublesome? sure. But I am used to it by now). What bothers me most is the ways they choose to rid of me. In more than one occasion, I was told that they are not into men. “Yay, good for you, I applaud your courage.”. Only to be introduced to their new male partners in a matter of days.
    A great number of my friendships ended up with them vanishing in thin air. Out of no where, in a sunny great looking morning, they stopped talking to me.
    Again, given the frequency of it, the definitive culprit is me and only me. No argue there.

    *Not sure even “Abominability” is a word.

  • ·

    In preparation of Logan, time to brush up and read it again.

  • ·

    I have never claimed to have the slightest understanding of people or what they do. I however can appreciate some parts. One particular habit I find absurd is the obsession with quotes and these so called motivational sentences. May be it is the dullard in me but why would “Stop being sad, be happy” end one’s sadness? If it were that easy surely there is something fishy about the whole shebang.