Legyen elkülönített stílusa a <blockquote> tagnek drupal.hu-n!

Sk8erPeter képe

Sziasztok!

Amikor idézem valakinek az írását egy hozzászólásban, akkor azt egy <blockquote> tagbe szoktam pakolni: blockquote.
Nagyon furcsa viszont, hogy ez egyáltalán nem különül el a többi írásomtól, ezért ha nem teszem dőltté is (Italic), plusz teszem rendesen idézőjelek közé, akkor fel sem tűnik, hogy az ott egy idézet akar lenni. Ez szerintem nem jó, mert így csak plusz kattintgatásokkal, felesleges plusz tagekkel lehet szépen formázottá tenni egy hozzászólást.

Tudnátok ehhez valami stílust rendelni CSS-ben?

A drupal.org-on így oldották meg:

  1. blockquote {
  2. background: #fff url(http://drupal.org/sites/all/themes/bluecheese/images/blockquote-66.png) no-repeat 0 0;
  3. margin: 1.384em 40px 1.384em 20px;
  4. padding-left: 30px;
  5. overflow: hidden;
  6. }

Ez így egy szépen formázott, elkülönülő, még egy idézőjelet mutató képpel is pluszban ellátott blokkot fog eredményezni:

drupal.org blockquote

Meg tudnátok oldani valahogy hasonlóan Ti is?

Előre is köszi, ha foglalkoztok a dologgal!

Melyik modulhoz, modulokhoz kapcsolódik a téma?: 
Drupal verzió: 
Fórum: 
csakiistvan képe

a formázást már a hétvégén puhsoltam a git-be, nekem is hiányzott, nemsokára kikerül majd élesre is, kis türelmet.

5
0

Drupal full-stack developer at Wunderman Thompson Budapest

Sk8erPeter képe

Nagyon jó, köszi! :)

1
0
csakiistvan képe

teszt komment

Full in this rapid wake, and many fathoms in the rear, swam a huge, humped old bull, which by his comparatively slow progress, as well as by the unusual yellowish incrustations overgrowing him, seemed afflicted with the jaundice, or some other infirmity. Whether this whale belonged to the pod in advance, seemed questionable; for it is not customary for such venerable leviathans to be at all social. Nevertheless, he stuck to

3
0

Drupal full-stack developer at Wunderman Thompson Budapest

nevergone képe

Zsírkirálycsászármájer, avagy köszi! :)

0
0
Sk8erPeter képe

király, kösz! :)

Én is hadd próbáljam ki :))

http://buytaert.net/from-aloha-to-ckeditor

Since that announcement, CKEditor has caught up, and now offers feature parity to Aloha Editor when it comes to our needs. Frederico Knabben, creator of CKEditor, has reached out to offer whatever support he can to make CKEditor and Drupal work together better. They already prototyped a convincing alternative to Aloha Editor's killer "Blocks" system (which is an excellent match for Drupal's need to manage content within text content in a structured manner). In addition to that, we found that CKEditor is more mature in terms of APIs, documentation, and ecosystem around the project. Hence, after days of research and weeks of further discussion, the consensus is that CKEditor is now our best choice.

Therefore, we are going to switch from Aloha to CKEditor for Drupal 8 core. By making this switch, we will not only have a more mature WYSIWYG editor, but we also free up resources to work on other parts of Drupal's authoring experience. The CKEditor team has committed to fix the 8 functional gaps that we've identified in their two next upcoming releases.

==============

szerk.:
tök jó, pont valami ilyesmire gondoltam, még egyszer köszönöm :)

1
0
zionduc képe

Szép munka!

Viszont van egy pici bug ebben, ami a float-olt képeknél okoz problémát.
Lásd: példa1, példa2

Ezt könnyen lehet korrigálni, ha a blockquote-ba beteszel egy overflow: hidden; tulajdonságot.

2
0

Írj rám, ha érdekel a Győri Drupal Használói Találkozó.