It is forbidden to marry a woman for the entire thirty days, even without a feast, for the marriage itself is a joy. And there is no distinction whether he is a bachelor or a widower, or whether he marries a virgin or a widow. And regarding one who remarries his divorcee, it is possible that it is permitted, as there is no joy in this. And the proof: for behold, it is permitted to marry her during Chol HaMoed, as there is no issue of "one does not mix joy with joy" in it, as I wrote in Orach Chaim siman 547, see there. And only a feast should not be made. And after thirty days—it is permitted even for his father and mother, and even to make a feast. And even though in other laws of mourning thirty days is twelve months for his father and mother, nevertheless, regarding marriage our sages, of blessed memory, did not wish to be stringent since he needs to take a wife, and they treated them regarding this matter like other relatives. And therefore it is permitted even to make a feast. (This law that even for his father and mother it is permitted after thirty days is not explicitly in the Gemara (Moed Katan 23a). And from Rashi in the Rif it is implied slightly otherwise, see there. However, the Tosafot in Yevamot 43b, beginning with "Sha'ani," wrote so in the name of our teacher Tam, see there.)
אסור לישא אשה כל שלושים יום אפילו בלא סעודה, דהנישואין עצמה שמחה. ואין חילוק בין שהוא בחור או אלמן, או שנושא בתולה או אלמנה. ומחזיר גרושתו אפשר דשרי, שאין בזה שמחה. וראיה: שהרי מותר לישאנה בחול המועד, שאין בה משום "אין מערבין שמחה בשמחה" כמו שכתבתי באורח חיים סימן תקמ"ז, עיין שם. ורק סעודה אין לעשות. ולאחר שלושים – מותר אפילו על אביו ואמו, ואפילו לעשות סעודה. ואף על גב דבשארי דיני אבלות שלושים הוה שנים עשר חודש באביו ואמו, מכל מקום בנישואין לא רצו חכמינו ז"ל להחמיר כיון שצריך ליקח אשה, ועשו אותם לענין זה כשארי קרובים. ולכן מותר אפילו לעשות סעודה. (דין זה דאפילו על אביו ואמו מותר לאחר שלושים ליתא בגמרא (מועד קטן כג א) מפורש. ומרש"י שברי"ף משמע קצת לא כן, עיין שם. אך התוספות ביבמות מג ב ד"ה שאני כתבו כן בשם רבינו תם, עיין שם.)